Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you work with the Quoting module in Salesforce and you need to update the Opportunity information in the header of an approved Quote in the Deal status, you can configure it this way:

  1. On the Feature Flags page in the quoteButtonsConfiguration section enable the following flags:

    • showAssignOpportunityOnApproved

    • showSaveButtonOnApproved (from version 6.0, this flag is no longer available but the Show button will be visible if there are always-editable fields)

  2. All fields that you intend to be updatable after the Quote is approved must be set as alwaysEditable. When you save the Quote, only updates to alwaysEditable fields are saved. The Quote logic is not run.
    For example, you can set only Opportunity Name as alwaysEditable. The code in Quote header logic will look like this:

    Code Block
    languagegroovy
    quoteProcessor.addOrUpdateInput(
      "ROOT",
      ["name": "OpportunityName",
       "label": "Opportunity Name",
       "type" : InputType.STRINGUSERENTRY,
       "readOnly": api.global.isOpportunity,
       "required": false,
       "parameterGroup": "Opportunity and Project Information",
       "alwaysEditable": true
      ]
    )

  3. With old Quoting enable (Ember)

...

  1. :
    On the Feature Flags page in the quoteButtonsConfiguration section enable the following flags:

    • showAssignOpportunityOnApproved

    • showSaveButtonOnApproved (from version 6.0, this flag is no longer available but the Show button will be visible if there are always-editable fields)

  2. With new Quoting enabled (React):
    Modified inputs with alwaysEditable flag are stored automatically. By default, the calculation is also run automatically. If this behavior is not suitable, configure recalculateQuoteOnAlwaysEditableChangeInWorkflowStatuses appropriately as described in /wiki/spaces/LEARN/pages/2827485214.

(tick) In the same way (setting fields as 'alwaysEditable') you can update approved Agreements/Promotions or , Rebate Agreements or Sales Compensations. Note that if the user has the DataIntegration user role assigned, this functionality may not work correctly.