Improve Contract Details Display on Sales Documents with Grouped Layout
Contract details on sales documents automatically group by contracted type (Asset, Work Order Plan, Additional, etc.)
Each category displays with a header showing the type name
Detail lines appear under category header with dash prefix ("- ")
Type-specific display format: Additional types show Description and Period Amount only; Operational types show No. | Work Order Category | Period Amount | Description
New "Skip For Printing Details" field on Contracted Type lines to control individual line visibility
Detail lines exceeding 97 characters automatically truncate with "..." to prevent errors
+How It Works+
Enable "Include Contract Details on Sales Document" on the contract header (or on contract templates for standardization). When you create sales documents, contract details appear automatically grouped by type.
Display Format Example:
Contract MC-12345 details
Asset
Open Contracted Types page, use Personalize to show "Skip For Printing Details" field (hidden by default). Check this field on lines you want to exclude from sales documents. Excluded lines still function for calculations and work order assignment but don't appear on customer-facing documents.
Format Rules:
Contract types sorted by Type then No. for consistent presentation
Type headers insert automatically when type changes
Work Order Category shows description when available, otherwise shows code
All detail lines are comment lines (Type = " ") - don't post to general ledger
Only main contract line (G/L Account) affects financial posting
+How It Does NOT Work+
Display Limitations:
❌ Does NOT show details if "Include Contract Details on Sales Document" is disabled
❌ Does NOT appear if contract has no contracted type lines
❌ Detail lines do NOT exceed 100 characters - automatically truncate at 97 with "..."
❌ Additional types do NOT show No. field (by design for cleaner customer display)
Skip For Printing:
❌ "Skip For Printing Details" does NOT affect contract calculations or work order assignment
❌ Cannot modify when contract Status is not "Open"
❌ Field is NOT visible by default - requires Personalize to show
❌ Does NOT retroactively change existing sales documents
Grouping Behavior:
❌ Does NOT allow manual control of grouping order - automatic by Type then No.
❌ Does NOT create separate sales lines per type - all are comment lines on one contract line
❌ Comment detail lines do NOT post to general ledger
❌ Does NOT affect previously created sales documents - only new documents
+Upgrade Impact+
All existing contracts automatically use grouped format when creating new sales documents
Previously created sales documents remain unchanged
No data migration or mandatory configuration required
"Skip For Printing Details" field added to Contracted Type table
Recommended: Enable "Include Contract Details on Sales Document" on contract templates for standardization
Unposted sales documents can be deleted and recreated to apply new format if desired
Error Messages:
"Status must be equal to 'Open'" → Reopen contract to modify "Skip For Printing Details"
No error on truncation → Lines truncate with "..." automatically