Page 1 of 1

Jiwa7 - changing values during SalesOrderCreateNewCompleted

PostPosted: Tue Jun 10, 2014 12:03 pm
by indikad
Migrating Jiwa 6.5.13 breakouts to Jiwa7
Trying to change the value of sales order form dropdown list during when a new sales order is started (when debtor is selected) in Jwa 7

infact I am trying to set the Sales Division ( Branch ). I tried to do this in CreateEnd and some other events that I thought would be appropriate - but Jiwa 7does not allow me to change them.
Jiwa 6.5.13 allowed to change the value in the event SalesOrderCreateNewCompleted

I am currently using the event SaveStart in Jiwa7 - but would rather give the customer the same experience he had in 6.5.13.

Re: Jiwa7 - changing values during SalesOrderCreateNewComple  Topic is solved

PostPosted: Tue Jun 10, 2014 10:02 pm
by Mike.Sheen
indikad wrote:Migrating Jiwa 6.5.13 breakouts to Jiwa7
Trying to change the value of sales order form dropdown list during when a new sales order is started (when debtor is selected) in Jwa 7

infact I am trying to set the Sales Division ( Branch ). I tried to do this in CreateEnd and some other events that I thought would be appropriate - but Jiwa 7does not allow me to change them.
Jiwa 6.5.13 allowed to change the value in the event SalesOrderCreateNewCompleted

I am currently using the event SaveStart in Jiwa7 - but would rather give the customer the same experience he had in 6.5.13.


Hi Indika,

You probably want to simply call SalesOrder.Branch.ReadRecord, and pass the BranchID. You can to this on a CreateEnd handler.

Mike

Re: Jiwa7 - changing values during SalesOrderCreateNewComple

PostPosted: Thu Jun 12, 2014 2:28 pm
by indikad
This works. Thanks Mike.