Hello everyone,
I have one requirement , I have one customized field in salesParmTable i.e. ABC. I want to set my Customized field(ABC), as soon as i click on "Post Packing Slip" Button and my PackingSlipFOrm(SalesEditLines) form will get open.
I have placed that custom field on my form. So when that form will get open so my Custom field should have value, but only when i am doing packing slip for CreditNote(Negative Qunatity).
So, now my concern is how to set Value in my CustomField of SalesParmTable.
As, i debugged the code, and i found 1 class(SalesFormLetterParmData) and method(createParmLineRecord). As, this method used to create data in SalesParmLine. So i create COC for this class method, and after "next" i wrote If condition to check whether "DeliverNow" field of SalesParmLine Table is less than 0(Negative). But then i have to updateSalesParmTable. But i am not getting SalesParmTable at this method. i write below code to check for salesParmTable at this COC method.
select salesParmTable
where salesParmTable.ParmId == _salesParmLine.ParmId
&& salesParmTable.TableRefId == _salesParmLine.TableRefId;
Here we are getting _salesParmLine, but now i need salesParmTable also.
If my approach is wrong, please suggest me something.
Thanks in advance.


Report
All responses (
Answers (