Standard Vendor Purchase Code

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/175

Table Type: Company

Table Name: Standard Vendor Purchase Code
Database Table Name: CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 175

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Standard Vendor Purchase Code can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Vendor No_]
   ,[Code]
   ,[Description]
   ,[Currency Code]
   ,[Insert Rec_ Lines On Quotes]
   ,[Insert Rec_ Lines On Orders]
   ,[Insert Rec_ Lines On Invoices]
   ,[Insert Rec_ Lines On Cr_ Memos]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Vendor Purchase Code]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Standard Vendor Purchase Code].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Standard Vendor Purchase Code].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Standard Vendor Purchase Code].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Standard Vendor Purchase Code table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Vendor No. Primary Key SearchVendor No.NormalCode20Vendor No_nvarchar(40)
Key to join to the Vendor table.

Show/hide example query

SELECT
       [Standard Vendor Purchase Code].[Vendor No_]
       ,[Vendor].[No_]
FROM
       [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Vendor Purchase Code]
LEFT JOIN
       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
              ON
                     [Standard Vendor Purchase Code].[Vendor No_] = [Vendor].[No_]
2Code Primary Key SearchCodeNormalCode10Codenvarchar(20)
3Description SearchDescriptionNormalText100Descriptionnvarchar(200)
13Currency Code SearchCurrency CodeNormalCode10Currency Codenvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
       [Standard Vendor Purchase Code].[Currency Code]
       ,[Currency].[Code]
FROM
       [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Vendor Purchase Code]
LEFT JOIN
       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
              ON
                     [Standard Vendor Purchase Code].[Currency Code] = [Currency].[Code]
15Insert Rec. Lines On Quotes SearchInsert Rec. Lines On QuotesNormalOption4Insert Rec_ Lines On Quotesint
Available options are:
  • “Manual”
  • “Automatic”
  • “Always Ask”
16Insert Rec. Lines On Orders SearchInsert Rec. Lines On OrdersNormalOption4Insert Rec_ Lines On Ordersint
Available options are:
  • “Manual”
  • “Automatic”
  • “Always Ask”
17Insert Rec. Lines On Invoices SearchInsert Rec. Lines On InvoicesNormalOption4Insert Rec_ Lines On Invoicesint
Available options are:
  • “Manual”
  • “Automatic”
  • “Always Ask”
18Insert Rec. Lines On Cr. Memos SearchInsert Rec. Lines On Cr. MemosNormalOption4Insert Rec_ Lines On Cr_ Memosint
Available options are:
  • “Manual”
  • “Automatic”
  • “Always Ask”
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Standard Vendor Purchase Code].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Vendor Purchase Code]
LEFT JOIN
       [User] AS [User]
              ON
                     [Standard Vendor Purchase Code].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Standard Vendor Purchase Code].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Standard Vendor Purchase Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Vendor Purchase Code]
LEFT JOIN
       [User] AS [User]
              ON
                     [Standard Vendor Purchase Code].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from Standard Vendor Purchase Code table

Leave a Reply

Your email address will not be published. Required fields are marked *