The item lookup criteria are used to determine which NetSuite item record needs to be used for each transaction lines that will be created through FlowAP e-document conversion.
Navigating to the setup
Navigate to FlowAP > FlowAP Configuration > Staria FlowAP Subsidiary Setup
View the record related to your subsidiary.
Navigate to the Conversion subtab.
Find the FlowAP Template field and click the hyperlink.
View and Edit the FlowAP Template.
Find the Item Lookup Criteria.
You must not edit the Default FlowAP Template.
Any changes made to the default template will be overriden during new version releases of FlowAP.
To use a customized version of the FlowAP template, save a copy of the Default FlowAP Template.
Apply your custom lookup criteria and XML mapping to your custom template and assign it to the relevant Staria FlowAP Subsidiary Setup.
Understanding the Item Lookup Criteria
The lookup criteria follows the JSON array syntax.
The complete item code lookup table is surrounded by brackets
Example: [JSON ARRAY].
Each element in the lookup table is surrounded by curly braces and is separated by a comma.
Example: [{ELEMENT1}, {ELEMENT2}, {ELEMENT3}]
Each element of the lookup table contains four (2) parameters.
mappingfield - This is a string used in the FlowAP Template > Mapping Templates > Transaction Mapping. This string identifies the XML element will be the source of the item’s name/number/text that will be used to find the item in NetSuite.
e.g.: “vendorcode”
nsfield - This is the NetSuite item record field that will be used to compare the text from the mappingfield to find the item record in NetSuite.
Default Item Lookup Criteria
[ { "mappingfield": "vendorcode", "nsfield": "vendorcode" }, { "mappingfield": "vendorcode", "nsfield": "vendorname" } ]