Page 1 of 1

setting debtor off hold before process on sales order

PostPosted: Fri Jul 15, 2016 4:20 pm
by indikad
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 ?????

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

PostPosted: Sun Jul 31, 2016 1:46 pm
by Mike.Sheen
indikad wrote:Bit of a concern - am I potentially breaking anything behind the scene ?????


Hi Indika,

No, this is safe.

Mike