Page 1 of 1

Trying to add/ change Sales Order Journal

PostPosted: Thu Mar 30, 2023 3:02 pm
by Ernst
Hi, In JIWA 721 is it possible to add lines to the end of the sales order journal that has been generated.
Client want to 2 freight cost lines and also change the debtor freight line depending on logic.

Ive tried this code as per below to get to it. But get a Compiler Error: Type Expected? The Types look good to me??

I can load up a full plugin.

Public Sub Setup(ByVal JiwaBusinessLogic As JiwaApplication.IJiwaBusinessLogic, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaBusinessLogicPlugin.Setup
If TypeOf JiwaBusinessLogic Is JiwaSales.SalesOrder.SalesOrder Then
Dim salesOrder As JiwaSales.SalesOrder.SalesOrder = DirectCast(JiwaBusinessLogic, JiwaSales.SalesOrder.SalesOrder)
AddHandler salesOrder.Process_DebtorTransactionsStart, AddressOf Process_DebtorTransactionsStart

Private Sub Process_DebtorTransactionsStart(ByVal SalesOrder As JiwaSales.SalesOrder.SalesOrder, ByRef DebtorTransactions As system.Collections.Generic.List(Of JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder.DebtorTransaction ), ByRef JournalSets As system.Collections.Generic.List(Of JiwaFinancials.Jiwa.JiwaJournalSets ))

Compiler Error: Type Expected?

Re: Trying to add/ change Sales Order Journal

PostPosted: Thu Mar 30, 2023 3:04 pm
by Mike.Sheen
Ernst wrote:Hi, In JIWA 721 is it possible to add lines to the end of the sales order journal that has been generated.


Post the question in the Jiwa 7 forums and find out!

You've posted this in the version 6 forums.

Re: Trying to add/ change Sales Order Journal

PostPosted: Thu Mar 30, 2023 4:30 pm
by Ernst
OK Moved to JIWA7