Hi, I'm using suitescript to create a transaction ...
# suitescript
b
Hi, I'm using suitescript to create a transaction record (journal) from a custom record. Within the custom record is the files section with a file attached. Given the id of a file I am able to save the file link onto the transaction record, but how would I go about getting the file id from the custom record ? thanks.
e
try
myCustomRecord.getLineCount({sublistId:'mediaitem'}))
That's the sublist you'll need to access