ProductComponents Web Service
Method/AddPurchase
ProductComponents Web Service > All Operations Resource Group : /AddPurchase (Method)
Description
The AddPurchase function adds a purchase record.
Request (AddPurchaseSoapIn)

The request body is of type AddPurchase.

Request Body Parameters

NameDescriptionData Type
 PurchaseInfo
 xml:boolean
isAutoClaim Element IsDerived Element ProductId Element GrossPriceReductionPercentage Element CollectionParentBarcode Element CollectionAmount Element CollectionBarcode Element SeasonProfileId Element IsActive Element Source Element IsPreferredSupplierRow Element LastExchangeDateTime Element OrganizationModifiedDateTime Element OrganizationReference Element DefaultDeliveryDays Element PurchasePriceType Element OwnPurchasePriceNote Element OwnPurchasePrice Element IsNetNet Element PurchasePrice Element GrossPurchasePrice Element PurchasePricePerAmount Element CbmPerSingleUnit Element PurchaseContentUnitToConsumerUnitFactor Element PurchaseContentUnitPackageId Element PurchaseContentUnitDimensionId Element PurchaseUnitToPurchaseContentUnitFactor Element PurchaseUnitPackageId Element PurchaseUnitDimensionId Element MinimumOrderQuantity Element OrderMultiplier Element PurchaseUnitBarcode Element OrderCode Element ExternalCode Element PurchasePriceGroupId Element PurchaseStatusRowId Element SupplierId Element OrganizationId Element CompanyId Element LastModifiedDateTime Element LastModifiedByUserId Element CreatedDateTime Element CreatedByUserId Element ItemId Element Sequence purchase Element Sequence AddPurchase Element

Overview

Sequence
Sequence
ItemId xs:int
CreatedDateTime xs:dateTime
CompanyId xs:int
SupplierId xs:int
ExternalCode optional xs:string
OrderCode optional xs:string
OrderMultiplier xs:decimal
CbmPerSingleUnit xs:decimal
PurchasePrice xs:decimal
IsNetNet xs:boolean
OwnPurchasePrice xs:decimal
OwnPurchasePriceNote optional xs:string
OrganizationReference optional xs:string
IsActive xs:boolean
ProductId xs:int
IsDerived xs:boolean
isAutoClaim xs:boolean
Response (AddPurchaseSoapOut)

The response body is of type AddPurchaseResponse.

Response Body Parameters

NameDescriptionData Type
 xml:int
AddPurchaseResult Element Sequence AddPurchaseResponse Element

Overview

Sequence
See Also
All Operations Resource GroupProductComponents Web Service