setting debtor off hold before process on sales order  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

setting debtor off hold before process on sales order

Postby indikad » Fri Jul 15, 2016 4:20 pm

patch 149

Jiwa by default does not allow to process a order where the debtor is on hold. Therefore I am programatically taking the debtor off hold ( temporarily ) as below.

during SalesOrdForm.SalesOrder.ProcessingStart
I am setting the debtor off hold using the code below
Code: Select all
oSalesOrder.Debtor.AccountOnHold = False


this works ( meaning if the debtor was on hold Jiwa will not complain and will go through with the processing )
Also the debtor master account was unchanged as I see.

Bit of a concern - am I potentially breaking anything behind the scene ?????
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

Re: setting debtor off hold before process on sales order  Topic is solved

Postby Mike.Sheen » Sun Jul 31, 2016 1:46 pm

indikad wrote:Bit of a concern - am I potentially breaking anything behind the scene ?????


Hi Indika,

No, this is safe.

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests