IntegrationEvent: OnBeforeGetPrice

OnBeforeGetPrice(var Price: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; WebsiteID: Integer; CustomerNo: Code[20]; Quantity: Decimal; var Handled: Boolean)

This event is fired before calculating a price that is sent to Magento.If you want to take over price calculation you should use this event in combination with the handled parameter.

Parameters:

  • Price
  • ItemNo
  • VariantCode
  • WebsiteID
  • CustomerNo
  • Quantity
  • Handled


IntegrationEvent: OnAfterGetPrice

OnAfterGetPrice(var Price: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; WebsiteID: Integer; CustomerNo: Code[20]; Quantity: Decimal)

This event is fired after calculating a price that will be sent to Magento.You can use this one to manipulate price calculations as well.

Parameters:

  • Price
  • ItemNo
  • VariantCode
  • WebsiteID
  • CustomerNo
  • Quantity