Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5507
Table Type: Company
Table Name: Sales Cr. Memo Entity Buffer
Database Table Name: CRONUS UK Ltd_$Sales Cr_ Memo Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972
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 Cr. Memo Entity Buffer 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 Cr. Memo Entity Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | Sell-to Customer No. ![]() | Sell-to Customer No. | Normal | Code | 20 | Sell-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example query | |||||||
3 | No. ![]() | No. | Normal | Code | 20 | No_ | nvarchar(40) |
4 | Bill-to Customer No. ![]() ![]() | Bill-to Customer No. | Normal | Code | 20 | Bill-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example query | |||||||
5 | Bill-to Name ![]() | Bill-to Name | Normal | Text | 100 | Bill-to Name | nvarchar(200) |
Key to join to the Customer table.Show/hide example query | |||||||
7 | Bill-to Address ![]() | Bill-to Address | Normal | Text | 100 | Bill-to Address | nvarchar(200) |
8 | Bill-to Address 2 ![]() | Bill-to Address 2 | Normal | Text | 50 | Bill-to Address 2 | nvarchar(100) |
9 | Bill-to City ![]() | Bill-to City | Normal | Text | 30 | Bill-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example query | |||||||
10 | Bill-to Contact ![]() | Bill-to Contact | Normal | Text | 100 | Bill-to Contact | nvarchar(200) |
20 | Posting Date ![]() | Posting Date | Normal | Date | 4 | Posting Date | datetime |
23 | Payment Terms Code ![]() | Payment Terms Code | Normal | Code | 10 | Payment Terms Code | nvarchar(20) |
Key to join to the Payment Terms table.Show/hide example query | |||||||
24 | Due Date ![]() | Due Date | Normal | Date | 4 | Due Date | datetime |
27 | Shipment Method Code ![]() | Shipment Method Code | Normal | Code | 10 | Shipment Method Code | nvarchar(20) |
Key to join to the Shipment Method table.Show/hide example query | |||||||
29 | Shortcut Dimension 1 Code ![]() | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example query | |||||||
30 | Shortcut Dimension 2 Code ![]() | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example query | |||||||
31 | Customer Posting Group ![]() | Customer Posting Group | Normal | Code | 20 | Customer Posting Group | nvarchar(40) |
Key to join to the Customer Posting Group table.Show/hide example query | |||||||
32 | Currency Code ![]() | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example query | |||||||
35 | Prices Including VAT ![]() | Prices Including Tax | Normal | Boolean | 4 | Prices Including VAT | tinyint |
43 | Salesperson Code ![]() | Salesperson Code | Normal | Code | 20 | Salesperson Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example query | |||||||
52 | Applies-to Doc. Type ![]() | Applies-to Doc. Type | Normal | Option | 4 | Applies-to Doc_ Type | int |
Available options are:
| |||||||
53 | Applies-to Doc. No. ![]() | Applies-to Doc. No. | Normal | Code | 20 | Applies-to Doc_ No_ | nvarchar(40) |
56 | Recalculate Invoice Disc. ![]() | Recalculate Invoice Disc. | FlowField | Boolean | 4 | ||
60 | Amount ![]() | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
61 | Amount Including VAT ![]() | Amount Including Tax | Normal | Decimal | 12 | Amount Including VAT | decimal(38,38) |
73 | Reason Code ![]() | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example query | |||||||
79 | Sell-to Customer Name ![]() | Sell-to Customer Name | Normal | Text | 100 | Sell-to Customer Name | nvarchar(200) |
Key to join to the Customer table.Show/hide example query | |||||||
81 | Sell-to Address ![]() | Sell-to Address | Normal | Text | 100 | Sell-to Address | nvarchar(200) |
82 | Sell-to Address 2 ![]() | Sell-to Address 2 | Normal | Text | 50 | Sell-to Address 2 | nvarchar(100) |
83 | Sell-to City ![]() | Sell-to City | Normal | Text | 30 | Sell-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example query | |||||||
84 | Sell-to Contact ![]() | Sell-to Contact | Normal | Text | 100 | Sell-to Contact | nvarchar(200) |
85 | Bill-to Post Code ![]() | Bill-to ZIP Code | Normal | Code | 20 | Bill-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example query | |||||||
86 | Bill-to County ![]() | Bill-to State | Normal | Text | 30 | Bill-to County | nvarchar(60) |
87 | Bill-to Country/Region Code ![]() | Bill-to Country/Region Code | Normal | Code | 10 | Bill-to Country_Region Code | nvarchar(20) |
88 | Sell-to Post Code ![]() | Sell-to ZIP Code | Normal | Code | 20 | Sell-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example query | |||||||
89 | Sell-to County ![]() | Sell-to State | Normal | Text | 30 | Sell-to County | nvarchar(60) |
90 | Sell-to Country/Region Code ![]() | Sell-to Country/Region Code | Normal | Code | 10 | Sell-to Country_Region Code | nvarchar(20) |
99 | Document Date ![]() | Document Date | Normal | Date | 4 | Document Date | datetime |
100 | External Document No. ![]() | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
171 | Sell-to Phone No. ![]() | Sell-to Phone No. | Normal | Text | 30 | Sell-to Phone No_ | nvarchar(60) |
172 | Sell-to E-Mail ![]() | Normal | Text | 80 | Sell-to E-Mail | nvarchar(160) | |
1304 | Cust. Ledger Entry No. ![]() | Cust. Ledger Entry No. | Normal | Integer | 4 | Cust_ Ledger Entry No_ | int |
Key to join to the Cust. Ledger Entry table.Show/hide example query | |||||||
1305 | Invoice Discount Amount ![]() | Invoice Discount Amount | Normal | Decimal | 12 | Invoice Discount Amount | decimal(38,38) |
5052 | Sell-to Contact No. ![]() | Sell-to Contact No. | Normal | Code | 20 | Sell-to Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example query | |||||||
5750 | Shipping Advice ![]() | Shipping Advice | Normal | Option | 4 | Shipping Advice | int |
Available options are:
| |||||||
5752 | Completely Shipped ![]() | Completely Shipped | Normal | Boolean | 4 | Completely Shipped | tinyint |
5790 | Requested Delivery Date ![]() | Requested Delivery Date | Normal | Date | 4 | Requested Delivery Date | datetime |
8000 | Id ![]() | Id | Normal | GUID | 16 | Id | uniqueidentifier |
9600 | Total Tax Amount ![]() | Total Tax Amount | Normal | Decimal | 12 | Total Tax Amount | decimal(38,38) |
9601 | Status ![]() | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
9602 | Posted ![]() | Posted | Normal | Boolean | 4 | Posted | tinyint |
9624 | Discount Applied Before Tax ![]() ![]() | Discount Applied Before Tax | Normal | Boolean | 4 | Discount Applied Before Tax | tinyint |
9630 | Last Modified Date Time ![]() | Last Modified Date Time | Normal | DateTime | 8 | Last Modified Date Time | datetime |
9631 | Customer Id ![]() | Customer Id | Normal | GUID | 16 | Customer Id | uniqueidentifier |
Key to join to the Customer table.Show/hide example query | |||||||
9633 | Contact Graph Id ![]() | Contact Graph Id | Normal | Text | 250 | Contact Graph Id | nvarchar(500) |
9634 | Currency Id ![]() | Currency Id | Normal | GUID | 16 | Currency Id | uniqueidentifier |
Key to join to the Currency table.Show/hide example query | |||||||
9635 | Payment Terms Id ![]() | Payment Terms Id | Normal | GUID | 16 | Payment Terms Id | uniqueidentifier |
Key to join to the Payment Terms table.Show/hide example query | |||||||
9636 | Shipment Method Id ![]() | Shipment Method Id | Normal | GUID | 16 | Shipment Method Id | uniqueidentifier |
Key to join to the Shipment Method table.Show/hide example query | |||||||
9638 | Bill-to Customer Id ![]() | Bill-to Customer Id | Normal | GUID | 16 | Bill-to Customer Id | uniqueidentifier |
Key to join to the Customer table.Show/hide example query | |||||||
9639 | Reason Code Id ![]() | Reason Code Id | Normal | GUID | 16 | Reason Code Id | uniqueidentifier |
Key to join to the Reason Code table.Show/hide example query | |||||||
2000000000 | $systemId ![]() | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt ![]() | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy ![]() | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |