Customization of Actions
There are only two valid values that can be assigned to ACTION_LIST:
- RFCIN — On submitting the form with Action as RFCIN, it sends an RFCIN message to the Supplier based on the credentials. RFCIN is only valid for the retailer.
- FACTSHEET — On submitting the form with Action as FACTSHEET, it generates the PDF format of the product.
The following three constraints are provided out of box and are recommended to be this way.
<constraint> <name>Action List</name> <description>list of all actions possible with the organization.</description> <condition> <eq> <var>ORGANIZATION_TYPE</var> <const type="string">SUPPLIER</const> </eq> </condition> <action> <assign> <var>ACTION_LIST</var> <const type="string">FACTSHEET- Generate factsheet</const> </assign> </action> </constraint> <constraint> <name>Action List 1</name> <description>list of all actions possible with the organization.</description> <condition> <and> <eq> <var>ORGANIZATION_TYPE</var> <const type="string">RETAILER</const> </eq> <eq> <var>ACTION</var> <const type="string">RFCIN</const> </eq> </and> </condition> <action> <assign> <var>ACTION_LIST</var> <const type="string">RFCIN- Generate RFCIN Message</const> <const type="string">FACTSHEET- Generate factsheet</const> </assign> </action> </constraint> <constraint> <name>Action List 2</name> <description>list of all actions possible with the organization.</description> <condition> <and> <eq> <var>ORGANIZATION_TYPE</var> <const type="string">RETAILER</const> </eq> <eq> <var>ACTION</var> <const type="string">FACTSHEET</const> </eq> </and> </condition> <action> <assign> <var>ACTION_LIST</var> <const type="string">FACTSHEET- Generate factsheet</const> <const type="string">RFCIN- Generate RFCIN Message</const> </assign> </action> </constraint>
In the ACTION_LIST, FACTSHEET and RFCIN are must and description after “-“is Configurable. We can change the description as required. Default value populated for ACTION on the screen is RFCIN on retailer enterprise and FACTSHEET on supply side.
Copyright © Cloud Software Group, Inc. All rights reserved.