Sales Invoice Entity Aggregate

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

Table Type: Company

Table Name: Sales Invoice Entity Aggregate
Database Table Name: CRONUS UK Ltd_$Sales Invoice Entity Aggregate$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5475

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 Sales Invoice Entity Aggregate can be queried.

Show/hide an example select of all columns

Show/hide an example select of all columns by name

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

Show/hide columns in Sales Invoice Entity Aggregate table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • “Quote”
  • “Order”
  • “Invoice”
  • “Credit Memo”
  • “Blanket Order”
  • “Return Order”
2Sell-to Customer No. SearchSell-to Customer No.NormalCode20Sell-to Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

3No. SearchNo.NormalCode20No_nvarchar(40)
4Bill-to Customer No. Primary Key SearchBill-to Customer No.NormalCode20Bill-to Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

5Bill-to Name SearchBill-to NameNormalText100Bill-to Namenvarchar(200)
Key to join to the Customer table.

Show/hide example query

7Bill-to Address SearchBill-to AddressNormalText100Bill-to Addressnvarchar(200)
8Bill-to Address 2 SearchBill-to Address 2NormalText50Bill-to Address 2nvarchar(100)
9Bill-to City SearchBill-to CityNormalText30Bill-to Citynvarchar(60)
Key to join to the Post Code table.

Show/hide example query

10Bill-to Contact SearchBill-to ContactNormalText100Bill-to Contactnvarchar(200)
11Your Reference SearchYour ReferenceNormalText35Your Referencenvarchar(70)
12Ship-to Code SearchShip-to CodeNormalCode10Ship-to Codenvarchar(20)
Key to join to the Ship-to Address table.

Show/hide example query

13Ship-to Name SearchShip-to NameNormalText100Ship-to Namenvarchar(200)
15Ship-to Address SearchShip-to AddressNormalText100Ship-to Addressnvarchar(200)
16Ship-to Address 2 SearchShip-to Address 2NormalText50Ship-to Address 2nvarchar(100)
17Ship-to City SearchShip-to CityNormalText30Ship-to Citynvarchar(60)
Key to join to the Post Code table.

Show/hide example query

18Ship-to Contact SearchShip-to ContactNormalText100Ship-to Contactnvarchar(200)
20Posting Date SearchPosting DateNormalDate4Posting Datedatetime
23Payment Terms Code SearchPayment Terms CodeNormalCode10Payment Terms Codenvarchar(20)
Key to join to the Payment Terms table.

Show/hide example query

24Due Date SearchDue DateNormalDate4Due Datedatetime
27Shipment Method Code SearchShipment Method CodeNormalCode10Shipment Method Codenvarchar(20)
Key to join to the Shipment Method table.

Show/hide example query

29Shortcut Dimension 1 Code SearchShortcut Dimension 1 CodeNormalCode20Shortcut Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

30Shortcut Dimension 2 Code SearchShortcut Dimension 2 CodeNormalCode20Shortcut Dimension 2 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

31Customer Posting Group SearchCustomer Posting GroupNormalCode20Customer Posting Groupnvarchar(40)
Key to join to the Customer Posting Group table.

Show/hide example query

32Currency Code SearchCurrency CodeNormalCode10Currency Codenvarchar(20)
Key to join to the Currency table.

Show/hide example query

35Prices Including VAT SearchPrices Including TaxNormalBoolean4Prices Including VATtinyint
43Salesperson Code SearchSalesperson CodeNormalCode20Salesperson Codenvarchar(40)
Key to join to the Salesperson/Purchaser table.

Show/hide example query

44Order No. SearchOrder No.NormalCode20Order No_nvarchar(40)
56Recalculate Invoice Disc. SearchRecalculate Invoice Disc.FlowFieldBoolean4
60Amount SearchAmountNormalDecimal12Amountdecimal(38,38)
61Amount Including VAT SearchAmount Including TaxNormalDecimal12Amount Including VATdecimal(38,38)
70VAT Registration No. SearchTax Registration No.NormalText20VAT Registration No_nvarchar(40)
79Sell-to Customer Name SearchSell-to Customer NameNormalText100Sell-to Customer Namenvarchar(200)
Key to join to the Customer table.

Show/hide example query

81Sell-to Address SearchSell-to AddressNormalText100Sell-to Addressnvarchar(200)
82Sell-to Address 2 SearchSell-to Address 2NormalText50Sell-to Address 2nvarchar(100)
83Sell-to City SearchSell-to CityNormalText30Sell-to Citynvarchar(60)
Key to join to the Post Code table.

Show/hide example query

84Sell-to Contact SearchSell-to ContactNormalText100Sell-to Contactnvarchar(200)
85Bill-to Post Code SearchBill-to ZIP CodeNormalCode20Bill-to Post Codenvarchar(40)
Key to join to the Post Code table.

Show/hide example query

86Bill-to County SearchBill-to StateNormalText30Bill-to Countynvarchar(60)
87Bill-to Country/Region Code SearchBill-to Country/Region CodeNormalCode10Bill-to Country_Region Codenvarchar(20)
88Sell-to Post Code SearchSell-to ZIP CodeNormalCode20Sell-to Post Codenvarchar(40)
Key to join to the Post Code table.

Show/hide example query

89Sell-to County SearchSell-to StateNormalText30Sell-to Countynvarchar(60)
90Sell-to Country/Region Code SearchSell-to Country/Region CodeNormalCode10Sell-to Country_Region Codenvarchar(20)
91Ship-to Post Code SearchShip-to ZIP CodeNormalCode20Ship-to Post Codenvarchar(40)
Key to join to the Post Code table.

Show/hide example query

92Ship-to County SearchShip-to StateNormalText30Ship-to Countynvarchar(60)
93Ship-to Country/Region Code SearchShip-to Country/Region CodeNormalCode10Ship-to Country_Region Codenvarchar(20)
99Document Date SearchDocument DateNormalDate4Document Datedatetime
100External Document No. SearchExternal Document No.NormalCode35External Document No_nvarchar(70)
114Tax Area Code SearchTax Area CodeNormalCode20Tax Area Codenvarchar(40)
Key to join to the Tax Area table.

Show/hide example query

115Tax Liable SearchTax LiableNormalBoolean4Tax Liabletinyint
116VAT Bus. Posting Group SearchVAT Bus. Posting GroupNormalCode20VAT Bus_ Posting Groupnvarchar(40)
Key to join to the VAT Business Posting Group table.

Show/hide example query

121Invoice Discount Calculation SearchInvoice Discount CalculationNormalOption4Invoice Discount Calculationint
Available options are:
  • “None”
  • “%”
  • “Amount”
122Invoice Discount Value SearchInvoice Discount ValueNormalDecimal12Invoice Discount Valuedecimal(38,38)
167Last Email Sent Status SearchLast Email Sent StatusNormalOption4Last Email Sent Statusint
Available options are:
  • “Not Sent”
  • “In Process”
  • “Finished”
  • “Error”
170IsTest SearchIsTestNormalBoolean4IsTesttinyint
171Sell-to Phone No. SearchSell-to Phone No.NormalText30Sell-to Phone No_nvarchar(60)
172Sell-to E-Mail SearchEmailNormalText80Sell-to E-Mailnvarchar(160)
1304Cust. Ledger Entry No. SearchCust. Ledger Entry No.NormalInteger4Cust_ Ledger Entry No_int
Key to join to the Cust. Ledger Entry table.

Show/hide example query

1305Invoice Discount Amount SearchInvoice Discount AmountNormalDecimal12Invoice Discount Amountdecimal(38,38)
5052Sell-to Contact No. SearchSell-to Contact No.NormalCode20Sell-to Contact No_nvarchar(40)
Key to join to the Contact table.

Show/hide example query

8000Id SearchIdNormalGUID16Iduniqueidentifier
9600Total Tax Amount SearchTotal Tax AmountNormalDecimal12Total Tax Amountdecimal(38,38)
9601Status SearchStatusNormalOption4Statusint
Available options are:
  • ” “
  • “Draft”
  • “In Review”
  • “Open”
  • “Paid”
  • “Canceled”
  • “Corrective”
9602Posted SearchPostedNormalBoolean4Postedtinyint
9603Subtotal Amount Primary Key SearchSubtotal AmountNormalDecimal12Subtotal Amountdecimal(38,38)
9624Discount Applied Before Tax SearchDiscount Applied Before TaxNormalBoolean4Discount Applied Before Taxtinyint
9630Last Modified Date Time SearchLast Modified Date TimeNormalDateTime8Last Modified Date Timedatetime
9631Customer Id SearchCustomer IdNormalGUID16Customer Iduniqueidentifier
Key to join to the Customer table.

Show/hide example query

9632Order Id SearchOrder IdNormalGUID16Order Iduniqueidentifier
Key to join to the Shpfy Order Header table.

Show/hide example query

9633Contact Graph Id SearchContact Graph IdNormalText250Contact Graph Idnvarchar(500)
9634Currency Id SearchCurrency IdNormalGUID16Currency Iduniqueidentifier
Key to join to the Currency table.

Show/hide example query

9635Payment Terms Id SearchPayment Terms IdNormalGUID16Payment Terms Iduniqueidentifier
Key to join to the Payment Terms table.

Show/hide example query

9636Shipment Method Id SearchShipment Method IdNormalGUID16Shipment Method Iduniqueidentifier
Key to join to the Shipment Method table.

Show/hide example query

9637Tax Area ID SearchTax Area IDNormalGUID16Tax Area IDuniqueidentifier
9638Bill-to Customer Id SearchBill-to Customer IdNormalGUID16Bill-to Customer Iduniqueidentifier
Key to join to the Customer table.

Show/hide example query

2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Sales Invoice Entity Aggregate table

Leave a Reply

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