Get Stock Availability
Definition
Service Location: https://gateway.pharmx.com.au/Gateway3/DocumentManagement.asmx
Method Name: GetStockAvailability
Retrieves stock availability by location for a set of products for a given supplier.
The request only supports a single supplier account. Products must be grouped by supplier/account number and each group requires its own request.
Parameters
userDetail
UserDetail
User credentials to authenticate the request.
stockAvailabilityRequest
StockAvailabilityRequest
The list of products for a given supplier account to check stock availability for.
Returns
GetStockAvailabilityResult
ActionResult
A single GetStockAvailabilityResponse document will be returned in the Documents
.
Remarks
The PharmX gateway will retrieve stock availability from PharmX Content Information System (CIS) or will forward a stock availability request to the wholesaler.
Due to load concerns expressed by wholesalers, the number of requests will be limited by the gateway per user; consequently this functionality should be implemented with careful consideration and used in the most appropriate circumstances only. Examples might include:
An order is to be placed for an item recently out-of-stock, in this circumstance the POS system should request availability after the order has been finalised but before it is sent and consequently provide feedback to the operator.
An order is to be placed for an infrequently ordered item.
An order is to be placed for a high value item.