ProductComponents Web Service
Method/GetPurchases
ProductComponents Web Service > All Operations Resource Group : /GetPurchases (Method)
Description
The GetPurchases function returns all purchase records for the specified parameters.
Request (GetPurchasesSoapIn)

The request body is of type GetPurchases.

Request Body Parameters

NameDescriptionData Type
 PurchasesFilter
 xml:int
 xml:int
maxRecords Element offset Element ModifiedSinceDateTime Element EslProductsOnly Element CalculateProfit Element UseStrictModeForCandidateKeys Element ItemId Element CollectionParentBarcode Element CollectionBarcode Element DisplayAssortmentForStoreTypeDifferentationId Element SeasonProfileId Element IsActiveOnly Element Source Element PurchasePriceGroupAssignedOnly Element IsCancelledOnly Element IsAvailableForOrderingOnly Element IsPreferredSupplierRowOnly Element PurchaseContentUnitToConsumerUnitFactor Element PurchaseContentUnitPackageId Element PurchaseContentUnitDimensionId Element PurchaseUnitToPurchaseContentUnitFactor Element PurchaseUnitPackageId Element PurchaseUnitDimensionId Element MinimumOrderQuantity Element OrderMultiplier Element PurchaseUnitBarcode Element OrderCode Element PurchasePriceGroupId Element SupplierId Element ProductId Element ExternalCode Element Sequence filter Element Sequence GetPurchases Element

Overview

Sequence
Sequence
ExternalCode optional xs:string
ProductId xs:int
SupplierId xs:int
OrderCode optional xs:string
OrderMultiplier xs:decimal
ItemId xs:int
CalculateProfit xs:boolean
offset xs:int
maxRecords xs:int
Response (GetPurchasesSoapOut)

The response body is of type GetPurchasesResponse.

Response Body Parameters

NameDescriptionData Type
 ArrayOfViewPurchaseInfo
PurchaseDetailInfo Element IsCancelled Element IsAvailableForOrdering Element IsCollection Element CollectionParentProductId Element CollectionProductId Element StatusDescription Element StatusCode Element SeasonProfileDescription Element PurchaseAssortmentDescription Element ConsumerUnit Element Email Element Fax Element Telephone Element PurchaseContentUnitPackageDescription Element PurchaseContentUnitDimensionDescription Element PurchaseContentUnitPackageShortDescription Element PurchaseContentUnitDimensionShortDescription Element PurchaseUnitPackageDescription Element PurchaseUnitPackageShortDescription Element PurchaseUnitDimensionDescription Element PurchaseUnitDimensionShortDescription Element LowestSingleUnitPurchasePrice Element NetProfitPrice Element NetProfitPercentage Element GrossProfitPrice Element GrossProfitPercentage Element PurchasePriceGroupDescription Element SupplierGeneralName Element SupplierNumber 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 ViewPurchaseInfo Element Sequence GetPurchasesResult Element Sequence GetPurchasesResponse Element

Overview

Sequence
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
SupplierGeneralName optional xs:string
GrossProfitPrice xs:decimal
NetProfitPrice xs:decimal
Telephone optional xs:string
Fax optional xs:string
Email optional xs:string
ConsumerUnit optional xs:string
SeasonProfileDescription optional xs:string
StatusCode optional xs:string
StatusDescription optional xs:string
IsCollection xs:boolean
IsCancelled xs:boolean
PurchaseDetailInfo optional xs:string
See Also
All Operations Resource GroupProductComponents Web Service