BrianRoyal / CNR2Automation

CN R2 Automation Project
0 stars 0 forks source link

Error message when posting PO 4000-50637 on UAT-MS #11

Open carlahawley opened 7 years ago

carlahawley commented 7 years ago

image

Error message when posting PO 4000-50637 on the UAT-MS company (test store server)

techdotcom commented 7 years ago

Price rules process is throwing this error and keeping it from posting. I've disabled the call to price rules for the moment while I troubleshoot what is happening. I was able to post an order like this with no error with price rules disabled.

techdotcom commented 7 years ago

ok, it would appear that the built in price rules code checks for unit alt values to be set for the item. when there are none it raises an error.

techdotcom commented 7 years ago

The fix for this is in UAT now. The sell_unit flag is manually set to 0 when the item does not have an ALT_1_UNIT entry, when setting up work data for the pricing rules to apply.

BrianRoyal commented 7 years ago

Carla, can you retest this? I'm getting positive results when re-creating your example. Thanks! Brian