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 No_] = [Customer].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Method]
ON
[Native - Payment].[Payment Method Code] = [Payment Method].[Code]
Show/hide columns in Native – Payment table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Applies-to Invoice Id ![]() ![]() | uniqueidentifier | ||||
3 | Payment No_ ![]() ![]() | int | ||||
4 | Ledger Entry No_ ![]() | int | ||||
5 | Customer Id ![]() | uniqueidentifier | ||||
6 | 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_] | ||||||
7 | Payment Date ![]() | datetime | ||||
8 | Amount ![]() | decimal(38,38) | ||||
9 | Applies-to Invoice No_ ![]() | nvarchar(40) | ||||
10 | Payment Method Id ![]() | uniqueidentifier | ||||
11 | 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] AS [Payment Method]
ON
[Native - Payment].[Payment Method Code] = [Payment Method].[Code] | ||||||
12 | $systemId ![]() | uniqueidentifier | ||||
13 | $systemCreatedAt ![]() | datetime | ||||
14 | $systemCreatedBy ![]() | uniqueidentifier | ||||
15 | $systemModifiedAt ![]() | datetime | ||||
16 | $systemModifiedBy ![]() | uniqueidentifier |