0
Hi i am getting this error:Function is not defined: printAndSaveRecord(node,string) at line 1, column 58for this code:importFile(this, printAndSaveRecord(this, "Itemised C/S"), SURNAME + " QUOTE.pdf") + alert("QUOTE: CREATED") + printRecord(Id, "Itemised C/S")Does anyone know why?
importFile(this, printAndSaveRecord(this, "Itemised C/S"), SURNAME + " QUOTE.pdf") + alert("QUOTE: CREATED") + printRecord(Id, "Itemised C/S")
2 replies
-
It looks like that the "alert" and "printRecord" functions are part of "importFile".
Try this:
importFile(this, printAndSaveRecord(this, "Itemised C/S"), SURNAME + " QUOTE.pdf");
alert("QUOTE: CREATED");
You don't need "printRecord" again since you did it already with "printAndSaveRecord"
-
It looks like that the "alert" and "printRecord" functions are part of "importFile".
Try this:
importFile(this, printAndSaveRecord(this, "Itemised C/S"), SURNAME + " QUOTE.pdf");
alert("QUOTE: CREATED");
You don't need "printRecord" again since you did it already with "printAndSaveRecord"
Content aside
- 5 yrs agoLast active
- 2Replies
- 1737Views