Auto-populate the start date and end date for contract requests

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • Configure an extension point implementation to automatically add the start date and end date while creating a contract request.

    Vorbereitungen

    Role required: admin

    Prozedur

    1. Navigate to All > System Extension Points > Scripted Extension Points.
    2. In the API Name field, enter sn_cm_core.ContractManagementExt.
    3. Select the record.
    4. In the Related Links section, select Create implementation.
    5. On the Script Include form, fill in the fields.
      Abbildung : 1. Scripted extension point for contracts
      Extension point to add scripts.

      For a description of the field values, see Scripted Extension Point form fields.

    6. In the Script field, add a method populateDataForInitiateContractModal to define the fields from which the values will be automatically added in the Start date and End date fields of a contract request.
      You can also define the exact dates for the Start date and End date.
    7. Select Update.

    Ergebnisse

    The Start date and End date fields in the Initial contract window are automatically updated from the parent record while creating a contract request.

    For more information on initiating a contract request, see Initiating a contract or amendment request.