Creditor Purchases/ Purchases / Ledger Number  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Creditor Purchases/ Purchases / Ledger Number

Postby Ernst » Wed Mar 30, 2022 7:23 pm

The client wants to allocate Creditor purchases to Vehicle and rep codes, so we have loaded these up to the Job Cost codes for them. They also use it in Journals, cash book payments etc.

But when they choose a Job Cost code on the Creditor Purchases/ Purchases, it blanks out the option to choose the ledger, so they cannot allocate the cost to Fuel/ Vehicle rego etc.

Is it possible in a plugin to make this Ledger column always changeable, even if a Job code is chosen.

We tried it on the demo and it does the same thing. Thx for help.
User avatar
Ernst
Kohai
Kohai
 
Posts: 220
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12

Re: Creditor Purchases/ Purchases / Ledger Number

Postby Ernst » Wed Apr 06, 2022 8:24 am

Any idea on this?
User avatar
Ernst
Kohai
Kohai
 
Posts: 220
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12

Re: Creditor Purchases/ Purchases / Ledger Number  Topic is solved

Postby SBarnes » Sat Apr 09, 2022 7:12 pm

I think your biggest problem is the displayline and displaylines functions are private to the form so for starters and these lock the columns.

You would have to get in behind any event that causes them to be called which be in a fair few places, looking in AddHandlers for the form looks to be about at least 10 events.

But even if you can make that happen I'm not sure that you wouldn't also break the business logic itself in how it is expecting choosing the job number to be chosen to control the outcome at the line level itself.

This one might be a bridge too far in terms of customisations but Scott or Mike would have to confirm that.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Creditor Purchases/ Purchases / Ledger Number

Postby Ernst » Tue Apr 19, 2022 3:32 pm

Thanks Stuart.. We have got a quote from JIWA to do this, just waiting for clients confirmation to go ahead.
User avatar
Ernst
Kohai
Kohai
 
Posts: 220
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 10 guests