InventoryWebService


Click here for a complete list of operations.

InsertGRNDetails

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /InventoryWebService.asmx HTTP/1.1
Host: tciws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InsertGRNDetails"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InsertGRNDetails xmlns="http://tempuri.org/">
      <info>
        <COMPCODE>string</COMPCODE>
        <LOCA>string</LOCA>
        <GRN_NO>string</GRN_NO>
        <ITEM_LOCA>string</ITEM_LOCA>
        <ITEM>string</ITEM>
        <ITEM_DESC>string</ITEM_DESC>
        <UNIT>string</UNIT>
        <QTY>decimal</QTY>
        <BULK_UNIT>string</BULK_UNIT>
        <LOOSE_UNIT>string</LOOSE_UNIT>
        <BULK_SALES_PRICE>decimal</BULK_SALES_PRICE>
        <LOOSE_SALES_PRICE>decimal</LOOSE_SALES_PRICE>
        <BULK_QTY>decimal</BULK_QTY>
        <LOOSE_QTY>decimal</LOOSE_QTY>
        <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
        <DISCOUNT>decimal</DISCOUNT>
        <TOTAL>decimal</TOTAL>
        <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
        <SEQ_NO>decimal</SEQ_NO>
        <BULK_QTY_BALANCE>decimal</BULK_QTY_BALANCE>
        <LOOSE_QTY_BALANCE>decimal</LOOSE_QTY_BALANCE>
      </info>
    </InsertGRNDetails>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InsertGRNDetailsResponse xmlns="http://tempuri.org/">
      <InsertGRNDetailsResult>boolean</InsertGRNDetailsResult>
    </InsertGRNDetailsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /InventoryWebService.asmx HTTP/1.1
Host: tciws.compulinerp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InsertGRNDetails xmlns="http://tempuri.org/">
      <info>
        <COMPCODE>string</COMPCODE>
        <LOCA>string</LOCA>
        <GRN_NO>string</GRN_NO>
        <ITEM_LOCA>string</ITEM_LOCA>
        <ITEM>string</ITEM>
        <ITEM_DESC>string</ITEM_DESC>
        <UNIT>string</UNIT>
        <QTY>decimal</QTY>
        <BULK_UNIT>string</BULK_UNIT>
        <LOOSE_UNIT>string</LOOSE_UNIT>
        <BULK_SALES_PRICE>decimal</BULK_SALES_PRICE>
        <LOOSE_SALES_PRICE>decimal</LOOSE_SALES_PRICE>
        <BULK_QTY>decimal</BULK_QTY>
        <LOOSE_QTY>decimal</LOOSE_QTY>
        <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
        <DISCOUNT>decimal</DISCOUNT>
        <TOTAL>decimal</TOTAL>
        <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
        <SEQ_NO>decimal</SEQ_NO>
        <BULK_QTY_BALANCE>decimal</BULK_QTY_BALANCE>
        <LOOSE_QTY_BALANCE>decimal</LOOSE_QTY_BALANCE>
      </info>
    </InsertGRNDetails>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InsertGRNDetailsResponse xmlns="http://tempuri.org/">
      <InsertGRNDetailsResult>boolean</InsertGRNDetailsResult>
    </InsertGRNDetailsResponse>
  </soap12:Body>
</soap12:Envelope>