Hello, I am trying to add a new field to the quotes, it is a numeric and a text field. To tell me the type of unit of the product and an additional value.
Not the easiest task but it might be possible. Please check this post:
I have been trying to add (custom) fields from the table AOS_Products_cstm into AOS_Products_Quotes line items .
I have edited line_items.js and the sqs_objects var in the function insertLineItems like so (my custom field is ‘variant_c’ from the table ‘AOS_Products_cstm’):
sqs_objects[“product_name[” + prodln + “]”] = {
“form”: “EditView”,
“method”: “query”,
“modules”: [“AOS_Products”],
“group”: “or”,
“field_list”: [“name”, “id”,“part_number”,“variant_c”, “cost”, “price”,“description”,“c…
Thanks,
BrozTechnologies