Loading

promotions in change orders

Veröffentlichungsdatum: Apr 10, 2024
Beschreibung

When change orders / Future Dated Orders are created , the Vlocity application will automatically apply the applicable promotions linked to the Assets as at the date or datetime specified.

For example:
1. you have a promotion linked to an existing Asset.
2. create and submit a change order which cancels the promotion at 1200hrs today.
3. create a new change order,
  a. the effective promotion will be applied if the new change order is for 1100hrs today
  b. the effective promotion will not be applied if the new change order is for 1300hrs today.

Lösung

The change order process utilises OmniScript functionality to invoke the OmniFDOWrapper .createFDO method and the parameters passed to that method are configurable.

Passing the date is already documented on the OmniFDOWrapper, and it is possible to send DateTime by replacing the Date in the input, as per this example:
{
   "RequestDateTime":"2022-07-15 13:09:09.184+0000"
   "accountId": ......,
   "assetIdList" : .....
}

Note: DateTimes are stored and processed in GMT/UTC.

Nummer des Knowledge-Artikels

000392210

 
Laden
Salesforce Help | Article