Script Syntax

Production > Product Configurator > Product configurator definition > Configuration structure > Script Syntax

Top  Previous  Next
Expand/Collapse Toggles

Several programming languages can be used in the Product Configurator script fields.

Existing parameter, which have already been defined in the configurator, can be easily accessed using a placeholder.

 

The SQL formula syntax is set by default.

 

Note:      When using the SQL formula, database accesses may reduce the performance of the configurator window.

 

hmtoggle_plus1SQL Formula
hmtoggle_plus1JavaScript Formula
hmtoggle_plus1JavaScript
hmtoggle_plus1VBScript-Formel
hmtoggle_plus1VBScript
hmtoggle_plus1DW Syntax

The following standard parameters are available.

 

Note: Not supported in WEB Configurator.

 

Parameter Name

Description

cprice

Price from a price list (only for the Price calculation field)

cpricequantity

Calculated quantity for this item (tab Price - field Quantity)

Product_Config_Price_2022.09

cpricetotalquantity

Calculated quantity (= tab Price - field Quantity) * Quantity from sales order or quotation  
Product_Config_Price_2022.09

cpricelist

Price list defined in Configuration Header

configpricelistdefinition

currentuser

Current user

cardcode

Business partner from the sales order or quotation

cquantity

Quantity from the sales order or quotation

cdocdate

Date from the sales order in "yyyymmdd" format, example 20220503 for the date 2022/05/03

cshortvariant

Short variant A-Z from sales order or quotation


Help URL: https://help.beascloud.com/beas202402/index.html?config_syntax.htm