Automatic Contract Creation

You can now create contracts automatically for an account when the account is created. To enable this feature, you need to create an algorithm using the C1-CRECONT algorithm type and attach it to the Post-Processing system event of the respective account business object.

This algorithm is invoked when you create an account. A contract of each contract type listed in the C1-CONTRACTTYPES extendable lookup value is created automatically for the account. For example, an extendable lookup value has two contract types - CT1 and CT2 belonging to the D1 division. The system will then create two contracts - one using the CT1 contract type and another using the CT2 contract type. The status of the contract is set as mentioned in the extendable lookup value. In addition, the characteristics are defined for the contract as mentioned in the extendable lookup value. The contract start date and effective date of the contract characteristic (if any) is set to the account's set up date. If the closing date is specified for the account, the contract end date is set to the recalculated account closing date. However, the contract end date is not updated when the contract is created in the Canceled status.

It checks the value defined for the Enforce division-specific validations option type in the C1_​DIVFUNCT feature configuration. If the Enforce division-specific validations option type is set to Y, it checks whether the account belongs to any division listed in the extendable lookup value. If the account belongs to a division listed in the extendable lookup value, then it automatically creates the contract of the respective contract type for the account. However, if the account does not belong to any division listed in the extendable lookup value, then it does not create the contracts for the account automatically.

This algorithm contains the following parameter:

  • Extendable Lookup Value - Used to specify the value of the C1-CONTRACTTYPES extendable lookup.

    Note: You must specify a valid extendable lookup value which is in the Active status.

For more information about the C1-CONTRACTTYPES extendable lookup, see Automatic Contract Creation Extendable Lookup.