on 05-23-2021 9:48 AM
Hi Expert,
We are using CCO manager version 2.10.15, We are trying to add ariticle period base discount - there is not option.
Could you help me.
Hi silambarasan.rajendran,
Instead of "typeCode": "PR" please try the call with "typeCode": "DI"
Instead of "timeDateValidityType": "NONE" please try the call with "timeDateValidityType": "DATE_TIME"
Best regards,
Gunther
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gunther Sandtner,
Now we are able to insert Price discount,When we are trying to update the price value or date we are getting error
{ "id": "TEST501", "result": "error", "message": "ERROR_CODE_PRICE_DISCOUNT_ONLY_ONE_DISCOUNT_PER_ARTICLE_ALLOWED", "code": "15017" }
Price list details passed for updating is
{ "priceListId": "1", "price": 400, "externalId": "TEST501", "typeCode": "DI", "active": true, "discount": 100, "discountPurposeCode": "1000", "validFrom": "2021-05-30T13:38:50.365Z", "validTo": "2021-06-01T13:38:50.365Z", "validFromTime": "10:10:10", "validToTime": "11:10:10", "measureUnitCode": "EA", "timeDateValidityType": "DATE_TIME" }
It is possible to update Price discount in CCO
Thanks in Advance,
Silambu
Hello Gunther Sandtner,
Now we are able to insert Price discount,When we are trying to update the price value or date we are getting error
{ "id": "TEST501", "result": "error", "message": "ERROR_CODE_PRICE_DISCOUNT_ONLY_ONE_DISCOUNT_PER_ARTICLE_ALLOWED", "code": "15017" }
Price list details passed for updating is
{ "priceListId": "1", "price": 400, "externalId": "TEST501", "typeCode": "DI", "active": true, "discount": 100, "discountPurposeCode": "1000", "validFrom": "2021-05-30T13:38:50.365Z", "validTo": "2021-06-01T13:38:50.365Z", "validFromTime": "10:10:10", "validToTime": "11:10:10", "measureUnitCode": "EA", "timeDateValidityType": "DATE_TIME" }
It is possible to update Price discount in CCO
Thanks in Advance,
Silambu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear silambarasan.rajendran,
In order to update the price discount you can send the call PUT/internal/sync/materials/bulk with your updated values. I just tried it with an update on the validity date / time and discount percentage and it worked.
I am not sure what went wrong with your call. The error indicates you tried to insert a second discount to the same article which then failed.
Best regards,
Gunther
Hello Gunther Sandtner,
I Called Material API PUT Method with Price Discount with below details.in
"prices": [ { "priceListId": "SAP", "price": 200, "typeCode": "PR", "active": true, "percentage": 10.0, "discount": 10.0, "discountPurposeCode": "SAP", "validFrom": "2021-05-19T05:46:48.879Z", "validTo": "2021-05-22T05:46:48.879Z", "validFromTime": "10:10:10", "validToTime": "10:10:10", "timeDateValidityType": "NONE" } ],
Its Updated in CCO table PRICEDISCOUNT.But in CCO manager discount tab there is no data added.
And While Sync to CCO Client,Discount Data is not get synchronized and not updating while creating a receipt.
Please help!!
Thanks in Advance,
Silambu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello silambarasan.rajendran,
The Discount tab in the Articles app is currently (as of FP11 and lower) read-only.
So you can only add, update and delete article discounts using the API. See a discussion around this topic here.
Best regards,
Gunther
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gunther Sandtner,
I Called Material API PUT Method with Price Discount with below details.in
"prices": [ { "priceListId": "SAP", "price": 200, "typeCode": "PR", "active": true, "percentage": 10.0, "discount": 10.0, "discountPurposeCode": "SAP", "validFrom": "2021-05-19T05:46:48.879Z", "validTo": "2021-05-22T05:46:48.879Z", "validFromTime": "10:10:10", "validToTime": "10:10:10", "timeDateValidityType": "NONE" } ],
Its Updated in CCO table PRICEDISCOUNT.But in CCO manager discount tab there is no data added.
And While Sync to CCO Client,Discount Data is not get synchronized and not updating while creating a receipt.
Please help!!
Thanks in Advance,
Silambu
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.