Multi debtor sales order/invoice  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Multi debtor sales order/invoice

Postby DannyC » Thu Nov 02, 2017 4:50 pm

Version 7.1.
I've had a doozie asked today.
I wonder if it is possible to split up a sales order to different debtors?

So the scenario is, this client is in a sector where funding for their invoices may come from different sources.
When they raise a sales order, let's say it's for $10,000 then $5,000 may be paid for by DebtorA, $3,000 by DebtorB, and $2,000 by DebtorC.

In 6.5.13, they've been creating separate sales orders but as I am in an upgrade project for them I wonder if it might be possible in 7.1?
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30

Re: Multi debtor sales order/invoice

Postby SBarnes » Thu Nov 02, 2017 6:51 pm

Hi Danny,

The closest thing that I am aware of is Process_DebtorTransactionsStart on the sales order that is available in 7.01.00 it has the signature

Code: Select all
public void Process_DebtorTransactionsStart(JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder SalesOrder, ref List<JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder.DebtorTransaction> DebtorTransactions, ref List<JournalSet> JournalSets)


and you apply it as

Code: Select all
salesorder.Process_DebtorTransactionsStart += Process_DebtorTransactionsStart;


This will do what you are asking but only against the same debtor.

You could then theoretically after the processing of the sales order then credit the broken up transactions and move them to another debtor through debtor transactions in the background but it would be messy.

This all I can think of unless Mike or Scott have a better idea.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Multi debtor sales order/invoice  Topic is solved

Postby Mike.Sheen » Fri Nov 10, 2017 11:04 am

DannyC wrote:I wonder if it is possible to split up a sales order to different debtors?


Nope.

DannyC wrote:So the scenario is, this client is in a sector where funding for their invoices may come from different sources.
When they raise a sales order, let's say it's for $10,000 then $5,000 may be paid for by DebtorA, $3,000 by DebtorB, and $2,000 by DebtorC.

In 6.5.13, they've been creating separate sales orders but as I am in an upgrade project for them I wonder if it might be possible in 7.1?


There could be some guidance we can give for working out some processes to achieve this - but we'd need a lot more information about the nature of this - such as how do you define which debtors and what their share of the sales order is, are you shipping physical items and if so how would all that work and so on.

Best to give our support people a call or schedule a meeting if you're really wanting us to assist with this - the scope is broader than just programming so not really something we can address in this forum.
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: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 20 guests

cron