Page 1 of 1

Debtor Contact default

PostPosted: Mon May 17, 2021 3:08 pm
by SBarnes
On JiwaFinancials.Jiwa.JiwaDebtors.ContactName there is a default DefaultContact property how is set through the user interface?

Re: Debtor Contact default

PostPosted: Mon May 17, 2021 3:58 pm
by Scott.Pearce
It appears you cannot. In v6 you could via the Contacts form.

Re: Debtor Contact default

PostPosted: Mon May 17, 2021 4:55 pm
by SBarnes
Can it be done in a plugin?

Re: Debtor Contact default

PostPosted: Mon May 17, 2021 4:59 pm
by Scott.Pearce
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.

Re: Debtor Contact default  Topic is solved

PostPosted: Mon May 17, 2021 7:11 pm
by SBarnes
The attached plugin will do it for debtors