Next-generation platform

Adding and modifying and charges

A store associate or a store manager can add a new charge or modify an existing charge while placing an order.

As a store associate, you can add charges or modify an existing charge at the line level, per line or per unit. You can add charges by selecting the charge category, category name, and the charge amount. You can also provide addition information as notes.

The following resource permissions must be enabled:
  • Price override - ISF000045
  • Add or modify orderline charges - ISF000050
  • Add or modify order header charges - ISF000051

You must have the required permissions to add or modify the charges. You can edit only the manually applied charges. Charges that are generated automatically by the pricing engine cannot be modified.

Adding or modifying the orderline product total

You can view or modify charges for an individual item by clicking the orderline total link.

The following APIs are called to view and modify charges at the order line level:
  • The getCompleteOrderLineDetails API is called to display the list of charges that are applied on the order line.
  • The getChargeCategoryList API is called to retrieve the list of charge categories.
  • The getChargeNameList API is called to retrieve the list of charge names.
  • The changeOrder API is called to apply the charge modifications on orderline level.
  • The getCommonCodeList API is called to get the price override reasons.
  • The modifyFulfillmentOptions API is called to override the order line price.

Notes entered while adding or modifying charges are saved in the order line with YCD_ADD_MODIFY_CHARGES as the note reason code.

Adding or modifying the order total

You can view or modify the charges for the complete order total by clicking the Order total link.

The following APIs are called to view and modify charges at the order line level:
  • The getCompleteOrderDetails API is called to display the list of charges that are applied on the order.
  • The getChargeCategoryList API is called to retrieve the list of charge categories.
  • The getChargeNameList API is called to retrieve the list of charge names.
  • The changeOrder API is called to apply the charge modifications on the order and orderline levels.
  • In case of multiple applied charges, to remove a charge, the changeOrder API is called with the LineCharges details as the input and Reset= 'Y' is passed.

Notes entered while adding or modifying the charges are saved in the order with YCD_ADD_MODIFY_CHARGES as note reason code.