Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/252
Table Type: Company
Table Name: General Posting Setup
Database Table Name: CRONUS UK Ltd_$General Posting Setup$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 General Posting Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$General Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Sales Account]
,[Sales Line Disc_ Account]
,[Sales Inv_ Disc_ Account]
,[Sales Pmt_ Disc_ Debit Acc_]
,[Purch_ Account]
,[Purch_ Line Disc_ Account]
,[Purch_ Inv_ Disc_ Account]
,[Purch_ Pmt_ Disc_ Credit Acc_]
,[COGS Account]
,[Inventory Adjmt_ Account]
,[Sales Credit Memo Account]
,[Purch_ Credit Memo Account]
,[Sales Pmt_ Disc_ Credit Acc_]
,[Purch_ Pmt_ Disc_ Debit Acc_]
,[Sales Pmt_ Tol_ Debit Acc_]
,[Sales Pmt_ Tol_ Credit Acc_]
,[Purch_ Pmt_ Tol_ Debit Acc_]
,[Purch_ Pmt_ Tol_ Credit Acc_]
,[Sales Prepayments Account]
,[Purch_ Prepayments Account]
,[Description]
,[View All Accounts on Lookup]
,[Blocked]
,[Purch_ FA Disc_ Account]
,[Invt_ Accrual Acc_ (Interim)]
,[COGS Account (Interim)]
,[Direct Cost Applied Account]
,[Overhead Applied Account]
,[Purchase Variance Account]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$General Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]