AL
AL copied to clipboard
Report 1302 - Standard Sales - Pro Forma Inv ( TWO triggers)
Report 1302 - Standard Sales - Pro Forma Inv We need 2 triggers,
- Filter the record
- Replace the net amount with parent amount.
In Line - OnPreDataItem() right after SETRANGE(Type,Type::Item); we need trigger which takes (Header,Line) as parameters and both are VAR so that we can filter the
items. Please find the screen shot below
In Line – OnAfterGetRecord() right after Item.GET("No.");we need trigger which takes (Header,Line) as parameters and both are VAR so that we can replace the net amount with parent amount. Please find the screen shot below
