Account Assignment Modifications
- Megan Stanage (Unlicensed)
Supply Chain Cloud account assignment functionality includes the ability to add custom fields to leverage as criteria.
Supply Chain Cloud > Setup > Account Assignment Key
1| Configure custom fields on the Account Assignment Key form.
Supply Chain Cloud > Setup > Account Assignment
2| Assign values to these fields in the Additional Criteria section on the Account Assignment form.
3| Write custom code to fill nodes.
Note
Supply Chain Cloud automatically adds any configured account assignment keys to the Rate and Ship XMLs in D365's TMS Transactions; however, because these are user-defined fields, custom code must be written to fill these nodes.
Here is sample starting code to fill the values for each configured node:
A stub method (writeAccountAssignmentKeyValue) is created in the ATOTmsProcessXML_Base_Extension class to fill the value of the key value pair. This method will be iterated for each key.
4| Perform a lookup with information gathered from the TMSProcessXML_Base object that can be obtained from the arguments.
5| This class should contain links to the necessary information for the request.
6| Set the return value for this class with the information found from the lookup.