PdcDeliveryNotes.CheckMoveToHistory
Jump to navigation
Jump to search
Declaration
CheckMoveToHistory() as Boolean
Description
This function calls a standard procedure in PdC which checks if the entire delivery note can be moved to history. If this is the case, it will move the delivery note to history and return true.
Notes
This function is used after saving a sales invoice to check if it is completely invoiced after saving an invoice.
Code example
This is an example where a list of delivery note numbers is used to check if the delivery notes need to be moved to history. This function also moves the delivery note to history if possible.
PDC.App.DeliveryNotes.CheckMoveToHistory(aDelNoteNr)
Availability
Available since August 2020 (From version 5.6)