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

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Configure an extension point implementation to automatically add the start date and end date while creating a contract request.

    Antes de Iniciar

    Role required: admin

    Procedimento

    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.
      Figura 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.

    Resultado

    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.