InventoryWebService


Click here for a complete list of operations.

UpdatePrintedSEQ_INV

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: laluws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UpdatePrintedSEQ_INV"

<?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>
    <UpdatePrintedSEQ_INV xmlns="http://tempuri.org/">
      <details>
        <COMPCODE>string</COMPCODE>
        <LOCA>string</LOCA>
        <CSH_CRD>string</CSH_CRD>
        <INV_NO>string</INV_NO>
        <INV_TYPE>string</INV_TYPE>
        <CUST_CODE>string</CUST_CODE>
        <CUST_NAME>string</CUST_NAME>
        <TXN_DATE>dateTime</TXN_DATE>
        <INV_DATE>dateTime</INV_DATE>
        <TXN_TIME>string</TXN_TIME>
        <REF>string</REF>
        <DN_NO>string</DN_NO>
        <TOTAL>decimal</TOTAL>
        <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
        <TOTAL_AFTER_DISCOUNT>decimal</TOTAL_AFTER_DISCOUNT>
        <VAT_AMOUNT>decimal</VAT_AMOUNT>
        <NBT_AMOUNT>decimal</NBT_AMOUNT>
        <COST_AMOUNT>decimal</COST_AMOUNT>
        <DEDUCTIONS>decimal</DEDUCTIONS>
        <PAYABLE_AMOUNT>decimal</PAYABLE_AMOUNT>
        <PAY_BALANCE>decimal</PAY_BALANCE>
        <PAY_STATUS>decimal</PAY_STATUS>
        <PAY_IN_PROGRESS>decimal</PAY_IN_PROGRESS>
        <VAT_CODE1>string</VAT_CODE1>
        <VAT_CODE2>string</VAT_CODE2>
        <BRANCH_CODE>string</BRANCH_CODE>
        <TERMINAL_ID>string</TERMINAL_ID>
        <INVOICE_E>string</INVOICE_E>
        <AMOUNT_IN_WORD>string</AMOUNT_IN_WORD>
        <USERCODE>string</USERCODE>
        <CANCELLED>int</CANCELLED>
        <CANCEL_USERCODE>string</CANCEL_USERCODE>
        <CANCEL_DATE>dateTime</CANCEL_DATE>
        <CANCEL_TIME>string</CANCEL_TIME>
        <PRINTED>decimal</PRINTED>
        <DISCOUNT>decimal</DISCOUNT>
        <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
        <VAT_AMOUNT_FOR_ACC>decimal</VAT_AMOUNT_FOR_ACC>
        <NBT_AMOUNT_FOR_ACC>decimal</NBT_AMOUNT_FOR_ACC>
        <COST_AMOUNT_FOR_ACC>decimal</COST_AMOUNT_FOR_ACC>
        <RET_NOTE_NUMBERS>string</RET_NOTE_NUMBERS>
        <CUST_ADDRESS>string</CUST_ADDRESS>
        <CUST_MOBILE>string</CUST_MOBILE>
        <CUST_EMAIL>string</CUST_EMAIL>
        <CREDIT_CARD_LAST_DIGITS>string</CREDIT_CARD_LAST_DIGITS>
        <CREDIT_CARD_PERCENTAGE>decimal</CREDIT_CARD_PERCENTAGE>
        <CREDIT_CARD_CHARGE>decimal</CREDIT_CARD_CHARGE>
        <CREDIT_CARD_NAME>string</CREDIT_CARD_NAME>
        <CUST_NAME_FOR_REPORTS>string</CUST_NAME_FOR_REPORTS>
        <CUST_VAT_NO>string</CUST_VAT_NO>
        <LOCATION_NAME>string</LOCATION_NAME>
        <GLOBAL_TRANSFERED>int</GLOBAL_TRANSFERED>
        <REP_CODE>string</REP_CODE>
      </details>
    </UpdatePrintedSEQ_INV>
  </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>
    <UpdatePrintedSEQ_INVResponse xmlns="http://tempuri.org/">
      <UpdatePrintedSEQ_INVResult>string</UpdatePrintedSEQ_INVResult>
    </UpdatePrintedSEQ_INVResponse>
  </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: laluws.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>
    <UpdatePrintedSEQ_INV xmlns="http://tempuri.org/">
      <details>
        <COMPCODE>string</COMPCODE>
        <LOCA>string</LOCA>
        <CSH_CRD>string</CSH_CRD>
        <INV_NO>string</INV_NO>
        <INV_TYPE>string</INV_TYPE>
        <CUST_CODE>string</CUST_CODE>
        <CUST_NAME>string</CUST_NAME>
        <TXN_DATE>dateTime</TXN_DATE>
        <INV_DATE>dateTime</INV_DATE>
        <TXN_TIME>string</TXN_TIME>
        <REF>string</REF>
        <DN_NO>string</DN_NO>
        <TOTAL>decimal</TOTAL>
        <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
        <TOTAL_AFTER_DISCOUNT>decimal</TOTAL_AFTER_DISCOUNT>
        <VAT_AMOUNT>decimal</VAT_AMOUNT>
        <NBT_AMOUNT>decimal</NBT_AMOUNT>
        <COST_AMOUNT>decimal</COST_AMOUNT>
        <DEDUCTIONS>decimal</DEDUCTIONS>
        <PAYABLE_AMOUNT>decimal</PAYABLE_AMOUNT>
        <PAY_BALANCE>decimal</PAY_BALANCE>
        <PAY_STATUS>decimal</PAY_STATUS>
        <PAY_IN_PROGRESS>decimal</PAY_IN_PROGRESS>
        <VAT_CODE1>string</VAT_CODE1>
        <VAT_CODE2>string</VAT_CODE2>
        <BRANCH_CODE>string</BRANCH_CODE>
        <TERMINAL_ID>string</TERMINAL_ID>
        <INVOICE_E>string</INVOICE_E>
        <AMOUNT_IN_WORD>string</AMOUNT_IN_WORD>
        <USERCODE>string</USERCODE>
        <CANCELLED>int</CANCELLED>
        <CANCEL_USERCODE>string</CANCEL_USERCODE>
        <CANCEL_DATE>dateTime</CANCEL_DATE>
        <CANCEL_TIME>string</CANCEL_TIME>
        <PRINTED>decimal</PRINTED>
        <DISCOUNT>decimal</DISCOUNT>
        <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
        <VAT_AMOUNT_FOR_ACC>decimal</VAT_AMOUNT_FOR_ACC>
        <NBT_AMOUNT_FOR_ACC>decimal</NBT_AMOUNT_FOR_ACC>
        <COST_AMOUNT_FOR_ACC>decimal</COST_AMOUNT_FOR_ACC>
        <RET_NOTE_NUMBERS>string</RET_NOTE_NUMBERS>
        <CUST_ADDRESS>string</CUST_ADDRESS>
        <CUST_MOBILE>string</CUST_MOBILE>
        <CUST_EMAIL>string</CUST_EMAIL>
        <CREDIT_CARD_LAST_DIGITS>string</CREDIT_CARD_LAST_DIGITS>
        <CREDIT_CARD_PERCENTAGE>decimal</CREDIT_CARD_PERCENTAGE>
        <CREDIT_CARD_CHARGE>decimal</CREDIT_CARD_CHARGE>
        <CREDIT_CARD_NAME>string</CREDIT_CARD_NAME>
        <CUST_NAME_FOR_REPORTS>string</CUST_NAME_FOR_REPORTS>
        <CUST_VAT_NO>string</CUST_VAT_NO>
        <LOCATION_NAME>string</LOCATION_NAME>
        <GLOBAL_TRANSFERED>int</GLOBAL_TRANSFERED>
        <REP_CODE>string</REP_CODE>
      </details>
    </UpdatePrintedSEQ_INV>
  </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>
    <UpdatePrintedSEQ_INVResponse xmlns="http://tempuri.org/">
      <UpdatePrintedSEQ_INVResult>string</UpdatePrintedSEQ_INVResult>
    </UpdatePrintedSEQ_INVResponse>
  </soap12:Body>
</soap12:Envelope>