Use These Details and save the invoice
Understand what the modal confirmation does before the final invoice submit.
Exact navigationAdmin Area → Invoices → New Invoice → Delivery Note Details → Use These Details → Save
What this guide covers
Understand what the modal confirmation does before the final invoice submit. This guide follows the supplied Delivery Note module’s live hooks, controller actions, model rules, views and stored side effects.
Exact step-by-step process
- Complete the modal.
- Select Use These Details.
- Check that Add Delivery Note is now selected.
- Review the invoice and delivery details together.
- Submit the invoice once.
- Follow the saved-invoice Delivery Note action to verify the result.
Fields, choices and supported possibilities
- Modal values are copied to hidden fields
- Checkbox state authorises note creation
- Invoice submit remains the single persistence action
Code-backed validations and workflow rules
- Use These Details does not create the note by itself.
- The module captures its values and strips them from the invoice data before core invoice persistence.
- The note is created only after the invoice-add hook receives the new invoice ID.
Expected result and verification
- One invoice and, when selected, one linked open Delivery Note are created without contaminating the core invoice payload.
Checks, security and troubleshooting
- Avoid repeated submits; verify the resulting invoice and note before retrying.
Stay within the supported flowDo not force database values, expose secure tokens, bypass permission checks, replace a stored signature or invent a status or interface that the supplied code does not implement.
