Hi all,
I’m using Suite in version 7.8.1 and i have added 29 custom fields to line_items.js.
Most of the fields come from aos_products after adding a product to the line_items.
All fields are in the AOS_Products_cstm and AOS_products_quotes_cstm available
I added all custom fields to the function insertProductLine into sqs_objects in line_items.js. Also i added them to the innerHTML like this:
var bb = x.insertCell(10);
bb.innerHTML = "<input type='hidden' style='width:1px;' class='sqsEnabled' autocomplete='off' type='text' name='product_manufacturer_c[" + prodln + "]' id='product_manufacturer_c" + prodln + "' maxlength='50' value='' title='' taindex='116' value=''>";
and at least to the function openProductPopup
Everything works fine. All Lines will be saved in the database and all lines are shown up in the Quotes and Invoives as well.
BUT i’m only able to save 10 line items. I can add as much as i want to the Quotes. But after saving the quotes only 10 lines are saved. Also without calculating the totals.
If i add and save only 9 lines, everything works perfekt. Totals will be calculated and all lines are saved in the DB.
If i delete one custom field from the function insertProductLine OR i uncomment one custom line from the innerHTML then im able to save 11 lines. and so on…
First i thought this might be a quite simple problem… But i’m not able to find this error. So maybe one of you are able to help me.