GP Posting Accounts

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

Table Type: Company

Table Name: GP Posting Accounts
Database Table Name:

Table Number: 4027

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 GP Posting Accounts 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 [GP Posting Accounts]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Posting Accounts].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Posting Accounts].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GP Posting Accounts table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchIdNormalInteger4
2SalesAccount Primary Key SearchSalesAccountNormalCode20
3SalesAccountIdx SearchSalesAccountIdxNormalInteger4
4SalesLineDiscAccount SearchSalesLineDiscAccountNormalCode20
5SalesLineDiscAccountIdx SearchSalesLineDiscAccountIdxNormalInteger4
6SalesInvDiscAccount SearchSalesInvDiscAccountNormalCode20
7SalesInvDiscAccountIdx SearchSalesInvDiscAccountIdxNormalInteger4
8SalesPmtDiscDebitAccount SearchSalesPmtDiscDebitAccountNormalCode20
9SalesPmtDiscDebitAccountIdx SearchSalesPmtDiscDebitAccountIdxNormalInteger4
10PurchAccount SearchPurchAccountNormalCode20
11PurchAccountIdx SearchPurchAccountIdxNormalInteger4
12PurchInvDiscAccount SearchPurchInvDiscAccountNormalCode20
13PurchInvDiscAccountIdx SearchPurchInvDiscAccountIdxNormalInteger4
14PurchLineDiscAccount SearchPurchLineDiscAccountNormalCode20
15PurchLineDiscAccountIdx SearchPurchLineDiscAccountIdxNormalInteger4
16COGSAccount SearchCOGSAccountNormalCode20
17COGSAccountIdx SearchCOGSAccountIdxNormalInteger4
18InventoryAdjmtAccount SearchInventoryAdjmtAccountNormalCode20
19InventoryAdjmtAccountIdx SearchInventoryAdjmtAccountIdxNormalInteger4
20SalesCreditMemoAccount SearchSalesCreditMemoAccountNormalCode20
21SalesCreditMemoAccountIdx SearchSalesCreditMemoAccountIdxNormalInteger4
22PurchPmtDiscDebitAcc SearchPurchPmtDiscDebitAccNormalCode20
23PurchPmtDiscDebitAccIdx SearchPurchPmtDiscDebitAccIdxNormalInteger4
24PurchPrepaymentsAccount SearchPurchPrepaymentsAccountNormalCode20
25PurchPrepaymentsAccountIdx SearchPurchPrepaymentsAccountIdxNormalInteger4
26PurchaseVarianceAccount SearchPurchaseVarianceAccountNormalCode20
27PurchaseVarianceAccountIdx SearchPurchaseVarianceAccountIdxNormalInteger4
28InventoryAccount SearchInventoryAccountNormalCode20
29InventoryAccountIdx SearchInventoryAccountIdxNormalInteger4
30ReceivablesAccount SearchReceivablesAccountNormalCode20
31ReceivablesAccountIdx SearchReceivablesAccountIdxNormalInteger4
32ServiceChargeAccount SearchServiceChargeAccountNormalCode20
33ServiceChargeAccountIdx SearchServiceChargeAccountIdxNormalInteger4
34PaymentDiscDebitAccount SearchPaymentDiscDebitAccountNormalCode20
35PaymentDiscDebitAccountIdx SearchPaymentDiscDebitAccountIdxNormalInteger4
36PayablesAccount SearchPayablesAccountNormalCode20
37PayablesAccountIdx SearchPayablesAccountIdxNormalInteger4
38PurchServiceChargeAccount SearchPurchServiceChargeAccountNormalCode20
39PurchServiceChargeAccountIdx SearchPurchServiceChargeAccountIdxNormalInteger4
40PurchPmtDiscDebitAccount SearchPurchPmtDiscDebitAccountNormalCode20
41PurchPmtDiscDebitAccountIdx SearchPurchPmtDiscDebitAccountIdxNormalInteger4
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GP Posting Accounts].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GP Posting Accounts]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GP Posting Accounts].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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