Akbeard
02/20/2018, 8:27 PMalien4u
02/20/2018, 8:28 PMAkbeard
02/20/2018, 8:29 PMAkbeard
02/20/2018, 8:29 PMalien4u
02/20/2018, 8:29 PMalien4u
02/20/2018, 8:31 PMAkbeard
02/20/2018, 8:33 PMAkbeard
02/20/2018, 8:34 PMAkbeard
02/20/2018, 8:35 PMalien4u
02/20/2018, 8:36 PMAkbeard
02/20/2018, 8:38 PMalien4u
02/20/2018, 8:38 PMAkbeard
02/20/2018, 8:38 PMalien4u
02/20/2018, 8:39 PMNSObsessed
02/20/2018, 8:39 PMfunction beforeLoad()
{
nlapiLogExecution('debug', 'x------BEFORE LOAD------x', 'x----------------------x');
current_so_internal_id= nlapiGetRecordId();
var current_user= nlapiGetUser();
nlapiLogExecution('debug', 'Current User:' + current_user, 'Current Sales Order Internal ID:'+current_so_internal_id);
//***********************************************************************************
}
This file is uploaded and script deployed as 'testing' and i can see the execution logs in the UI. Now i just want to debug in Eclipse. I setup the Debug configuration correctly as 'SuiteScript Project' and it points to the folder location of the file. I even put breakpoints. But running it always gives the error: No valide breakpoints found.
I think most likely something is wrong in my debug configuration.alien4u
02/20/2018, 8:39 PMAkbeard
02/20/2018, 8:41 PMalien4u
02/20/2018, 8:41 PMirurzo
02/20/2018, 8:54 PMobjRecord.getSublistValue({line: 3})
we set the line number. I wanna get the qty of an item that is on a sublist but I already know the item id, something like, get me the line item qty on the SO x where item id is 123
alien4u
02/20/2018, 8:55 PMalien4u
02/20/2018, 8:55 PMirurzo
02/20/2018, 8:55 PMirurzo
02/20/2018, 8:55 PMalien4u
02/20/2018, 8:56 PMfindSublistWithValue
alien4u
02/20/2018, 8:56 PMcreece
02/20/2018, 8:58 PMcreece
02/20/2018, 9:00 PMalien4u
02/20/2018, 9:00 PMlineuniquekey
together with the other value you are looking for example itemid
(which may be duplicate...)creece
02/20/2018, 9:01 PMcreece
02/20/2018, 9:01 PM