My Stuff
Please note that on Friday, September 19, 2025, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Comments
-
Hello @Richard James Uri-Oracle, So far we had to get rid of the guest checkout, inactivate the scammer's lead records and that seems to have prevented them from doing more damage.
-
Hello @Richard James Uri-Oracle NS Support recommended the following: Taking the site down for maintenance Workflow Set customer role sales order permission from 'edit' to 'none' Set website type of registration from 'optional' to 'existing customers only' I would have to test these in the sandbox first before taking…
-
Hello @Niks Blando-Oracle, It appears that for this, we have to edit SuiteCommerce Advanced and access the GoogleTagManager.js Per SAID 44317, we download SCA from the SSP applications folder and then proceed to Advanced > Google Tag Manager > JavaScript
-
Hello @Nicole Mendoza-Oracle, It doesn't seem that prepending works, I can't source the #body ID. I'll follow the other route.
-
Hello @Nicole Mendoza-Oracle, I read the article and I felt that this is not the appropriate way in our environment, im going to try a prepend method to see if I can get the message to display that way.
-
Hello @Nicole Mendoza-Oracle, I just implemented the N/ui/message module, and defined it is 'message' I created a beforeSubmit const, but it does not seem to be triggering. define(['N/record', 'N/currentRecord','N/log','N/search','N/ui/message'], (record,currentRecord,log,search,message)=>{ const cMsg = (context)=>{…
-
Hello @Nicole Mendoza-Oracle, due to reps having to wait less than a minute on some intervals, would it be possible that after submitting, I can add a message above the PO? Similar to the confirmation message after a successful submission, but I would use a warning color and indicate that a progress is commencing and to be…
-
Hello @Nicole Mendoza-Oracle Was this for the comment I deleted? I found that I had the "save" const saved without the for function, so it would save the invoice after updating the first item. It's since been corrected, thanks!
-
Hello @Angelica Mae Segador-Oracle, Is this currently still an enhancement request? I was looking to do the same thing.
-
Hello @Nicole Mendoza-Oracle and @User_ZCWF3 Thanks! looked like I had an extra bracket, this did it thanks!
-
I think I did that, and got this error: Error: CLOSED_TRAN_PRD The G/L impact of a transaction in a closed period cannot be changed. const invoiceSearch = search.create({ type: search.Type.INVOICE, filters: [['createdfrom', search.Operator.ANYOF, salesOrderId,"AND",["mainline","is","T"]]],columns: ['internalid']}),…
-
Hello @User_ZCWF3 I did this, and I was still getting duplicate ids pulled const invoiceSearch = search.create({ type: search.Type.INVOICE, filters: [['createdfrom', search.Operator.ANYOF, salesOrderId]],columns: ['internalid'], and: ["mainline","is","T"]}), invoiceResults = invoiceSearch.run().getRange({ start: 0, end:…
-
Thanks for the update! I ran that and had to relocate my save const after. While this does now allow me to do what it needs to do, it seems to pull the invoices multiple times. Each invoiceID, was pulled and updated 7 times each. It's causing latency issues it seems. Might this have to do with my range?
-
Hello @Nicole Mendoza-Oracle I was successful in deflecting work orders from being loaded. I was able to get the object value and then create the statement to return true if the source is a work order. var tranType= transactionLookup.type[0], tranTypeV = tranType['value']; log.debug("Transaction Type", tranTypeV);…
-
Hello @Nicole Mendoza-Oracle , Sorry for the late response. I tried the code out and I got the following output in the logs. {"value":"SalesOrd","text":"Sales Order"} Before I got the invalid trans typ error from NS on the WO. I was able to get the data fetched. {"value":"WorkOrd","text":"Work Order"} I'm looking for a way…
-
Hello @Nicole Mendoza-Oracle, I tried a conditional statement, but no success. if (context.error && context.error.name === 'INVALID_TRANS_TYP') { return true; } I am not sure how I can catch the error, is there a way for me to say if salesOrderRecord is invalid, then re-run the var as a work order? I did try this and no…
-
Hello @Nicole Mendoza-Oracle See below: Been trying the validation method, but I cannot seem to get the record type. Unless I have to specify the context. salesOrderRecord.Type.WORK_ORDER /** * @NApiVersion 2.1 * @NScriptType UserEventScript * @NModuleScope SameAccount */ define(['N/record', 'N/currentRecord','N/log'],…
-
Hello @Nicole Mendoza-Oracle , Ive been looking for a try/catch sample to reference but I couldn't seem to find it I am currently trying the validation method. I am trying to get the record type, haven't had any luck with that. var RType = record.load({ type: record.Type }); log.debug('RType',RType);
-
Hello @Nicole Mendoza-Oracle I got it! I set it up to where if the name is not equal to 0, to select the line. if (name != 0) { const lineNum = salesOrderRecord.selectLine({ sublistId: 'item', line: i }); } else { return true; }
-
Hello @Nicole Mendoza-Oracle I was able to get a workaround for when the sales order loads. if (name === 0 || PO === 'SpecOrd' || PO === 'DropShip') { currRecord.cancelLine({sublistId: 'item', line: i}); return true; } This will prevent the popup message and also cancel out the end of group item. I am having an issue with…
-
Hello @Nicole Mendoza-Oracle Thanks for the update. I'll see if I can work around it and get them closed somehow. What about for end of group items? If I happen to have an end of group Item, I will get this error message. You cannot edit the end of group line. You must delete the group (end of line group item) In this…
-
@Richard James Uri-Oracle With "type" being a required load field, I can only specify what type of order to load. In this case, a Sales Order. I tried to log debug the record.load var, but I would get the INVALID_TRANS_TYP error and none of my debug logs would be recorded. Is there a way for me to tell the script what to…
-
Hello @Richard James Uri-Oracle No problem, Am I able to pull the record type from the createdfrom value? If I can't do this, then I have to catch the error. I have the error module ready to use on my script and I know the exact error that will continue to occur.
-
Hello @Richard James Uri-Oracle I actually stumbled upon that article when I began researching the error. But the code is over 10 years old. The solution seemed to have been pulling the wrong ID, in this case, my const could be the issue, as I specify the sales_order. I was thinking that I may need to further customize the…
-
Hello @Richard James Uri-Oracle , I seem to get an INVALID_TRANS_TYP error when special order POs are generated from a work order. Since my var requests only sales orders, I don't need to reference other order types. Is there a way I can tell the script if error is INVALID_TRANS_TYP, then return? I tried adding the…
-
Hello @Richard James Uri-Oracle I figured it out, after I set the value, I must commit after. Once committed, I set he command to save the record and the values are changed! /** * @NApiVersion 2.1 * @NScriptType UserEventScript * @NModuleScope SameAccount */ define(['N/record', 'N/currentRecord','N/log'],…
-
Hello @Richard James Uri-Oracle I read through the save and save.promise articles and it appears that I am unable to use the save method. This method is not available to subrecords. Is there another method I would need to use?
-
Hello @Richard James Uri-Oracle It appears that I needed to add isDynamic, once I added it the record loaded. const salesOrderRecord = record.load({ type: record.Type.SALES_ORDER, id: salesOrderId, isDynamic: true }); In the Application Suite, they labeled this an optional value. I did not consider this an option, and…
-
Hello @Richard James Uri-Oracle I added the log.debug, but I still ran into the same error after creating a special order PO. TypeError: Cannot read property 'SALES_ORDER' of undefined [at Object.UpdateSO (/SuiteScripts/Commission-PO-Update-SO.js:17:26)] If salesOrderRecord is appearing as undefined, then the script won't…
-
Hello @Richard James Uri-Oracle Awesome! so it looks like that the Order ID is coming over, I looked at the execution log and got the ID 1199381, which is the internal ID of the SO im referencing. But I got the same error, TypeError: Cannot read property 'SALES_ORDER' of undefined I reviewed the Oracle doc and it appears…