ProductComponents Web Service
Method/VerifyPurchase
ProductComponents Web Service > All Operations Resource Group : /VerifyPurchase (Method)
Description
The VerifyPurchase function verifies a purchase record against the available business rules.
Request (VerifyPurchaseSoapIn)

The request body is of type VerifyPurchase.

Request Body Parameters

NameDescriptionData Type
 PurchaseInfo
 xml:boolean
isAddingRecord 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 VerifyPurchase 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
isAddingRecord xs:boolean
Response (VerifyPurchaseSoapOut)

The response body is of type VerifyPurchaseResponse.

Response Body Parameters

NameDescriptionData Type
 ArrayOfVerifyExceptionInfo
AdditionalParameters Element Properties Element FriendlyMessage Element TechnicalMessage Element MessageCode Element MessageNumber Element Sequence VerifyExceptionInfo Element Sequence VerifyPurchaseResult Element Sequence VerifyPurchaseResponse Element

Overview

Sequence
See Also
All Operations Resource GroupProductComponents Web Service