Add new Consignment Note
Posted: Wed Sep 28, 2022 10:26 am
JIWA 721..
Keep getting this date error, even though my consign date is formatted correctly. Is this the lastsaveddate giving a problem.
Any suggestions to try?
Code is.
If SalesOrderH.Carrier.ConsignmentNoteCollection.Count = 0 Then
Dim MyConsignNote As New JiwaFinancials.Jiwa.JiwaSales.SalesOrder.ConsignmentNote
MyConsignNote.ConsignmentNoteNo = "LUB" & SalesOrder.InvoiceNo & salesorder.CurrentHistoryNo
MyConsignNote.ConsignmentNoteDate = Date.Now
SalesOrderH.Carrier.ConsignmentNoteCollection.Add(MyConsignNote)
End If