Pman.Dialog.XtupleTransfer.js
},
{
"listeners": {
- "beforeload": "function (_self, options)\n{\n options.params = options.params || {};\n\n if(_this.data.cust_to_internalcompany.length){\n this.removeAll();\n return false;\n }\n \n var id = _this.form.findField('invhist_transfer_id').getValue();\n \n if(id * 1 < 1){\n this.removeAll();\n return false;\n }\n \n options.params.invhist_transfer_item_invhist_transfer_id = id;\n \n options.params._with_expected = 1;\n \n}"
+ "beforeload": "function (_self, options)\n{\n options.params = options.params || {};\n options.params.limit = 9999;\n if(_this.data.cust_to_internalcompany.length){\n this.removeAll();\n return false;\n }\n \n var id = _this.form.findField('invhist_transfer_id').getValue();\n \n if(id * 1 < 1){\n this.removeAll();\n return false;\n }\n \n options.params.invhist_transfer_item_invhist_transfer_id = id;\n \n options.params._with_expected = 1;\n \n}"
},
"*prop": "dataSource",
"remoteSort": true,
beforeload : function (_self, options)
{
options.params = options.params || {};
-
+ options.params.limit = 9999;
if(_this.data.cust_to_internalcompany.length){
this.removeAll();
return false;