BusinessService


Click here for a complete list of operations.

BookStockDocument

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 /BusinessService.asmx HTTP/1.1
Host: 185.83.197.162
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/BookStockDocument"

<?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>
    <BookStockDocument xmlns="http://tempuri.org/">
      <document>
        <BookerStoreID>int</BookerStoreID>
        <BookerWorkstationID>int</BookerWorkstationID>
        <DocumentID>string</DocumentID>
        <DocumentType>int</DocumentType>
        <UsageType>int</UsageType>
        <Reason>int</Reason>
        <DocumentNumber>string</DocumentNumber>
        <SupplierID>string</SupplierID>
        <CustomerID>string</CustomerID>
        <ThirdPartyID>string</ThirdPartyID>
        <ThirdPartyName>string</ThirdPartyName>
        <DepartmentID>string</DepartmentID>
        <SupplierName>string</SupplierName>
        <SourceStockID>string</SourceStockID>
        <SourceStock>string</SourceStock>
        <SourceStore>string</SourceStore>
        <TargetStockID>string</TargetStockID>
        <TargetStock>string</TargetStock>
        <TargetStore>string</TargetStore>
        <DocumentDate>string</DocumentDate>
        <Date>dateTime</Date>
        <ExpectedRecieveDate>string</ExpectedRecieveDate>
        <TotalAmount>decimal</TotalAmount>
        <CreationUser>string</CreationUser>
        <SupplierConfirm>boolean</SupplierConfirm>
        <SupplierDescription>string</SupplierDescription>
        <Items>
          <ItemInfo>
            <LineItemID>int</LineItemID>
            <ContractID>guid</ContractID>
            <ContractTypeID>int</ContractTypeID>
            <SupplierDiscountPercent>decimal</SupplierDiscountPercent>
            <ParentID>guid</ParentID>
            <TypeID>int</TypeID>
            <DepartmentID>guid</DepartmentID>
            <DepartmentName>string</DepartmentName>
            <BrandID>guid</BrandID>
            <Brand>string</Brand>
            <UnitOfMeasureID>int</UnitOfMeasureID>
            <NameInPOS>string</NameInPOS>
            <ContractNumber>string</ContractNumber>
            <PackNumber>string</PackNumber>
            <StockSection>string</StockSection>
            <StockQuantity>decimal</StockQuantity>
            <Cost>decimal</Cost>
            <PriceWithTax>decimal</PriceWithTax>
            <ConsumerPrice>decimal</ConsumerPrice>
            <ManufacturerPrice>decimal</ManufacturerPrice>
            <DeactivePrice>decimal</DeactivePrice>
            <DeactiveConsumerPrice>decimal</DeactiveConsumerPrice>
            <ContractConsumerPrice>decimal</ContractConsumerPrice>
            <BulkPrice>decimal</BulkPrice>
            <TemporaryPrice>decimal</TemporaryPrice>
            <OrderCount>decimal</OrderCount>
            <ScannedCount>decimal</ScannedCount>
            <PackCount>decimal</PackCount>
            <PackUnitCount>decimal</PackUnitCount>
            <Quantity>decimal</Quantity>
            <BonusCount>decimal</BonusCount>
            <DamagedCount>decimal</DamagedCount>
            <Discount>decimal</Discount>
            <ContractType>string</ContractType>
            <SupplierDiscount>decimal</SupplierDiscount>
            <Discount1>decimal</Discount1>
            <Discount2>decimal</Discount2>
            <Discount3>decimal</Discount3>
            <Discount4>decimal</Discount4>
            <Discount5>decimal</Discount5>
            <PositiveCost>decimal</PositiveCost>
            <NegativeCost>decimal</NegativeCost>
            <IsQuick>boolean</IsQuick>
            <Tax>decimal</Tax>
            <Toll>decimal</Toll>
            <NetCost>decimal</NetCost>
            <IsNotFound>boolean</IsNotFound>
            <IsNotInOrder>boolean</IsNotInOrder>
            <AllowToRecieve>boolean</AllowToRecieve>
            <RecieveMoreThanOrder>boolean</RecieveMoreThanOrder>
            <Status>boolean</Status>
            <MaximumOrderOverage>decimal</MaximumOrderOverage>
            <Description>string</Description>
            <ImageUrl>string</ImageUrl>
            <CustomFields xsi:nil="true" />
            <Attributes xsi:nil="true" />
            <Collection xsi:nil="true" />
          </ItemInfo>
          <ItemInfo>
            <LineItemID>int</LineItemID>
            <ContractID>guid</ContractID>
            <ContractTypeID>int</ContractTypeID>
            <SupplierDiscountPercent>decimal</SupplierDiscountPercent>
            <ParentID>guid</ParentID>
            <TypeID>int</TypeID>
            <DepartmentID>guid</DepartmentID>
            <DepartmentName>string</DepartmentName>
            <BrandID>guid</BrandID>
            <Brand>string</Brand>
            <UnitOfMeasureID>int</UnitOfMeasureID>
            <NameInPOS>string</NameInPOS>
            <ContractNumber>string</ContractNumber>
            <PackNumber>string</PackNumber>
            <StockSection>string</StockSection>
            <StockQuantity>decimal</StockQuantity>
            <Cost>decimal</Cost>
            <PriceWithTax>decimal</PriceWithTax>
            <ConsumerPrice>decimal</ConsumerPrice>
            <ManufacturerPrice>decimal</ManufacturerPrice>
            <DeactivePrice>decimal</DeactivePrice>
            <DeactiveConsumerPrice>decimal</DeactiveConsumerPrice>
            <ContractConsumerPrice>decimal</ContractConsumerPrice>
            <BulkPrice>decimal</BulkPrice>
            <TemporaryPrice>decimal</TemporaryPrice>
            <OrderCount>decimal</OrderCount>
            <ScannedCount>decimal</ScannedCount>
            <PackCount>decimal</PackCount>
            <PackUnitCount>decimal</PackUnitCount>
            <Quantity>decimal</Quantity>
            <BonusCount>decimal</BonusCount>
            <DamagedCount>decimal</DamagedCount>
            <Discount>decimal</Discount>
            <ContractType>string</ContractType>
            <SupplierDiscount>decimal</SupplierDiscount>
            <Discount1>decimal</Discount1>
            <Discount2>decimal</Discount2>
            <Discount3>decimal</Discount3>
            <Discount4>decimal</Discount4>
            <Discount5>decimal</Discount5>
            <PositiveCost>decimal</PositiveCost>
            <NegativeCost>decimal</NegativeCost>
            <IsQuick>boolean</IsQuick>
            <Tax>decimal</Tax>
            <Toll>decimal</Toll>
            <NetCost>decimal</NetCost>
            <IsNotFound>boolean</IsNotFound>
            <IsNotInOrder>boolean</IsNotInOrder>
            <AllowToRecieve>boolean</AllowToRecieve>
            <RecieveMoreThanOrder>boolean</RecieveMoreThanOrder>
            <Status>boolean</Status>
            <MaximumOrderOverage>decimal</MaximumOrderOverage>
            <Description>string</Description>
            <ImageUrl>string</ImageUrl>
            <CustomFields xsi:nil="true" />
            <Attributes xsi:nil="true" />
            <Collection xsi:nil="true" />
          </ItemInfo>
        </Items>
        <CostModifiers>
          <CostModifierInfo>
            <LineItemID>int</LineItemID>
            <ReasonID>int</ReasonID>
            <Reason>string</Reason>
            <ChangeTypeID>int</ChangeTypeID>
            <ChangeType>string</ChangeType>
            <Amount>decimal</Amount>
            <NetAmount>decimal</NetAmount>
            <CostCenterID>string</CostCenterID>
            <CostCenter>string</CostCenter>
            <IsEffective>boolean</IsEffective>
            <IsTaxable>boolean</IsTaxable>
            <IsPayable>boolean</IsPayable>
            <CurrencyID>int</CurrencyID>
            <Currency>string</Currency>
            <ExchangeAmount>decimal</ExchangeAmount>
          </CostModifierInfo>
          <CostModifierInfo>
            <LineItemID>int</LineItemID>
            <ReasonID>int</ReasonID>
            <Reason>string</Reason>
            <ChangeTypeID>int</ChangeTypeID>
            <ChangeType>string</ChangeType>
            <Amount>decimal</Amount>
            <NetAmount>decimal</NetAmount>
            <CostCenterID>string</CostCenterID>
            <CostCenter>string</CostCenter>
            <IsEffective>boolean</IsEffective>
            <IsTaxable>boolean</IsTaxable>
            <IsPayable>boolean</IsPayable>
            <CurrencyID>int</CurrencyID>
            <Currency>string</Currency>
            <ExchangeAmount>decimal</ExchangeAmount>
          </CostModifierInfo>
        </CostModifiers>
        <DiscountCaptions>
          <EntityInfo>
            <ID>string</ID>
            <Name>string</Name>
            <Key>string</Key>
            <Email>string</Email>
            <Image>base64Binary</Image>
          </EntityInfo>
          <EntityInfo>
            <ID>string</ID>
            <Name>string</Name>
            <Key>string</Key>
            <Email>string</Email>
            <Image>base64Binary</Image>
          </EntityInfo>
        </DiscountCaptions>
        <DocumentAttributes>
          <AllowNew>boolean</AllowNew>
          <AllowSourceStock>boolean</AllowSourceStock>
          <AllowTargetStock>boolean</AllowTargetStock>
          <AllowDefaultStock>boolean</AllowDefaultStock>
          <AllowSupplier>boolean</AllowSupplier>
          <AllowCustomer>boolean</AllowCustomer>
          <AllowCheckCredit>boolean</AllowCheckCredit>
          <AllowVisitor>boolean</AllowVisitor>
          <AllowDocumentDate>boolean</AllowDocumentDate>
          <AllowEditTime>boolean</AllowEditTime>
          <AllowExpectedDate>boolean</AllowExpectedDate>
          <AllowReason>boolean</AllowReason>
          <AllowAddItem>boolean</AllowAddItem>
          <AllowToBrowseDocumentItems>boolean</AllowToBrowseDocumentItems>
          <BrowseSearchID>None or DiscountAndPromotions or Departments or CustomQuery or ItemInfo or SupplierInfo or CustomerInfo or CustomerGroupInfo or GroupCustomers or NotGroupCustomers or SaleInvoice or SupplierInvoice or InvoiceForASupplier or InventoryDocument or AllInventoryDocument or TransferOutDocument or TransferInDocument or RequestTransferDocument or AdjustmentDocument or PhysicalDocument or CustomerCreditDocument or TreasuryDocument or ThirdParty or Repository or UserInfo or UserGroupInfo or EmployeeInfo or LoyalityInfo or ChangePrice or DiscountInfo or StockInfo or StoreInfo or WorkstationInfo or FileRepository or CashSettelment or CashSettelmentDetail or PartialInvoice or GiftCard or GiftCardSerial or SupplierContract or ServiceItem or AOP or Brand or TreasuryAccount or SalePurchaseDocument or SupplierAgreement or StoreGroup or BulkSaleDocument or TenderRepository or QuestionCategory or Question or LotteryTicket or ProductionStep or BOM or ProductionDocuments or StoreContract or CustomerServiceDocument or VisitorInfo or VisitorContract or PartialPaymentRule or PlanningCalendar or ProductionPlan or ProductionOrder or Orders</BrowseSearchID>
          <BrowseDocumentID>None or BuyInvoice or RTVInvoice or TransferIn or TransferOut or Adjustment or Physical or RequestItem or ImmediateTransfer or SupplierOrder or Sale or Purchase or PurchaseInvoice or IncreaseDocument or DecreaseDocument or ReceiveDocument or ReturnToCenter or ReturnFromBranch or ReturnFromBranchInvoice or SupplierConfirm or SupplierSendNotification or CustomerOrder or ConfirmOrder or BulkSale or BulkSaleInvoice or BulkReturn or BulkReturnInvoice or Usage or Waste or ServiceOrder or SendToSupplier or RecieveFromSupplier or SupplierServiceInvoice or SaleServiceInvoice or RequestConfirm or SupplierBuyInvoice or SupplierReturnInvoice or SupplierComissionInvoice or SupplierTrustInvoice or ItemCost or SupplierSale or ServiceInvoice</BrowseDocumentID>
          <AllowToImportCost>boolean</AllowToImportCost>
          <AllowAttachment>boolean</AllowAttachment>
          <AllowCurrency>boolean</AllowCurrency>
          <AllowMarginPercent>boolean</AllowMarginPercent>
          <AllowUsage>boolean</AllowUsage>
          <AllowReserveQuantity>boolean</AllowReserveQuantity>
          <VisibleInvoiceNumber>boolean</VisibleInvoiceNumber>
          <VisiblePartNumber>boolean</VisiblePartNumber>
          <VisibleOrders>boolean</VisibleOrders>
          <AllowCustomField>boolean</AllowCustomField>
          <VisibleBonusQunatity>boolean</VisibleBonusQunatity>
          <VisibleScannedQunatity>boolean</VisibleScannedQunatity>
          <VisibleDamagedQunatity>boolean</VisibleDamagedQunatity>
          <AllowChangeQuantity>boolean</AllowChangeQuantity>
          <AllowChangeQuantityWithoutRefer>boolean</AllowChangeQuantityWithoutRefer>
          <VisibleCost>boolean</VisibleCost>
          <AllowChangeCost>boolean</AllowChangeCost>
          <AllowChangeTotalCost>boolean</AllowChangeTotalCost>
          <VisiblePrice>boolean</VisiblePrice>
          <AllowChangePrice>boolean</AllowChangePrice>
          <AllowChangeDiscount>boolean</AllowChangeDiscount>
          <VisibleTotalAmount>boolean</VisibleTotalAmount>
          <VisibleContractNumber>boolean</VisibleContractNumber>
          <AllowPriceList>boolean</AllowPriceList>
          <AllowPayment>boolean</AllowPayment>
          <VisiblePayment>boolean</VisiblePayment>
          <AllowCostModifier>boolean</AllowCostModifier>
          <VisibleCostModifier>boolean</VisibleCostModifier>
          <AllowTax>boolean</AllowTax>
          <AllowThresold>boolean</AllowThresold>
          <CanReserveItemQuantity>boolean</CanReserveItemQuantity>
          <CheckCustomerCredit>boolean</CheckCustomerCredit>
          <CheckSupplierContract>boolean</CheckSupplierContract>
          <CheckSupplierMaxOrder>boolean</CheckSupplierMaxOrder>
          <CheckExpectedRecieveDate>boolean</CheckExpectedRecieveDate>
          <CheckAllowToRecieve>boolean</CheckAllowToRecieve>
          <CanRecieveMoreThanOrder>boolean</CanRecieveMoreThanOrder>
          <CheckRecieveIsEqualWithOrder>boolean</CheckRecieveIsEqualWithOrder>
          <CheckPayments>boolean</CheckPayments>
          <CheckMaxUsage>boolean</CheckMaxUsage>
          <CheckMaxReturn>boolean</CheckMaxReturn>
          <CheckZeroCost>boolean</CheckZeroCost>
          <CheckZeroPrice>boolean</CheckZeroPrice>
          <CheckZeroQuantity>boolean</CheckZeroQuantity>
          <CheckStockValueCredit>boolean</CheckStockValueCredit>
          <AllowToRefreshContent>boolean</AllowToRefreshContent>
          <AllowCalcDiscount>boolean</AllowCalcDiscount>
          <AllowNegativeQuantity>boolean</AllowNegativeQuantity>
          <AllowAllStock>boolean</AllowAllStock>
          <ReferDocumentTypeID>None or BuyInvoice or RTVInvoice or TransferIn or TransferOut or Adjustment or Physical or RequestItem or ImmediateTransfer or SupplierOrder or Sale or Purchase or PurchaseInvoice or IncreaseDocument or DecreaseDocument or ReceiveDocument or ReturnToCenter or ReturnFromBranch or ReturnFromBranchInvoice or SupplierConfirm or SupplierSendNotification or CustomerOrder or ConfirmOrder or BulkSale or BulkSaleInvoice or BulkReturn or BulkReturnInvoice or Usage or Waste or ServiceOrder or SendToSupplier or RecieveFromSupplier or SupplierServiceInvoice or SaleServiceInvoice or RequestConfirm or SupplierBuyInvoice or SupplierReturnInvoice or SupplierComissionInvoice or SupplierTrustInvoice or ItemCost or SupplierSale or ServiceInvoice</ReferDocumentTypeID>
          <ReferDocumentSearchID>None or DiscountAndPromotions or Departments or CustomQuery or ItemInfo or SupplierInfo or CustomerInfo or CustomerGroupInfo or GroupCustomers or NotGroupCustomers or SaleInvoice or SupplierInvoice or InvoiceForASupplier or InventoryDocument or AllInventoryDocument or TransferOutDocument or TransferInDocument or RequestTransferDocument or AdjustmentDocument or PhysicalDocument or CustomerCreditDocument or TreasuryDocument or ThirdParty or Repository or UserInfo or UserGroupInfo or EmployeeInfo or LoyalityInfo or ChangePrice or DiscountInfo or StockInfo or StoreInfo or WorkstationInfo or FileRepository or CashSettelment or CashSettelmentDetail or PartialInvoice or GiftCard or GiftCardSerial or SupplierContract or ServiceItem or AOP or Brand or TreasuryAccount or SalePurchaseDocument or SupplierAgreement or StoreGroup or BulkSaleDocument or TenderRepository or QuestionCategory or Question or LotteryTicket or ProductionStep or BOM or ProductionDocuments or StoreContract or CustomerServiceDocument or VisitorInfo or VisitorContract or PartialPaymentRule or PlanningCalendar or ProductionPlan or ProductionOrder or Orders</ReferDocumentSearchID>
          <AllowToRefer>boolean</AllowToRefer>
          <AllowToMultipleRefer>boolean</AllowToMultipleRefer>
          <AllowToComplete>boolean</AllowToComplete>
          <AllowToPartialRecieve>boolean</AllowToPartialRecieve>
          <AllowToVoidPrint>boolean</AllowToVoidPrint>
          <ItemTypes>string</ItemTypes>
          <EffectiveStock>Target or Source</EffectiveStock>
          <LastStockQuantityType>Available or Full or AvailableWithOrder</LastStockQuantityType>
          <DocumentValueType>Cost or Price</DocumentValueType>
          <ItemCostType>LastCost or SupplierContract or BulkPrice</ItemCostType>
          <Translations>
            <TranslationText xsi:nil="true" />
            <TranslationText xsi:nil="true" />
          </Translations>
          <AccessOperations>
            <OperationAccess xsi:nil="true" />
            <OperationAccess xsi:nil="true" />
          </AccessOperations>
          <PrintLayouts>
            <StockDocumentPrintLayout xsi:nil="true" />
            <StockDocumentPrintLayout xsi:nil="true" />
          </PrintLayouts>
        </DocumentAttributes>
        <IsBonus>boolean</IsBonus>
        <CalcTax>boolean</CalcTax>
        <Comment>string</Comment>
      </document>
      <allowToApprove>boolean</allowToApprove>
    </BookStockDocument>
  </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>
    <BookStockDocumentResponse xmlns="http://tempuri.org/">
      <BookStockDocumentResult>
        <Status>Start or Pending or Error or Successfull or Fail or Marquee</Status>
        <Message>string</Message>
      </BookStockDocumentResult>
    </BookStockDocumentResponse>
  </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 /BusinessService.asmx HTTP/1.1
Host: 185.83.197.162
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>
    <BookStockDocument xmlns="http://tempuri.org/">
      <document>
        <BookerStoreID>int</BookerStoreID>
        <BookerWorkstationID>int</BookerWorkstationID>
        <DocumentID>string</DocumentID>
        <DocumentType>int</DocumentType>
        <UsageType>int</UsageType>
        <Reason>int</Reason>
        <DocumentNumber>string</DocumentNumber>
        <SupplierID>string</SupplierID>
        <CustomerID>string</CustomerID>
        <ThirdPartyID>string</ThirdPartyID>
        <ThirdPartyName>string</ThirdPartyName>
        <DepartmentID>string</DepartmentID>
        <SupplierName>string</SupplierName>
        <SourceStockID>string</SourceStockID>
        <SourceStock>string</SourceStock>
        <SourceStore>string</SourceStore>
        <TargetStockID>string</TargetStockID>
        <TargetStock>string</TargetStock>
        <TargetStore>string</TargetStore>
        <DocumentDate>string</DocumentDate>
        <Date>dateTime</Date>
        <ExpectedRecieveDate>string</ExpectedRecieveDate>
        <TotalAmount>decimal</TotalAmount>
        <CreationUser>string</CreationUser>
        <SupplierConfirm>boolean</SupplierConfirm>
        <SupplierDescription>string</SupplierDescription>
        <Items>
          <ItemInfo>
            <LineItemID>int</LineItemID>
            <ContractID>guid</ContractID>
            <ContractTypeID>int</ContractTypeID>
            <SupplierDiscountPercent>decimal</SupplierDiscountPercent>
            <ParentID>guid</ParentID>
            <TypeID>int</TypeID>
            <DepartmentID>guid</DepartmentID>
            <DepartmentName>string</DepartmentName>
            <BrandID>guid</BrandID>
            <Brand>string</Brand>
            <UnitOfMeasureID>int</UnitOfMeasureID>
            <NameInPOS>string</NameInPOS>
            <ContractNumber>string</ContractNumber>
            <PackNumber>string</PackNumber>
            <StockSection>string</StockSection>
            <StockQuantity>decimal</StockQuantity>
            <Cost>decimal</Cost>
            <PriceWithTax>decimal</PriceWithTax>
            <ConsumerPrice>decimal</ConsumerPrice>
            <ManufacturerPrice>decimal</ManufacturerPrice>
            <DeactivePrice>decimal</DeactivePrice>
            <DeactiveConsumerPrice>decimal</DeactiveConsumerPrice>
            <ContractConsumerPrice>decimal</ContractConsumerPrice>
            <BulkPrice>decimal</BulkPrice>
            <TemporaryPrice>decimal</TemporaryPrice>
            <OrderCount>decimal</OrderCount>
            <ScannedCount>decimal</ScannedCount>
            <PackCount>decimal</PackCount>
            <PackUnitCount>decimal</PackUnitCount>
            <Quantity>decimal</Quantity>
            <BonusCount>decimal</BonusCount>
            <DamagedCount>decimal</DamagedCount>
            <Discount>decimal</Discount>
            <ContractType>string</ContractType>
            <SupplierDiscount>decimal</SupplierDiscount>
            <Discount1>decimal</Discount1>
            <Discount2>decimal</Discount2>
            <Discount3>decimal</Discount3>
            <Discount4>decimal</Discount4>
            <Discount5>decimal</Discount5>
            <PositiveCost>decimal</PositiveCost>
            <NegativeCost>decimal</NegativeCost>
            <IsQuick>boolean</IsQuick>
            <Tax>decimal</Tax>
            <Toll>decimal</Toll>
            <NetCost>decimal</NetCost>
            <IsNotFound>boolean</IsNotFound>
            <IsNotInOrder>boolean</IsNotInOrder>
            <AllowToRecieve>boolean</AllowToRecieve>
            <RecieveMoreThanOrder>boolean</RecieveMoreThanOrder>
            <Status>boolean</Status>
            <MaximumOrderOverage>decimal</MaximumOrderOverage>
            <Description>string</Description>
            <ImageUrl>string</ImageUrl>
            <CustomFields xsi:nil="true" />
            <Attributes xsi:nil="true" />
            <Collection xsi:nil="true" />
          </ItemInfo>
          <ItemInfo>
            <LineItemID>int</LineItemID>
            <ContractID>guid</ContractID>
            <ContractTypeID>int</ContractTypeID>
            <SupplierDiscountPercent>decimal</SupplierDiscountPercent>
            <ParentID>guid</ParentID>
            <TypeID>int</TypeID>
            <DepartmentID>guid</DepartmentID>
            <DepartmentName>string</DepartmentName>
            <BrandID>guid</BrandID>
            <Brand>string</Brand>
            <UnitOfMeasureID>int</UnitOfMeasureID>
            <NameInPOS>string</NameInPOS>
            <ContractNumber>string</ContractNumber>
            <PackNumber>string</PackNumber>
            <StockSection>string</StockSection>
            <StockQuantity>decimal</StockQuantity>
            <Cost>decimal</Cost>
            <PriceWithTax>decimal</PriceWithTax>
            <ConsumerPrice>decimal</ConsumerPrice>
            <ManufacturerPrice>decimal</ManufacturerPrice>
            <DeactivePrice>decimal</DeactivePrice>
            <DeactiveConsumerPrice>decimal</DeactiveConsumerPrice>
            <ContractConsumerPrice>decimal</ContractConsumerPrice>
            <BulkPrice>decimal</BulkPrice>
            <TemporaryPrice>decimal</TemporaryPrice>
            <OrderCount>decimal</OrderCount>
            <ScannedCount>decimal</ScannedCount>
            <PackCount>decimal</PackCount>
            <PackUnitCount>decimal</PackUnitCount>
            <Quantity>decimal</Quantity>
            <BonusCount>decimal</BonusCount>
            <DamagedCount>decimal</DamagedCount>
            <Discount>decimal</Discount>
            <ContractType>string</ContractType>
            <SupplierDiscount>decimal</SupplierDiscount>
            <Discount1>decimal</Discount1>
            <Discount2>decimal</Discount2>
            <Discount3>decimal</Discount3>
            <Discount4>decimal</Discount4>
            <Discount5>decimal</Discount5>
            <PositiveCost>decimal</PositiveCost>
            <NegativeCost>decimal</NegativeCost>
            <IsQuick>boolean</IsQuick>
            <Tax>decimal</Tax>
            <Toll>decimal</Toll>
            <NetCost>decimal</NetCost>
            <IsNotFound>boolean</IsNotFound>
            <IsNotInOrder>boolean</IsNotInOrder>
            <AllowToRecieve>boolean</AllowToRecieve>
            <RecieveMoreThanOrder>boolean</RecieveMoreThanOrder>
            <Status>boolean</Status>
            <MaximumOrderOverage>decimal</MaximumOrderOverage>
            <Description>string</Description>
            <ImageUrl>string</ImageUrl>
            <CustomFields xsi:nil="true" />
            <Attributes xsi:nil="true" />
            <Collection xsi:nil="true" />
          </ItemInfo>
        </Items>
        <CostModifiers>
          <CostModifierInfo>
            <LineItemID>int</LineItemID>
            <ReasonID>int</ReasonID>
            <Reason>string</Reason>
            <ChangeTypeID>int</ChangeTypeID>
            <ChangeType>string</ChangeType>
            <Amount>decimal</Amount>
            <NetAmount>decimal</NetAmount>
            <CostCenterID>string</CostCenterID>
            <CostCenter>string</CostCenter>
            <IsEffective>boolean</IsEffective>
            <IsTaxable>boolean</IsTaxable>
            <IsPayable>boolean</IsPayable>
            <CurrencyID>int</CurrencyID>
            <Currency>string</Currency>
            <ExchangeAmount>decimal</ExchangeAmount>
          </CostModifierInfo>
          <CostModifierInfo>
            <LineItemID>int</LineItemID>
            <ReasonID>int</ReasonID>
            <Reason>string</Reason>
            <ChangeTypeID>int</ChangeTypeID>
            <ChangeType>string</ChangeType>
            <Amount>decimal</Amount>
            <NetAmount>decimal</NetAmount>
            <CostCenterID>string</CostCenterID>
            <CostCenter>string</CostCenter>
            <IsEffective>boolean</IsEffective>
            <IsTaxable>boolean</IsTaxable>
            <IsPayable>boolean</IsPayable>
            <CurrencyID>int</CurrencyID>
            <Currency>string</Currency>
            <ExchangeAmount>decimal</ExchangeAmount>
          </CostModifierInfo>
        </CostModifiers>
        <DiscountCaptions>
          <EntityInfo>
            <ID>string</ID>
            <Name>string</Name>
            <Key>string</Key>
            <Email>string</Email>
            <Image>base64Binary</Image>
          </EntityInfo>
          <EntityInfo>
            <ID>string</ID>
            <Name>string</Name>
            <Key>string</Key>
            <Email>string</Email>
            <Image>base64Binary</Image>
          </EntityInfo>
        </DiscountCaptions>
        <DocumentAttributes>
          <AllowNew>boolean</AllowNew>
          <AllowSourceStock>boolean</AllowSourceStock>
          <AllowTargetStock>boolean</AllowTargetStock>
          <AllowDefaultStock>boolean</AllowDefaultStock>
          <AllowSupplier>boolean</AllowSupplier>
          <AllowCustomer>boolean</AllowCustomer>
          <AllowCheckCredit>boolean</AllowCheckCredit>
          <AllowVisitor>boolean</AllowVisitor>
          <AllowDocumentDate>boolean</AllowDocumentDate>
          <AllowEditTime>boolean</AllowEditTime>
          <AllowExpectedDate>boolean</AllowExpectedDate>
          <AllowReason>boolean</AllowReason>
          <AllowAddItem>boolean</AllowAddItem>
          <AllowToBrowseDocumentItems>boolean</AllowToBrowseDocumentItems>
          <BrowseSearchID>None or DiscountAndPromotions or Departments or CustomQuery or ItemInfo or SupplierInfo or CustomerInfo or CustomerGroupInfo or GroupCustomers or NotGroupCustomers or SaleInvoice or SupplierInvoice or InvoiceForASupplier or InventoryDocument or AllInventoryDocument or TransferOutDocument or TransferInDocument or RequestTransferDocument or AdjustmentDocument or PhysicalDocument or CustomerCreditDocument or TreasuryDocument or ThirdParty or Repository or UserInfo or UserGroupInfo or EmployeeInfo or LoyalityInfo or ChangePrice or DiscountInfo or StockInfo or StoreInfo or WorkstationInfo or FileRepository or CashSettelment or CashSettelmentDetail or PartialInvoice or GiftCard or GiftCardSerial or SupplierContract or ServiceItem or AOP or Brand or TreasuryAccount or SalePurchaseDocument or SupplierAgreement or StoreGroup or BulkSaleDocument or TenderRepository or QuestionCategory or Question or LotteryTicket or ProductionStep or BOM or ProductionDocuments or StoreContract or CustomerServiceDocument or VisitorInfo or VisitorContract or PartialPaymentRule or PlanningCalendar or ProductionPlan or ProductionOrder or Orders</BrowseSearchID>
          <BrowseDocumentID>None or BuyInvoice or RTVInvoice or TransferIn or TransferOut or Adjustment or Physical or RequestItem or ImmediateTransfer or SupplierOrder or Sale or Purchase or PurchaseInvoice or IncreaseDocument or DecreaseDocument or ReceiveDocument or ReturnToCenter or ReturnFromBranch or ReturnFromBranchInvoice or SupplierConfirm or SupplierSendNotification or CustomerOrder or ConfirmOrder or BulkSale or BulkSaleInvoice or BulkReturn or BulkReturnInvoice or Usage or Waste or ServiceOrder or SendToSupplier or RecieveFromSupplier or SupplierServiceInvoice or SaleServiceInvoice or RequestConfirm or SupplierBuyInvoice or SupplierReturnInvoice or SupplierComissionInvoice or SupplierTrustInvoice or ItemCost or SupplierSale or ServiceInvoice</BrowseDocumentID>
          <AllowToImportCost>boolean</AllowToImportCost>
          <AllowAttachment>boolean</AllowAttachment>
          <AllowCurrency>boolean</AllowCurrency>
          <AllowMarginPercent>boolean</AllowMarginPercent>
          <AllowUsage>boolean</AllowUsage>
          <AllowReserveQuantity>boolean</AllowReserveQuantity>
          <VisibleInvoiceNumber>boolean</VisibleInvoiceNumber>
          <VisiblePartNumber>boolean</VisiblePartNumber>
          <VisibleOrders>boolean</VisibleOrders>
          <AllowCustomField>boolean</AllowCustomField>
          <VisibleBonusQunatity>boolean</VisibleBonusQunatity>
          <VisibleScannedQunatity>boolean</VisibleScannedQunatity>
          <VisibleDamagedQunatity>boolean</VisibleDamagedQunatity>
          <AllowChangeQuantity>boolean</AllowChangeQuantity>
          <AllowChangeQuantityWithoutRefer>boolean</AllowChangeQuantityWithoutRefer>
          <VisibleCost>boolean</VisibleCost>
          <AllowChangeCost>boolean</AllowChangeCost>
          <AllowChangeTotalCost>boolean</AllowChangeTotalCost>
          <VisiblePrice>boolean</VisiblePrice>
          <AllowChangePrice>boolean</AllowChangePrice>
          <AllowChangeDiscount>boolean</AllowChangeDiscount>
          <VisibleTotalAmount>boolean</VisibleTotalAmount>
          <VisibleContractNumber>boolean</VisibleContractNumber>
          <AllowPriceList>boolean</AllowPriceList>
          <AllowPayment>boolean</AllowPayment>
          <VisiblePayment>boolean</VisiblePayment>
          <AllowCostModifier>boolean</AllowCostModifier>
          <VisibleCostModifier>boolean</VisibleCostModifier>
          <AllowTax>boolean</AllowTax>
          <AllowThresold>boolean</AllowThresold>
          <CanReserveItemQuantity>boolean</CanReserveItemQuantity>
          <CheckCustomerCredit>boolean</CheckCustomerCredit>
          <CheckSupplierContract>boolean</CheckSupplierContract>
          <CheckSupplierMaxOrder>boolean</CheckSupplierMaxOrder>
          <CheckExpectedRecieveDate>boolean</CheckExpectedRecieveDate>
          <CheckAllowToRecieve>boolean</CheckAllowToRecieve>
          <CanRecieveMoreThanOrder>boolean</CanRecieveMoreThanOrder>
          <CheckRecieveIsEqualWithOrder>boolean</CheckRecieveIsEqualWithOrder>
          <CheckPayments>boolean</CheckPayments>
          <CheckMaxUsage>boolean</CheckMaxUsage>
          <CheckMaxReturn>boolean</CheckMaxReturn>
          <CheckZeroCost>boolean</CheckZeroCost>
          <CheckZeroPrice>boolean</CheckZeroPrice>
          <CheckZeroQuantity>boolean</CheckZeroQuantity>
          <CheckStockValueCredit>boolean</CheckStockValueCredit>
          <AllowToRefreshContent>boolean</AllowToRefreshContent>
          <AllowCalcDiscount>boolean</AllowCalcDiscount>
          <AllowNegativeQuantity>boolean</AllowNegativeQuantity>
          <AllowAllStock>boolean</AllowAllStock>
          <ReferDocumentTypeID>None or BuyInvoice or RTVInvoice or TransferIn or TransferOut or Adjustment or Physical or RequestItem or ImmediateTransfer or SupplierOrder or Sale or Purchase or PurchaseInvoice or IncreaseDocument or DecreaseDocument or ReceiveDocument or ReturnToCenter or ReturnFromBranch or ReturnFromBranchInvoice or SupplierConfirm or SupplierSendNotification or CustomerOrder or ConfirmOrder or BulkSale or BulkSaleInvoice or BulkReturn or BulkReturnInvoice or Usage or Waste or ServiceOrder or SendToSupplier or RecieveFromSupplier or SupplierServiceInvoice or SaleServiceInvoice or RequestConfirm or SupplierBuyInvoice or SupplierReturnInvoice or SupplierComissionInvoice or SupplierTrustInvoice or ItemCost or SupplierSale or ServiceInvoice</ReferDocumentTypeID>
          <ReferDocumentSearchID>None or DiscountAndPromotions or Departments or CustomQuery or ItemInfo or SupplierInfo or CustomerInfo or CustomerGroupInfo or GroupCustomers or NotGroupCustomers or SaleInvoice or SupplierInvoice or InvoiceForASupplier or InventoryDocument or AllInventoryDocument or TransferOutDocument or TransferInDocument or RequestTransferDocument or AdjustmentDocument or PhysicalDocument or CustomerCreditDocument or TreasuryDocument or ThirdParty or Repository or UserInfo or UserGroupInfo or EmployeeInfo or LoyalityInfo or ChangePrice or DiscountInfo or StockInfo or StoreInfo or WorkstationInfo or FileRepository or CashSettelment or CashSettelmentDetail or PartialInvoice or GiftCard or GiftCardSerial or SupplierContract or ServiceItem or AOP or Brand or TreasuryAccount or SalePurchaseDocument or SupplierAgreement or StoreGroup or BulkSaleDocument or TenderRepository or QuestionCategory or Question or LotteryTicket or ProductionStep or BOM or ProductionDocuments or StoreContract or CustomerServiceDocument or VisitorInfo or VisitorContract or PartialPaymentRule or PlanningCalendar or ProductionPlan or ProductionOrder or Orders</ReferDocumentSearchID>
          <AllowToRefer>boolean</AllowToRefer>
          <AllowToMultipleRefer>boolean</AllowToMultipleRefer>
          <AllowToComplete>boolean</AllowToComplete>
          <AllowToPartialRecieve>boolean</AllowToPartialRecieve>
          <AllowToVoidPrint>boolean</AllowToVoidPrint>
          <ItemTypes>string</ItemTypes>
          <EffectiveStock>Target or Source</EffectiveStock>
          <LastStockQuantityType>Available or Full or AvailableWithOrder</LastStockQuantityType>
          <DocumentValueType>Cost or Price</DocumentValueType>
          <ItemCostType>LastCost or SupplierContract or BulkPrice</ItemCostType>
          <Translations>
            <TranslationText xsi:nil="true" />
            <TranslationText xsi:nil="true" />
          </Translations>
          <AccessOperations>
            <OperationAccess xsi:nil="true" />
            <OperationAccess xsi:nil="true" />
          </AccessOperations>
          <PrintLayouts>
            <StockDocumentPrintLayout xsi:nil="true" />
            <StockDocumentPrintLayout xsi:nil="true" />
          </PrintLayouts>
        </DocumentAttributes>
        <IsBonus>boolean</IsBonus>
        <CalcTax>boolean</CalcTax>
        <Comment>string</Comment>
      </document>
      <allowToApprove>boolean</allowToApprove>
    </BookStockDocument>
  </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>
    <BookStockDocumentResponse xmlns="http://tempuri.org/">
      <BookStockDocumentResult>
        <Status>Start or Pending or Error or Successfull or Fail or Marquee</Status>
        <Message>string</Message>
      </BookStockDocumentResult>
    </BookStockDocumentResponse>
  </soap12:Body>
</soap12:Envelope>