SPEnquiry(CustomerCode=String,ProductCode=String,DocumentDate=Date,Quantity=Number): Object
SP Enquiry Web Services function returns the pricing details for a given Customer, Product, Date and Quantity.
SPEnquiry function syntax has these named arguments:
Parameter |
Description |
Customer Code |
Required. The customer code to get the pricing for. |
Product Code |
Required. The product code to get the pricing for. |
Document Date |
Required. The effective date for the pricing. Date must be in the format YYYY-MM-DD. |
Quantity |
Required. The Quantity for the pricing. |
See Web Service Functions for sample code to access Web Services. Sample web service end point syntax is:
Response = MakeCall("SPEnquiry(CustomerCode=ASHENG,ProductCode=BCDRAW,DocumentDate=2018-02-01,Quantity=10)")