Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1173
Table Type: Company
Table Name: Document Attachment
Database Table Name: CRONUS UK Ltd_$Document Attachment$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 Document Attachment can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Document Attachment$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Table ID]
,[No_]
,[Document Type]
,[Line No_]
,[ID]
,[Attached Date]
,[File Name]
,[File Type]
,[File Extension]
,[Document Reference ID]
,[Attached By]
,[Document Flow Purchase]
,[Document Flow Sales]
,[VAT Report Config_ Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Document Attachment$437dbf0e-84ff-417a-965d-ed2bb9650972]