Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4072
Table Type: Company
Table Name: GPSOPPaymentWorkHist
Database Table Name:
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 GPSOPPaymentWorkHist can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[]
Show/hide an example select of all columns by name
SELECT
FROM
[]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[] AS [GPSOPPaymentWorkHist]
LEFT JOIN
[User] AS [User]
ON
[GPSOPPaymentWorkHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[GPSOPPaymentWorkHist].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in GPSOPPaymentWorkHist table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | SOPTYPE | SOP Type | Normal | Option | 4 | ||
2 | SOPNUMBE | SOP Number | Normal | Text | 22 | ||
3 | SEQNUMBR | Sequence Number | Normal | Integer | 4 | ||
4 | PYMTTYPE | Payment Type | Normal | Option | 4 | ||
5 | DOCNUMBR | Document Number | Normal | Text | 22 | ||
6 | RMDTYPAL | RM Document Type-All | Normal | Option | 4 | ||
7 | CHEKBKID | Checkbook ID | Normal | Text | 16 | ||
8 | CHEKNMBR | Check Number | Normal | Text | 22 | ||
9 | CARDNAME | Card Name | Normal | Text | 16 | ||
10 | RCTNCCRD | Receipt Number Credit Card | Normal | Text | 22 | ||
11 | AUTHCODE | Authorization Code | Normal | Text | 16 | ||
12 | AMNTPAID | Amount Paid | Normal | Decimal | 12 | ||
13 | OAMTPAID | Originating Amount Paid | Normal | Decimal | 12 | ||
14 | AMNTREMA | Amount Remaining | Normal | Decimal | 12 | ||
15 | OAMNTREM | Originating Amount Remaining | Normal | Decimal | 12 | ||
16 | DOCDATE | Document Date | Normal | Date | 4 | ||
17 | EXPNDATE | Expiration Date | Normal | Date | 4 | ||
18 | CURNCYID | Currency ID | Normal | Text | 16 | ||
19 | CURRNIDX | Currency Index | Normal | Integer | 4 | ||
20 | TRXSORCE | TRX Source | Normal | Text | 14 | ||
21 | DEPSTATS | Deposit Status | Normal | Option | 4 | ||
22 | DELETE1 | Delete | Normal | Boolean | 4 | ||
23 | GLPOSTDT | GL Posting Date | Normal | Date | 4 | ||
24 | CASHINDEX | Cash Index | Normal | Integer | 4 | ||
25 | DEPINDEX | Deposits Index | Normal | Integer | 4 | ||
26 | EFTFLAG | EFT Flag | Normal | Boolean | 4 | ||
27 | DEX_ROW_ID | DEX_ROW_ID | Normal | Integer | 4 | ||
2000000000 | $systemId | System ID | Normal | GUID | 16 | ||
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | ||
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | ||
Key to join to the User table.Show/hide example querySELECT [GPSOPPaymentWorkHist].[] ,[User].[User Security ID] FROM [] AS [GPSOPPaymentWorkHist] LEFT JOIN [User] AS [User] ON [GPSOPPaymentWorkHist].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |