Table

CustomsShippingBillSalesLink_IN

Shipping bill - export order relation table

Link table, used for India, between shipping bills and export orders. It connects a shipping bill number to the original sales order and the related sales order. It also holds invoice and account details.

Table name
CustomsShippingBillSalesLink_IN
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustomsShippingBillNumberTablePoints to the shipping bill number record.Int64
RefRecId
NoCustomsShippingBillNumberTable_IN.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceAccountVendor account used for the invoice.String (20)
VendInvoiceAccount
NoVendTable.AccountNumNone
InvoiceDateDate of the invoice, relating to the shipping bill header.Date
CustomsDate_IN
NoNone
InvoiceIdExport invoice number, matched with the export order for the original sales order.String (50)
InvoiceId
YesCustomsExportOrderTable_IN.InvoiceIdNone
OrderAccountVendor account on the order.String (20)
VendAccount
NoVendTable.AccountNumNone
OrigSalesIdOriginal sales order.String (20)
SalesIdOrig
NoSalesTable.SalesIdNone
ParmIdParameter ID that links the record to a posting run.low confidenceString (20)
ParmId
NoNone
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
SalesIdSales order linked to the shipping bill.String (20)
SalesId
NoSalesTable.SalesIdNone
ShippingBillDateDate of the shipping bill.Date
CustomsDate_IN
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (7)

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

  • CustomsExportOrderTable → CustomsExportOrderTable_IN

    Join on InvoiceId = CustomsExportOrderTable_IN.InvoiceId, OrigSalesId = CustomsExportOrderTable_IN.SalesId

    Many CustomsShippingBillSalesLink_IN records → exactly one CustomsExportOrderTable_IN record

  • CustomsShippingBillJour → CustomsShippingBillJour_IN

    Join on InvoiceDate = CustomsShippingBillJour_IN.InvoiceDate, InvoiceId = CustomsShippingBillJour_IN.InvoiceId, SalesId = CustomsShippingBillJour_IN.SalesId

    Many CustomsShippingBillSalesLink_IN records → exactly one CustomsShippingBillJour_IN record

  • CustomsShippingBillNumberTable → CustomsShippingBillNumberTable_IN

    Join on CustomsShippingBillNumberTable = CustomsShippingBillNumberTable_IN.RecId

    Many CustomsShippingBillSalesLink_IN records → exactly one CustomsShippingBillNumberTable_IN record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many CustomsShippingBillSalesLink_IN records → zero or one VendTable record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many CustomsShippingBillSalesLink_IN records → zero or one VendTable record

  • SalesTable_OrigSalesId → SalesTable

    Join on OrigSalesId = SalesTable.SalesId

    Many CustomsShippingBillSalesLink_IN records → zero or one SalesTable record

  • SalesTable_SalesId → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CustomsShippingBillSalesLink_IN records → zero or one SalesTable record

Get this data out

No public entity reads from CustomsShippingBillSalesLink_IN. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk