Sandy Blondino
16th September 2011, 21:53
Hello everyone,
I'm a bit confused about the behaviour of a session and a DAL. The session in question is tdsls4122m000 Change Prices and Discounts after Delivery. The DAL is for table tdsls401.
I'm writing a program that calls the DAL for tdsls401 to change the price on a sales order line. The error I'm getting is "tdsls401.pric not valid" when I run the script. It's an integer value, so I'm pretty sure it's correct.
What I'm confused about is when I run the tdsls4122m000 manually and change the price for the same order/line/seq as I have in my program script...it works.
Also, another confusing point is when I try to change the tdsls401.pric using GTM, I get a totally different error message.."warehouse outbound line ...cannot be modified". This error at least makes more sense than the error I get when I run the script with the DAL.
Is the business logic in the DAL that much different from the business logic when using GTM? None of these errors appear when I make the price change uisng the tdsls4122m000 session...the price gets changed.
Does anyone have any thoughts or help?
Thanks,
Sandy
I'm a bit confused about the behaviour of a session and a DAL. The session in question is tdsls4122m000 Change Prices and Discounts after Delivery. The DAL is for table tdsls401.
I'm writing a program that calls the DAL for tdsls401 to change the price on a sales order line. The error I'm getting is "tdsls401.pric not valid" when I run the script. It's an integer value, so I'm pretty sure it's correct.
What I'm confused about is when I run the tdsls4122m000 manually and change the price for the same order/line/seq as I have in my program script...it works.
Also, another confusing point is when I try to change the tdsls401.pric using GTM, I get a totally different error message.."warehouse outbound line ...cannot be modified". This error at least makes more sense than the error I get when I run the script with the DAL.
Is the business logic in the DAL that much different from the business logic when using GTM? None of these errors appear when I make the price change uisng the tdsls4122m000 session...the price gets changed.
Does anyone have any thoughts or help?
Thanks,
Sandy