Override the payment amount when creating payments for the sales order.

To verride the payment amount defaulted by Avalara when creating payments for Sales orders.

According to Field Level Help on Payment Amount:

Important: Be aware that now this field is always defaulted from the sales order TOTAL field, but this might change in future. Make sure you create a workflow to control this field’s value to be the TOTAL less the sum of deposits associated with the order.”

  1. Navigate to Customization Workflow Workflows New
  2. Basic Information:
    • Name: Enter name
    • Record TypeSelect Transaction
    • Sub Record TypeSelect Sales Order
    • Execute as Admin: Enter Checkmark
    • Released StatusSelect Released
    • Keep Instance and HistorySelect Always
    • Enable Logging Checkbox:  Enter Checkmark
  3. Event Definition:
    • On CreateEnter Checkmark
    • On View or Update: Enter Checkmark
  4. Click Save
  5. Right top corner: Click Fields 
  6. Click New Workflow Field
    • LabelEnter Label 
    • TypeSelect Currency
  7. Click Save
  8. Click State 1
  9. Bottom right corner: Click New Action
  10. Click Set Field Value
  11. Basic Information:
    • Trigger OnSelect Before Record Submit
  12. Parameters:
    • FieldSelect Payment Amount (Workflow)
  13. Value:
    • Select From Field 
    • Record (Join Field)Select Current Record
    • FieldSelect Payment Session Amount
  14. Click Save
  15. Click State 1
  16. Bottom right corner: Click New Action
  17. Click Set Field Value
  18.  Basic Information:
    • Trigger OnSelect Before Record Submit
  19. Parameters:
    • FieldSelect Payment Session Amount
  20. Value:
    • Select From Field 
    • Record (Join Field)Select Current Record
    • FieldSelect Payment Amount (Workflow)
  21. Click Save
  22. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *