Table

CustSettlementOffsetVoucher

Customer settlement transactions being posted in different companies

Links a customer settlement voucher to an offset voucher in another company. Each row holds the customer account, the other company, the settlement date and both voucher numbers. The only offset type available is sales tax.

Table name
CustSettlementOffsetVoucher
Module
Bank
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumCustomer account the settlement belongs to, pointing to the customer record.String (20)
CustAccount
YesCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
OffsetCompanyCompany (legal entity) where the offset voucher is posted.String
CompanyId
YesNone
OffsetTransDateDate of the settlement.Date
TransDate
YesNone
OffsetTypeKind of offset. The only value is Sales tax.Enum
CustVendSettlementOffsetVoucherType (enum)
YesNone
OffsetVoucherVoucher number of the offset posting.String (20)
Voucher
YesNone
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
SettlementVoucherVoucher number of the settlement.String (20)
Voucher
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many CustSettlementOffsetVoucher records → exactly one CustTable record

  • DataArea → DataArea

    Join on OffsetCompany = DataArea.id, DataArea.isVirtual = null

    Many CustSettlementOffsetVoucher records → exactly one DataArea record

Get this data out

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

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

Email sales@drdynamics.co.uk