I have a file watcher creating a cashbook batch from imported data.
- Code: Select all
Do While ...
Dim NewKey = 0
cashBookPayment.AddNewTransaction(JiwaCashBook.CashBookTransactionCollection.TransactionTypes.Other, "", NewKey)
Dim newCashBookLine As JiwaCashBook.CashBookTransaction = cashBookPayment.CashBookTransactions(NewKey)
newCashBookLine.TranDate = System.DateTime.Today
newCashBookLine.RemitNo = "Card Purchases"
' etc ... etc ...
Loop
A new requirement is to now add a job number. I can simply:
- Code: Select all
newCashBookLine.JobNo = CSVJobNo
however, looking in the database after adding a jobno in Jiwa, the line item's JobChargeAmount has been adjusted as well.
So my question ... is there a correct way via Jiwa classes and business logic to implement this?
Cheers,
Neil.

