SuiteCommerce Myaccount error – Internal Error: Please check if the fieldset is created

Page displays error – SuiteCommerce/ SuiteCommerce Advanced Myaccount page

Error displays – Internal Error: Please check if the fieldset is created

Reason for the issue -The MyAccount transaction detail supports about 100 line items. If the customer’s invoice was over 100 lines it would throw a fieldset error because the error msg in the catch is a generic error.

The call consumes 10 usage points per item

Solution

In the transaction model, it reverts to loadWithSuiteScript instead of loadWithStoreITem if the item fields return an empty array.

Add a usage check in the function. If the usage is low, return an empty array and let the item fields get populated with loadWithSuiteScript in the transaction model.

Leave a comment

Your email address will not be published. Required fields are marked *