ProductBaseComponents Web Service
Method/productbasecomponents.asmx/UpdateReceivedProductHeaderAndClosePurchaseOrders
ProductBaseComponents Web Service > All Operations Resource Group : /productbasecomponents.asmx/UpdateReceivedProductHeaderAndClosePurchaseOrders (Method)
Description
The UpdateReceivedProductHeader function updates a receivedProductHeader record will close connected PurchaseOrders if status is set to closed
Request (UpdateReceivedProductHeaderAndClosePurchaseOrdersSoapIn)

The request body is of type UpdateReceivedProductHeaderAndClosePurchaseOrders.

Request Body Parameters

NameDescriptionData Type
 ReceivedProductHeaderInfo
 xml:boolean
isForceUpdate Element TotalVatAmount Element TotalPriceExclVat Element ConversionId Element ShipmentReference Element BuyerReference Element SupplierReference Element InboundFileId Element InboundMessageId Element PurchaseOrderId Element Status Element MiscInfo Element Label Element ContainerId Element SupplierId Element BookmarkId Element ReceivedProductScenarioId Element StoreId Element CompanyId Element LastModifiedDateTime Element LastModifiedByUserId Element CreatedDateTime Element CreatedByUserId Element ItemId Element Sequence receivedProductHeader Element Sequence UpdateReceivedProductHeaderAndClosePurchaseOrders Element

Overview

Sequence
Sequence
ItemId xs:int
CreatedDateTime xs:dateTime
CompanyId xs:int
StoreId xs:int
BookmarkId xs:int
SupplierId xs:int
Label optional xs:string
MiscInfo optional xs:string
SupplierReference optional xs:string
BuyerReference optional xs:string
ShipmentReference optional xs:string
ConversionId xs:long
TotalVatAmount xs:decimal
isForceUpdate xs:boolean
Response (UpdateReceivedProductHeaderAndClosePurchaseOrdersSoapOut)

The response body is of type UpdateReceivedProductHeaderAndClosePurchaseOrdersResponse.

Response Body Parameters

NameDescriptionData Type
 xml:int
 ArrayOfInt
 ArrayOfInt
int Element Sequence incompletePurchaseOrderIds Element int Element Sequence closedPurchaseOrderIds Element UpdateReceivedProductHeaderAndClosePurchaseOrdersResult Element Sequence UpdateReceivedProductHeaderAndClosePurchaseOrdersResponse Element

Overview

See Also
All Operations Resource GroupProductBaseComponents Web Service