Please Help me out I am new to this. While Clic...
# suitescript
a
Please Help me out I am new to this. While Clicking on Purchase order, I am getting below error
w
Looks like there is a problem with the script 2663_payment_batch_ue.js. It is part of the electronic payment bundle, right?
Copy code
/**
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
 */

/**
 * Revision History:
 *
 * Date        Fixed Issue    Broken in QA Bundle     Issue Fix Summary
 * =============================================================================================
 * 2013/09/19  263190 		  3.00.00				  Initial version
 * 2013/09/27  263190 		  3.00.00				  Add custpage_2663_edit_mode parameter
 */

var _2663 = _2663 || {};

function beforeLoad(type) {
	var params = {'custpage_2663_batchid': nlapiGetRecordId(), 'custpage_2663_edit_mode': type == 'edit' ? 'T' : 'F'};
	nlapiSetRedirectURL('SUITELET', 'customscript_2663_batch_selection_ap_s', 'customdeploy_2663_batch_selection_ap_s', false, params);
}
This is the code in that file in one environment that I have access to.
Weird that it triggers when you try to create a purchase order. It looks like it is only deployed to the record Payment Batch as standard.
a
Hi Tomas
Please help how to fix it
Can we unlock it or delete to resolve the issue
w
Have you looked at the contents of your file compared to what I posted?
If not, try to update the bundle.