Script for creating the Customer Statement PDF Endpoint using the encrypted parameters.

The following script can be used for the endpoint for displaying the customer statement PDF from externally using the encrypted parameters. The parameters are encrypted using the XOR algorithm. /**  * @NApiVersion 2.1  * @NScriptType Suitelet  */  define([‘N/render’, ‘N/search’],  /** * @param{record} record * @param{render} render * @param{format} format * @param{search} search */  (render, search)… Continue reading Script for creating the Customer Statement PDF Endpoint using the encrypted parameters.

Script for creating the Endpoint for Invoice PDF using the encrypted parameters

The following script can be used for the endpoint for displaying the Invoice PDF from externally using the encrypted parameters. The parameters are encrypted using the XOR algorithm. /**  * @NApiVersion 2.1  * @NScriptType Suitelet  */ define([‘N/render’],     /**  * @param{render} render  */     (render) => {         /**  … Continue reading Script for creating the Endpoint for Invoice PDF using the encrypted parameters