Deprecated since version 13.0 and replaced by Condition Records.
After a Promotion Agreement gets approved, you need to regularly update the Contract Price Records.
The scheduled Contract Calculation task is available post-contract approval to adjust Contract Price Records for line items. This process can both create and delete Contract Price Records for a line item.
Process Flow
-
The system determines which contracts need Contract Price Records regeneration.
-
If the Contract Calculation task involves a feeder logic, the system executes it to get the list of contracts for recalculation.
-
If there is no feeder logic, it uses the contract filter set up in the Contract Calculation task.
-
-
For every approved contract from the previous step, the system does the following:
-
Finds all line items for the contract.
-
For each line item, determines which logic to use for generating Contract Price Records.
-
If the Contract Calculation task has a selected logic, it uses that.
-
If the Contract Calculation task has no logic, it uses the logic set up in the Contract Condition Type for the line item.
-
-
The system executes the Contract Logic with a special piece of information, so that the logic understands it needs to generate Contract Price Records and nothing else.
-
The logic then creates/updates/deletes Contract Price Records for the current line item.
-
-