Saturday, December 1, 2018

Identify Items if Lot or Serial-Numbered from Web Services Search Result


There are two new fields added to filter or identify Lot and Serial NumberedItem Records in Web Services search as  part of the Standard Costingfeature: isLotItem and isSerialItem. Bothare SearchColumnBooleanField type fields. This can be found onItemSearchRowBasic of WSDL version 2011.2. 

Sample SOAP requests below:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <platformMsgs:search xmlns:platformCore="urn:core_2011_2.platform.webservices.netsuite.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="urn:common_2011_2.platform.webservices.netsuite.com" xmlns:platformMsgs="urn:messages_2011_2.platform.webservices.netsuite.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <platformMsgs:searchRecord xsi:type="s0:ItemSearchBasic"> <s0:isLotItem> <platformCore:searchValue>true</platformCore:searchValue> </s0:isLotItem> </platformMsgs:searchRecord> </platformMsgs:search> </soapenv:Body></soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <platformMsgs:search xmlns:platformCore="urn:core_2011_2.platform.webservices.netsuite.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="urn:common_2011_2.platform.webservices.netsuite.com" xmlns:platformMsgs="urn:messages_2011_2.platform.webservices.netsuite.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <platformMsgs:searchRecord xsi:type="s0:ItemSearchBasic"> <s0:isSerialItem> <platformCore:searchValue>true</platformCore:searchValue> </s0:isSerialItem> </platformMsgs:searchRecord> </platformMsgs:search> </soapenv:Body></soapenv:Envelope>

No comments:

Post a Comment