To add more complexity to this issue. If I take the table out of the tab set then the table loads for everyone. There are no rendering conditions on the tab.
It seems the culprit is an inline snippet although I am not sure how. I have printed the snippet below in case some one that knows more than me can see the connection.
(function(skuid) { var $ = skuid.$; $(document.body).one('pageload',function(){ var model = skuid.model.getModel('Invoice');//get Model var row = model.getFirstRow(); var purchaser = row.SCMC__Sales_Order__r.SCMC__Customer_Quotation__r.SCMC__Customer_Account_Contact__r.Name; var purchaserContact = row.SCMC__Sales_Order__r.SCMC__Customer_Quotation__r.SCMC__Customer_Account_Contact__r.Phone; if (row.SCMC__Sales_Order__r.SCMC__Customer_Quotation__r != 'undefined' & row.AC_Print_Purchaser__c === 'undefined' || row.AC_Print_Purchaser_Contact__c === 'undefined') { var printPurchaser = row.AC_Print_Purchaser__c; var printPurchaserContact = row.AC_Print_Purchaser_Contact__c; } console.log(purchaser); console.log(purchaserContact); console.log(printPurchaser); console.log(printPurchaserContact); model.updateRow(row, { AC_Print_Purchaser__c: purchaser, AC_Print_Purchaser_Contact__c: purchaserContact, }); model.save(); }); })(skuid);<br />
Do your users have permission to save the Invoice model (and Edit the two fields you are updating)?
Yes the users have permission to save the invoice and edit the other two fields.
There’s a missing ampersand in the main if statement, that might be it