ProductComponents Web Service
Method/GetDefaultPurchaseRow
ProductComponents Web Service > All Operations Resource Group : /GetDefaultPurchaseRow (Method)
Description
The GetDefaultPurchaseRow function returns the default purchase info row to use based on a number of BI rules.
Request (GetDefaultPurchaseRowSoapIn)

The request body is of type GetDefaultPurchaseRow.

Request Body Parameters

NameDescriptionData Type
 xml:int
 xml:boolean
 xml:int
supplierId Element isPreferredSupplierOnly Element productId Element Sequence GetDefaultPurchaseRow Element

Overview

Sequence
productId xs:int
supplierId xs:int
Response (GetDefaultPurchaseRowSoapOut)

The response body is of type GetDefaultPurchaseRowResponse.

Response Body Parameters

NameDescriptionData Type
 PurchaseInfo
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 GetDefaultPurchaseRowResult Element Sequence GetDefaultPurchaseRowResponse 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
See Also
All Operations Resource GroupProductComponents Web Service