Script Sample to create a folder under a specified folder.

If you want to create a folder under a parent folder, you have to include N/Record module. Then create a record of type folder. Set the name to the folder. Set the parent of that folder. const createFolder = (name) => { let folder = record.create({ //creating a folder type: record.Type.FOLDER, isDynamic: true, }); folder.setValue(“name”,… Continue reading Script Sample to create a folder under a specified folder.

Delete Files from File Cabinet using Mass Update.

Delete Files from File Cabinet using Mass Update. Navigation Lists>Mass update>choose files>delete file. Delete Files from File Cabinet using Mass Update. Enter the Search criteria to get all files to be deleted. Click on Preview to check the files going to be deleted. Click the checkbox under Apply if you don’t want to consider that… Continue reading Delete Files from File Cabinet using Mass Update.

Saved Search to get Sales orders created in last one Hour.

Create Saved Search of type TransactionUnder the Criteria tab > Standard subtab: Type = is Sales Order Add Formula (Numeric) Field In formula column Enter: (TO_DATE(TO_CHAR({today},’MM/DD/YYYY HH24:MI:SS’),’MM/DD/YYYY HH24:MI:SS’)-TO_DATE(TO_CHAR({datecreated},’MM/DD/YYYY HH24:MI:SS’),’MM/DD/YYYY HH24:MI:SS’))*24 Description : less than or equal to 1Click Save.