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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustAccountCustomer account, pointing to a record in the Customers table.String (20)
CustAccount
NoCustTable.AccountNumNone
ModuleTypeModule the record relates to: customer or sales order.Enum
ModuleCustSales (enum)
NoNone
SalesIdSales order the setting applies to, pointing to the Sales orders table.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
DocumentStatusType of document the setting applies to, such as quotation, confirmation, packing slip or invoice.Enum
DocumentStatus (enum)
NoNone
AutoSummaryYes/No setting for automatic summary.Enum
SalesAutoSummary
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • CustTable → CustTable

    Join on ModuleType = ModuleCustSales::Cust, CustAccount = CustTable.AccountNum

    Many SalesJournalAutoSummary records → zero or one CustTable record

  • SalesTable → SalesTable

    Join on ModuleType = ModuleCustSales::Sales, SalesId = SalesTable.SalesId

    Many 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.

Email sales@drdynamics.co.uk