Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:extensions:workflowdesigner:tasks:inventory:product_calculations [2015/02/11 12:13] swarnat |
en:extensions:workflowdesigner:tasks:inventory:product_calculations [2021/09/20 00:25] (current) swarnat |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== execute Expression on Products ====== | ====== execute Expression on Products ====== | ||
- | This Task will execute a [[en:extensions:workflowdesigner:custom-functions|custom expression]] you could create. | + | https://manuals.redoo-networks.com/wiki/manuals/view/Workflow%20Designer/Workflow%20Actions/Inventory%20Actions/execute%20Expression%20on%20Products/ |
- | This allows you to calculate for example weight of all related products very easy. | + | |
- | + | ||
- | You also could select which products should be used to execute the expression with a simple condition. | + | |
- | + | ||
- | You could use special variables during the expression, which are loaded from the Inventory Record (Invoice,...) | + | |
- | + | ||
- | | $quantity | Will contain the Quantity of this inventory item | | + | |
- | | $unitprice| Will contain the Unit Price of this inventory item | | + | |
- | | $discount_amount | Will contain the static discount amount of this inventory item | | + | |
- | | $discount_percent | Will contain the percentage discount of this inventory item | | + | |
- | + | ||
- | Also you could access every Field of the used Product Record. | + |