When ever the status is changed / updated in SO need to do some operations, where I can write my code?
Thanks in Advance
When ever the status is changed / updated in SO need to do some operations, where I can write my code?
Thanks in Advance
Hi Bobby,
Override modified method in the form datasource --t> Status field → modified().
if (this.orig().status != this.status)
{
//Your code
}
Regards
Sindhu
Its actually an incorrect solution. The status on salesTable header is always a system update and never get changed manually, so, the modified field will be never called. system does to maintain the consistency between the status update of SalesTable and SalesLine.
Long story short - Your code needs to go in : Classes\SalesTableType\udpateBackStatus method
Hope it work for you.
Pankaj