Table

CredManSalesTotals

Credit management sales total

Holds sales totals per sales order for credit management, grouped by customer account. It stores two amounts in accounting currency, one for all and one for delivered balance, and a processing status. It links to customers and sales orders.

Table name
CredManSalesTotals
Module
Cross-module and platform
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 (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumCustomer account, pointing to the customers table.String (20)
CustAccount
YesCustTable.AccountNumNone
BalanceAllAmountMSTAmount for the whole balance of the sales order, in accounting currency.Real
AmountMST
NoNone
BalanceDeliveredAmountMSTAmount for the delivered balance of the sales order, in accounting currency.Real
AmountMST
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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 number, pointing to the sales orders table.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
StatusProcessing status of the totals: none, balance delivered, balance all, completed or failed.Enum
CredManSalesTotalStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • Customer → CustTable

    Join on AccountNum = CustTable.AccountNum

    Cardinality not set in the metadata.

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk