Sales price
Endpoints
Get list of sales prices from S&OP
/processes/{processcode}/sales-prices |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
processCode |
Process code |
string |
Query |
onlyForcedSalesPrices |
Only forced sales prices ? |
boolean |
Query |
page |
Page index |
integer (int32) |
Query |
size |
Entity count per page |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< GetSalesPricesFromSupply > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Get list of sales prices from VIF Forecast
/forecast/companies/{companycode}/establishments/{establishmentcode}/sales-prices |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
companyCode |
Current context company code |
string |
Path |
establishmentCode |
Current context establishment code |
string |
Query |
planCode |
Forecast plan |
string |
Query |
priceTypeCode |
Price type |
string |
Query |
onlyForcedPrices |
Only forced prices ? |
boolean |
Query |
page |
Page index |
integer (int32) |
Query |
size |
Entity count per page |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< GetSalesPricesFromForecast > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/sales-prices/import |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
companyCode |
Current context company code |
string |
Path |
establishmentCode |
Current context establishment code |
string |
Body |
body |
Data structure
GetSalesPricesFromSupply
Sales price data structure for Get.
Name | Description | Value |
---|---|---|
companyCode |
string |
|
establishmentCode |
string |
|
effectiveDate |
Effective date |
datetime (AAAA-MM-JJTHH:MM:SSZ) |
itemCode |
Item code |
string |
customerCode |
Customer code |
string |
groupCode |
Customer group code |
string |
groupLevel |
Customer group level |
integer |
groupValueCode |
Customer group value code |
string |
price |
Price |
double |
currencyCode |
Currency code |
string |
unitCode |
Unit code |
string |
isValidated |
True if sales price is validated |
boolean |
GetSalesPricesFromForecast
Sales price data structure for Get.
Name | Description | Value |
---|---|---|
companyCode |
string |
|
establishmentCode |
string |
|
effectiveDate |
Effective date |
datetime (AAAA-MM-JJTHH:MM:SSZ) |
itemCode |
Item code |
string |
customerCode |
Customer code |
string |
groupCode |
Customer group code |
string |
groupLevel |
Customer group level |
integer |
groupValueCode |
Customer group value code |
string |
price |
Price |
double |
initialPrice |
Initial price |
double |
currencyCode |
Currency code |
string |
unitCode |
Unit code |
string |
planCode |
Forecast plan code |
string |
priceTypeCode |
Price type code |
string |
priceState |
Price state |
string |
ImportSalesPriceList
Name | Value |
---|---|
callback |
string |
data |
ImportSalesPrice list |
parameters |
ImportSalesPrice
Sales price data structure for Import.
Name | Description | Value | Business rules |
---|---|---|---|
companyCode |
string |
2 characters max |
|
establishmentCode |
string |
2 characters max |
|
effectiveDate |
Effective date |
datetime |
AAAA-MM-JJTHH:MM:SSZ |
itemCode |
Item code |
string |
20 characters max |
customerCode |
Customer code |
string |
10 characters max |
groupCode |
Customer group code |
string |
10 characters max |
groupLevel |
Customer group level |
integer |
|
groupValueCode |
Customer group value code |
string |
20 characters max |
price |
Price |
double |
|
currencyCode |
Currency code |
string |
3 characters max |
unitCode |
Unit code |
string |
5 characters max |