I know the below screen shot is a sales order rather than invoice, but I want this to work for quote, sales order and inv.
Aim
A control which highlights if someone hasn’t keyed the quantity correctly. The problem is we key multiples of the quantity so its not just a case of quantity keyed= unit weight. Needs to be quantity keyed (for Kg unit of sales products only) is a multiple of background weight.
Something like this…
If INVOICE_ITEM.QUANTITY/STOCK.UNIT_WEIGHT doesn’t not equal whole number then make text red. But for Unit of measure per kg products only. Dont know if can write an expression for "whole number"?
E.g in screen shot the bottom item line……. customer wants 3 of the Roofing Topcoat 20kgs. So should key in 60kgs not 3. If this isn’t picked up we’ve under charged someone by 57kgs (£156.75 net) and most likely make a loss on the inv overall.
Dont know if Supplier Unit Qty can be used in some way?
Any help much appreciated or mostly likely there’s better alternatives

Kind regards
Gareth