Validation is testing that a record is ready to save. An Invoice must have a Customer.Custom Validation adds tests you have requested. If an invoice has Units of PAL there must be a line item for Pallet Deposit.(7106)