Functional Processing
The Inventory Item ID Processor determines processing based on whether a supplier item or a customer item class was passed by the published business service. The utility retrieves related cross-reference data for the supplier or customer item, if required. The ProcessItemCustomer or ProcessItemSupplier method compares the input value with null or an empty string to determine processing. The first match that the utility finds determines how the utility retrieves the data. The order of null comparison is:
ItemCrossReference
FreeForm
ItemId
ItemProduct
ItemCatalog
Depending on which field, if any, is selected during the comparison process, the ProcessItemCustomer or ProcessItemSupplier method calls the internal method, InternalInventoryItemID, and makes a call to the appropriate business function, passing the expected parameters. Finally, all retrieved item numbers (mnShortItemNumber, sz2ndItemNumber, sz3rdItemNumber) are populated at the end of the process.
These business functions are used with this utility business service:
Validate and Retrieve Item Master (X4101)
Get Item Master Description UOM (B4001040)
Verify and Get Item Xref (B4100600)
Verify and Get Branch Plant Constants (B4101390)
Depending on the business function that is used, data is retrieved from these tables:
F4101 (Item Master)
F4104 (Item Cross Reference)
F41001 (Inventory Constants)