Template Script Writing

A complete list of available Functions from within BizApp JavaScript.

These can be used equally on the Template Script Tab as well as the Scripted Template Inputs

To use these function calls, place 'part.' in front of them. e.g.

part.calculateCostFromQuotedPrice() or var qty = part.getMinimumPadding();

*  - void calculateCostByBOM()

*  - void calculateCostFromQuotedPrice()

*  - void calculateCostFromLastReceiver()

*  - void calculateCostFromRecentReceiverAverage()

*  - void calculateCostFromFIFO()

*    - void setRollCost(boolean value)

*  - void setFutureCostSameAsCurrent(boolean trueOrFalse)

*  - void setName(String name)

*  - void setDescription(String desc)

*  - void hasSubPart(String symbol)

*  - String getConfigText(String symbol)

*  - Quantity getConfigQuantity(String symbol)

*  - double getConfigNumber(String symbol)

*  - void hasPartSelected(String symbol)

*  - void setActivated(boolean value)

*  - void setLeadDays(int days)

*  - void setProcessDays(int days)

*  - void setMinimumPadding(double amount, String units)

*  - Quantity getMinimumPadding()

*  - void setPercentagePadding(double percentage)

*  - double getPercentagePadding()

*  - String getTemplateNames()

*  - String getTemplateSymbols()