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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumCustomer account, pointing to the customers table. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
BalanceAllAmountMSTAmount for the whole balance of the sales order, in accounting currency. | RealAmountMST | No | None | |
BalanceDeliveredAmountMSTAmount for the delivered balance of the sales order, in accounting currency. | RealAmountMST | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SalesIdSales order number, pointing to the sales orders table. | String (20)SalesIdBase | Yes | SalesTable.SalesId | None |
StatusProcessing status of the totals: none, balance delivered, balance all, completed or failed. | EnumCredManSalesTotalStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
AccountNumSalesIdxAccountNum,SalesId,PartitionUnique, alternate key.
AccountNumStatusIdxNot unique.
Relations (2)
Each relation joins CredManSalesTotals to another table on the fields shown.
Customer→CustTableJoin on
AccountNum = CustTable.AccountNumCardinality not set in the metadata.
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdCardinality 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.