This block is similar to the default loop block and could be used in two ways.

  1. Loop through all Products/Services of a Single Inventory records.
  2. Loop through all Products/Services a Product Collection contain

Both ways behave similar and you could access a special $environment variable $env[“product”], which contain the Item Details.

You have access to:

$env Variable Content
$env[“product”][“quantity”] Quantity of Item
$env[“product”][“unitprice”] Unit Price of Item
$env[“product”][“sequence”] Position of Item
$env[“product”][“productid”] Product ID/Service ID of Item
$env[“product”][“discount_percent”] Percentage Discount of Item
$env[“product”][“discount_amount”] Absolute Discount of Item
$env[“product”][“comment”] Comment/Description of Item
$env[“product”][“tax1”] $env[“product”][“tax2”]… Tax of Item One variable for every Tax-value you defined in your vtiger
Enter your comment. Wiki syntax is allowed:
   _  __   __    ___    _  __  ____ 
  | |/_/  / /   / _ \  | |/_/ / __ \
 _>  <   / /__ / ___/ _>  <  / /_/ /
/_/|_|  /____//_/    /_/|_|  \____/