Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2831
Table Type: Company
Table Name: Native – Payment
Database Table Name: CRONUS UK Ltd_$Native – Payment$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 Native – Payment can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
FROM
[CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment]
LEFT JOIN
[CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
ON
[Native - Payment].[Customer Id] = [Customer].[$systemId]
LEFT JOIN
[CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header]
ON
[Native - Payment].[Applies-to Invoice Id] = [Sales Invoice Header].[$systemId]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Native - Payment].[Payment Method Id] = [Payment Method].[$systemId]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Native - Payment].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
[User] AS [User]
ON
[Native - Payment].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Native - Payment].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Native – Payment table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Ledger Entry No. | Ledger Entry No. | Normal | Integer | 4 | Ledger Entry No_ | int |
Key to join to the G/L Entry table.Show/hide example querySELECT [Native - Payment].[Ledger Entry No_] ,[G/L Entry].[Entry No_] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Entry] ON [Native - Payment].[Ledger Entry No_] = [G/L Entry].[Entry No_] | |||||||
2 | Payment No. | Payment No. | Normal | Integer | 4 | Payment No_ | int |
3 | Customer Id | Customer Id | Normal | GUID | 16 | Customer Id | uniqueidentifier |
Key to join to the Customer table.Show/hide example querySELECT [Native - Payment].[Customer Id] ,[Customer].[$systemId] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Native - Payment].[Customer Id] = [Customer].[$systemId] | |||||||
4 | Customer No. | Customer No. | Normal | Code | 20 | Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Native - Payment].[Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Native - Payment].[Customer No_] = [Customer].[No_] | |||||||
5 | Payment Date | Payment Date | Normal | Date | 4 | Payment Date | datetime |
6 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
7 | Applies-to Invoice Id | Applies-to Invoice Id | Normal | GUID | 16 | Applies-to Invoice Id | uniqueidentifier |
Key to join to the Sales Invoice Header table.Show/hide example querySELECT [Native - Payment].[Applies-to Invoice Id] ,[Sales Invoice Header].[$systemId] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] ON [Native - Payment].[Applies-to Invoice Id] = [Sales Invoice Header].[$systemId] | |||||||
8 | Applies-to Invoice No. | Applies-to Invoice No. | Normal | Code | 20 | Applies-to Invoice No_ | nvarchar(40) |
9 | Payment Method Id | Payment Method Id | Normal | GUID | 16 | Payment Method Id | uniqueidentifier |
Key to join to the Payment Method table.Show/hide example querySELECT [Native - Payment].[Payment Method Id] ,[Payment Method].[$systemId] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method] ON [Native - Payment].[Payment Method Id] = [Payment Method].[$systemId] | |||||||
10 | Payment Method Code | Payment Method Code | Normal | Code | 10 | Payment Method Code | nvarchar(20) |
Key to join to the Payment Method table.Show/hide example querySELECT [Native - Payment].[Payment Method Code] ,[Payment Method].[Code] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method] ON [Native - Payment].[Payment Method Code] = [Payment Method].[Code] | |||||||
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 querySELECT [Native - Payment].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Native - Payment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Native - Payment] LEFT JOIN [User] AS [User] ON [Native - Payment].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |