Set as : $$CollamtTotal:InventoryEntries:$DiscAmt [#Object:InventoryEntry] DiscAmt:$amount*$Discount%