/
Hide Customer Input Parameter for Quote Line Item
Hide Customer Input Parameter for Quote Line Item
If you want to hide the "Customer" input parameter on a quote line item, you cannot use the function api.customer("attr name")
. Instead, you must use api.customer("attr name", "customer id")
, with the "customer id" defined. (If it was empty, the system would ask for it.)
Example
def customerId = api.input("Customer") if (customerId) { return api.customer("SALESORG",customerId) } else { return }
The api.input()
does not trigger the input box creation.
Related content
Pass Values between Quote Header Logic, Configurator and Line Item Logic
Pass Values between Quote Header Logic, Configurator and Line Item Logic
Read with this
How to Create Quote Line Items from Header Logic
How to Create Quote Line Items from Header Logic
More like this
How to Update and Save Header of Approved Quotes
How to Update and Save Header of Approved Quotes
Read with this
How to Hide, Disable or Make Required Fields/Buttons
How to Hide, Disable or Make Required Fields/Buttons
More like this
How to Do Calculations on Quote Header Level
How to Do Calculations on Quote Header Level
Read with this
How to use api.parsableInputFile() input?
How to use api.parsableInputFile() input?
More like this
Found an issue in documentation? Write to us.