019946: Expose ICN codes and Country of Origin via the webservices

Overview

The ICN Codes and Country of Origin, in the ExportStock calls in the standard webservices, have been exposed. The fields to be exported are:

  • ICN Code
  • ICN Description
  • Country Name
  • Country Code(3) (This is already available)

Usage

When either the ‘ExportStock’ or ‘ExportStockCompressed’ webservices requests are submitted, the information returned will be as follows:

The example stock item has settings for its ICN and Country of manufacture on the [ Stock | Detail | Accounting ] screen.

Expose ICN codes and Country of Origin via the webservices example

The information returned is:

<STOCK_ITEMS>
 <STOCK_ITEM>
  <COUNTRY_OF_MANUFACTURE></COUNTRY_OF_MANUFACTURE>
  <ICN_CODE>04100000</ICN_CODE>
  <ICN_DESCRIPTION>Edible products of animal origin, not elsewhere specified or included.</ICN_DESCRIPTION>
  <COUNTRY_NAME>Christmas Island</COUNTRY_NAME>
 </STOCK_ITEM>
</STOCK_ITEMS>


See Also

Visit KhaosWikiX at https://support.khaoscontrol.com/wiki_kcx/ to see the following:

Contact the Khaos Team