if am using the attach method to attach a file tha...
# suitescript
s
if am using the attach method to attach a file that is created inside script is there a way to not save to file cabinet ?
Copy code
var zplFile = file.create({
				name: `UAE${new Date().toDateString()}.png`,
				fileType: file.Type.PNGIMAGE,
  				encoding: file.Encoding.UTF8,
				contents: labelnode[0]["textContent"],
                 folder: 81708
  });
log.debug({title:"labels",
          details:zplFile})	 											
var fileId = zplFile.save();    
var id = record.attach({
				record: {
				type: 'file',
						id: fileId
							},
							to: {
									type: 'itemfulfillment',
									id: rec.id
										}
										});