Table

SalesQuotationLineForeignTradeCategory

Quotation line foreign trade

Holds foreign trade data for a quotation line, such as the NGP code and the unit weight. A record is identified by the quotation line's lot ID and company. It links to SalesQuotationLine and to NGP codes used for France.

Table name
SalesQuotationLineForeignTradeCategory
Module
Sales and marketing
Table group
WorksheetLine
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
None
Replacement key
FK_SalesQuotatonLine_SQLForeignTradeCat
Key fields
salesQuotationLineInventTransId, salesQuotationLineDataAreaId
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
salesQuotationLineInventTransIdLot ID of the quotation line this record belongs to.String (20)
TradeInventTransId
YesSalesQuotationLine.InventTransIdNone
salesQuotationLineDataAreaIdCompany of the quotation line. No label is given.String
DataAreaId
YesSalesQuotationLine.dataAreaIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
NGPCodesTable_FRNGP code of the line, pointing to an NGP code record; used for France.Int64
NGPCodesTableFRId
NoNGPCodesTable_FR.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitWeightWeight of one unit.Real
Weight
NoNone

Indexes (2)

Relations (2)

Each relation joins SalesQuotationLineForeignTradeCategory to another table on the fields shown.

  • NGPCodesTable_FR → NGPCodesTable_FR

    Join on NGPCodesTable_FR = NGPCodesTable_FR.RecId

    Many SalesQuotationLineForeignTradeCategory records → zero or one NGPCodesTable_FR record

  • SalesQuotationLine → SalesQuotationLine

    Join on salesQuotationLineInventTransId = SalesQuotationLine.InventTransId, salesQuotationLineDataAreaId = SalesQuotationLine.dataAreaId

    Zero or one SalesQuotationLineForeignTradeCategory record → exactly one SalesQuotationLine record

Get this data out

Tables are not exposed directly. These public entities read from SalesQuotationLineForeignTradeCategory; use one of them in Power BI, Power Platform or a data management project.

Need help with SalesQuotationLineForeignTradeCategory in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk