Debtor Contact default  Topic is solved

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

Debtor Contact default

Postby SBarnes » Mon May 17, 2021 3:08 pm

On JiwaFinancials.Jiwa.JiwaDebtors.ContactName there is a default DefaultContact property how is set through the user interface?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Debtor Contact default

Postby Scott.Pearce » Mon May 17, 2021 3:58 pm

It appears you cannot. In v6 you could via the Contacts form.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Debtor Contact default

Postby SBarnes » Mon May 17, 2021 4:55 pm

Can it be done in a plugin?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Debtor Contact default

Postby Scott.Pearce » Mon May 17, 2021 4:59 pm

Yes. It looks like the code will read and save the value. So if you set the property, then save the debtor you should be all good. You can check by looking in the CN_Contact table.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Debtor Contact default  Topic is solved

Postby SBarnes » Mon May 17, 2021 7:11 pm

The attached plugin will do it for debtors
Attachments
Plugin Attkey Debtor Contact Default.xml
(40.15 KiB) Downloaded 450 times
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 5 guests