Table
SalesJournalAutoSummary
Sales summary update
Stores the automatic summary setting for sales documents. Each record is identified by customer account, module type, sales order and document status. It links to customers and sales orders.
- Table name
SalesJournalAutoSummary- Module
Sales and marketing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
SalesJournalAutoSummaryIdx- Replacement key
None- Key fields
CustAccount, ModuleType, SalesId, DocumentStatus- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustAccountCustomer account, pointing to a record in the Customers table. | String (20)CustAccount | No | CustTable.AccountNum | None |
ModuleTypeModule the record relates to: customer or sales order. | EnumModuleCustSales (enum) | No | None | |
SalesIdSales order the setting applies to, pointing to the Sales orders table. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
DocumentStatusType of document the setting applies to, such as quotation, confirmation, packing slip or invoice. | EnumDocumentStatus (enum) | No | None | |
AutoSummaryYes/No setting for automatic summary. | EnumSalesAutoSummaryNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SalesJournalAutoSummaryIdxPrimary indexCustAccount,ModuleType,SalesId,DocumentStatusUnique, alternate key.
SalesJournalAutoSummarySalesIdIdxSalesId,ModuleType,DocumentStatusNot unique.
Relations (2)
Each relation joins SalesJournalAutoSummary to another table on the fields shown.
CustTable→CustTableJoin on
ModuleType = ModuleCustSales::Cust,CustAccount = CustTable.AccountNumMany SalesJournalAutoSummary records → zero or one CustTable record
SalesTable→SalesTableJoin on
ModuleType = ModuleCustSales::Sales,SalesId = SalesTable.SalesIdMany SalesJournalAutoSummary records → zero or one SalesTable record
Get this data out
No public entity reads from SalesJournalAutoSummary. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesJournalAutoSummary in a report, an integration or a migration? Talk to Dr Dynamics.