onInvoiceEditorAddressChanged (event)
Event called when a customer or invoice address is changed or cleared in the invoice editor.
windowHandle number
customerAddressID number
invoiceAddressID number
not applicable
function onInvoiceEditorAddressChanged(windowHandle, customerAddressID, invoiceAddressID)
ui.showNotification("An address was changed in the invoice editor")
app.log("Invoice editor window handle is " .. windowHandle)
app.log("New customer address is " .. customerAddressID)
app.log("New invoice addressID is " .. invoiceAddressID)
end
Event is not called when addresses are copied across using the "<" or ">" buttons.
Generated on the 26 June 2024 at 22:01:30 (UK Time)