Query for GIAI Information. If the Product Id is specified,
that is use to determine the GIAI Information to return. If no Product
Id is passed, but the Company Prefix and Individual Asset Reference is
passed, then those are used to determine the GIAI Information to return.
If no Individual Asset Reference is passed, but the Company Prefix is
passed, then that is used to determine which GIAIs to return. If none
of those are specified, but the Product Descriptor columns are, then
those are used. Otherwise, it returns information on all the GIAIs.
Query for GRAI Information. Logic behind the selection...: 1) If the GTIN Id is specified, search for an exact match using that. 2) If the Product Id is specified, search for an exact match using that. 3) If the Company Prefix and Asset Type are specified, then search for an exact match using those. 4) If the Company Prefix is specified, search for all GRAIs that match that. 5)
If Product Descriptor value(s) are passed, search for all GRAIs that
have matching values for what is specified. 6) Search/Return all GRAI information.