Validation logic for sales contract
Before the Sales contract is activated and published to the Automotive Exchange – Release Management, a predefined set of contract data is validated in LN.
During the activation of a sales contract the application performs these checks:
- In the Sales Contract (tdsls3600m000) session:
- The Contract Type field must be set to Normal Contract.
- The Sold-to Business Partner must be specified.
- In the Sales Contract Lines (tdsls3501m000) session, on the Contract Lines tab:
- The Ship-to Business Partner must be populated at the line level for all the lines on the Contract Lines tab.
- The Customer Item number must be specified at the line level for all the lines.
- The Sales Office must be specified at the line level for all the lines.
- The logistic data must be defined for each contract line on the Contract Line Logistic Data tab in the Sales Contract Line Logistic Data (tdsls3102m000) session.
- The Synchronize Cums check box must be selected for the terms and conditions line in theSchedule Terms and Conditions (tctrm1131m000) session that is linked to the contract.
Note:
- If these prerequisites are not met, the application displays an error message with a list of missing or incomplete attributes. The contract is activated only when all fields are specified, and this validation occurs every time a sales contract or contract line is activated.
- The application performs a validation check for each contract line separately if:
- A contract is active but some of the linked contract lines are not yet activated.
- A specific contract line is activated separately.