StatisticsComponents Web Service
Method/GetProductStatistics
StatisticsComponents Web Service > All Operations Resource Group : /GetProductStatistics (Method)
Description
The GetProductStatistics function returns a ProductStatistics object for the given primary key.
Request (GetProductStatisticsSoapIn)

The request body is of type GetProductStatistics.

Request Body Parameters

NameDescriptionData Type
 xml:int
 xml:int
 xml:dateTime
 xml:dateTime
 BooleanFilter
 xml:boolean
calculateFifoStockValues Element isSaleOnly Element dateTo Element dateFrom Element storeId Element productId Element Sequence GetProductStatistics Element

Overview

Sequence
Response (GetProductStatisticsSoapOut)

The response body is of type GetProductStatisticsResponse.

Response Body Parameters

NameDescriptionData Type
 ProductStatisticsInfo
FifoBatchNumber Element AverageFifoPurchasePrice2 Element AverageFifoPurchasePrice Element FifoStockValue Element TotalUnitsReceivedValue Element TotalUnitsReceived Element StockValue Element OpenReturnsValue Element OpenReturns Element OpenReservations Element OpenSaleOrders Element OpenPurchaseOrders Element CombinationFreeStock Element CombinationStock Element LocationStock Element ShopStock Element FutureStock Element FreeStock Element Stock Element AverageSaleAmountPerDay Element PurchaseValueOfTotalInvoiceSales Element PurchaseValueOfTotalCashSales Element TotalMarginInvoiceSales Element TotalMarginCashSales Element TotalDiscountInvoiceSales Element TotalDiscountCashSales Element TotalWeightedNetInvoiceSales Element TotalNetInvoiceSales Element TotalWeightedNetCashSales Element TotalNetCashSales Element AmountInvoiceSales Element AmountCashSales Element GrossProfitMargin Element GrossProfitPercentage Element ProductId Element Sequence GetProductStatisticsResult Element Sequence GetProductStatisticsResponse Element

Overview

Sequence
Sequence
ProductId xs:int
AmountCashSales xs:decimal
Stock xs:decimal
FreeStock xs:decimal
FutureStock xs:decimal
ShopStock xs:decimal
LocationStock xs:decimal
CombinationStock xs:decimal
OpenSaleOrders xs:decimal
OpenReservations xs:decimal
OpenReturns xs:decimal
OpenReturnsValue xs:decimal
StockValue xs:decimal
FifoStockValue xs:decimal
See Also
All Operations Resource GroupStatisticsComponents Web Service