CoreBOSBB
[ solved ] error on insert a product in Sales order - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: [ solved ] error on insert a product in Sales order (/showthread.php?tid=1460)



[ solved ] error on insert a product in Sales order - rslemer - 04-05-2019

When any user try created a sales order, not is possible insert any product

when user click on icon, nothing occurs

in console system shows this error

Uncaught ReferenceError: decideTaxDiv is not defined
   at index.php:173
3index.php:157 Uncaught ReferenceError: productPickList is not defined
   at HTMLImageElement.onclick (index.php:157)
4index.php:160 Uncaught ReferenceError: fnAddProductRow is not defined
   at HTMLInputElement.onclick (index.php:160)
11index.php:157 Uncaught ReferenceError: productPickList is not defined
   at HTMLImageElement.onclick (index.php:157)


index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:166 Uncaught ReferenceError: decideTaxDiv is not defined
   at index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:166
10index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:150 Uncaught ReferenceError: productPickList is not defined
   at HTMLImageElement.onclick (index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:150)
5index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:153 Uncaught ReferenceError: fnAddProductRow is not defined
   at HTMLInputElement.onclick (index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:153)
15index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:153 Uncaught ReferenceError: fnAddProductRow is not defined
   at HTMLInputElement.onclick (index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:153)
onclick @ index.php?module=SalesOrder&action=EditView&return_action=DetailView&parenttab=ptab:153

Only user admin can created a sales order

Even I set a ordinary user with admin, system not allowed user created a sales order

How I can solve that?


RE: error on insert a product in Sales order - joebordes - 04-05-2019

I can't seem to be able to reproduce it. The missing functions are in Inventory.js, see if there is some error in that file, some modification you may have there that breaks the javascript and stops it from loading.


RE: error on insert a product in Sales order - rslemer - 04-05-2019

Solved, with apply all itens in Business Map