Multi Company Sample - PO

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

Multi Company Sample - PO

Postby Riyaz » Thu Apr 30, 2020 11:08 am

Hi There

The jiwa plugin "Multi Company Sample - PO" has compatibility issues for v7.2.1 and one of clients had been using this plugin and its breaking operations for them now.

I tried to fixed the plugin compatibility and it compiles with the below code, but I get the attached error, can you pls advise.
Attachments
Multi Company Sample-PO.png
Multi Company Sample-PO.png (90.05 KiB) Viewed 516 times
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Multi Company Sample - PO

Postby Mike.Sheen » Thu Apr 30, 2020 12:51 pm

Hi Ryaz,

I've logged issue DEV-8208 to update our standard plugin as part of the next upgrade.

You should be able to get the plugin before the next release - we'll attach the plugin to the issue when done.

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

Re: Multi Company Sample - PO

Postby Riyaz » Thu Apr 30, 2020 12:58 pm

Hi Mike

Thanks for your reply, couple of things

1/ I couldnt setup an account on JIRA as it says too many users, so I can watch this issue

2/ Can I clone this plugin to a custom one for the time being, so that the client is happy for the time being? If so kindly advise on what I'm doing wrong
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Multi Company Sample - PO

Postby SBarnes » Thu Apr 30, 2020 5:14 pm

This should give you the information you need https://docs.jiwa.com.au/display/J7UG/H ... 0+or+later, basically you need to change where the manger gets changed to create a new manager and logon to the other database like this and then use that manager to create you objects and do the work. the following shows a logon and creating the sales order object.

Code: Select all
var manager = new JiwaFinancials.Jiwa.JiwaApplication.Manager();
manager.Logon("MyServer", "JiwaDemo", JiwaFinancials.Jiwa.JiwaODBC.database.AuthenticationModes.JiwaAuthentication, "Admin", password);
manager.BusinessLogicFactory.CreateBusinessLogic<JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder>(null);
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests