skip to Main Content

Javascript – Error using suiteanswer suggestion to combine multiple invoice pdfs into one and email

I am getting an error when deploying the following script function sendSevaredentEmails(){ var sResult = new Array(); sResult = nlapiSearchRecord('transaction','customsearch1899'); //load an existing transaction saved search or create a search var xml = "<?xml version="1.0"?>n<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">n"; xml…

VIEW QUESTION

NetSuite PHP Toolkit: Close Sales Order? (Invalid orderstatus reference key H)

I'm attempting to close a Sales Order using the following code: <?php $request = new GetRequest(); $request->baseRef = new RecordRef(); $request->baseRef->internalId = $internal_id; $request->baseRef->type = "salesOrder"; $getResponse = $service->get($request); if (!$getResponse->readResponse->status->isSuccess) { $this->updateTaskStatus($task_id, 'error'); $error = "Failed to close order,…

VIEW QUESTION
Back To Top
Search