Forum Discussion
@skodali Yes I am able to upload file to NetSuite File Cabinet using SnapLogic. But I couldn’t find a way to attach that file with vendor record using SnapLogic even though NetSuite WebServices supports it.
@bjadav Can you share a sample pipeline to upload a PDF file into the NetSuite File cabinet?
I have tried to upload the file but not able to get a successful upload.
When I insert my schema this is what I get.
Could not compile expression: Date.parse($MODDATE,“yyyyMMdd … (Reason: Invalid token: ‘“’ for expression: Date.parse($MODDATE,“yyyyMMdd …; Resolution: Please check expression syntax)
Can you give me the complete expression you are providing and the error as well.
Of course,
expression:
Date.parse($MODDATE,“yyyyMMdd hhmmss”).toLocaleDateTimeString({“format”:“yyyy-MM-dd hh:mm:ss”})Validation errors:
property_map.settings.transformations.value.mappingTable.value[2].expression.value: Could not compile expression: Date.parse($MODDATE,“yyyyMMdd … (Reason: Invalid token: ‘“’ for expression: Date.parse($MODDATE,“yyyyMMdd …; Resolution: Please check expression syntax)
Related Content
- 2 years ago
- 2 years ago
- 11 months ago