Jiwa7 - changing values during SalesOrderCreateNewCompleted  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Jiwa7 - changing values during SalesOrderCreateNewCompleted

Postby indikad » Tue Jun 10, 2014 12:03 pm

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.
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

Re: Jiwa7 - changing values during SalesOrderCreateNewComple  Topic is solved

Postby Mike.Sheen » Tue Jun 10, 2014 10:02 pm

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
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: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Re: Jiwa7 - changing values during SalesOrderCreateNewComple

Postby indikad » Thu Jun 12, 2014 2:28 pm

This works. Thanks Mike.
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 5 guests

cron