My Stuff
Comments
-
This is what i see.
-
Jack Thank you so much!! That has resolved the issue.
-
Hi, the button is showing yes. The dialog alert does not pop up but checking the console log it does show the record ID ok. /** * @NApiVersion 2.x * @NScriptType ClientScript * @NModuleScope SameAccount */ define(['N/record','N/ui/dialog','N/currentRecord'], function (record,dialog,currentRecord) { //var exports = {};…
-
Joahnna Thanks for your response, but still nothing is happening.
-
Jack, many thanks for your reply. Still a little confused. I can see this when hovering the mouse over the Schedule heading. But are you saying that I cannot make this hidden in script? I have a beforeload user event using the 'N/ui/serverWidget' module. I have tried the following var billingschedule = form.getField({id:…
-
OK, thank you, that helps. Now my next issue is on the Billing tab i see the following: How do i reference this to disable it? I can reference the item sublist but cannot see a way to reference the billing sublist. i have tried billing, billinginformation etc but it just errors.
-
OK, I understand. I just wanted 2 form for all users and then switch fields on and off depending on role. But it seems like I will have to use multiple forms now as there is o other way of doing this.
-
Upon clicking the button i want it to copy the credit note record and duplicate it. /** * @NApiVersion 2.1 * @NScriptType UserEventScript */ define([], function () { var exports = {}; function beforeLoad(context) { context.form.addButton({ id: "custpage_wrsaddcopycreditnotebutton", label: "Copy", functionName:…
-
Its the Sales Order form.
-
OK, so as stated, Billing Schedule on Screen Fields-->Billing is set to show. And also under Sublist Fields, it is also ticked. This shows the billing schedule on the line, but not on the Billing tab. When i customise the form and untick the billing schedule from the line. It no longer shows on the line and shows in the…
-
No, no error, just nothing happens.
-
No, they are different fields. If you show/hide them when customising the form, it works fine. But I have tried to replicate this with a workflow and it does not work.
-
We currently do have 2 forms to do exactly this, but wanted to have 1 form and use work flows or script and have it dependant on role as to whether this was shown or not. Tick/untick is the same as show/hide. I suppose i will have to test a script to see if this work as intended as the work flow does not.
-
Thanks for the reply, but what i am looking for is to put a table on the subtab, like this: Date Time Hours Overtime 01/04/2022 08:00 - 18:00 1:00 05/04/2022 08:00 - 19:00 2:00 30/04/2022 08:00 - 19:00 2:00 Something like this.
-
Hi I tried the confirm instead of dialog.confirm and all i see now is [object object] and thats it now.
-
dialog.confirm
-
Mikko I have tried using confirm and the same thing happens,
-
/** *@NApiVersion 2.x *@NScriptType ClientScript */ define(['N/ui/dialog','N/record'], function(dialog,record) { function validateLine(context) { var currentRecord = context.currentRecord; //Reference current line var lineitemdetails = currentRecord.getCurrentSublistText({sublistId: 'item',fieldId: 'item'}) var…
-
I'm using Edge and Chrome. Its a client side script.
-
So basically the portion of the code is below. I can see whats happening in that the forEach is calling the displaymessage function but not waiting. associateditemsarray.forEach(displaymessage) function displaymessage(value,index,array){ var messagebody = { title:"Associated Items", message: 'The item you have just added…
-
Kristoffer Netsuite have confirm that a script is running that is causing this issue. The script comes from the 222420 Effective Date Pricing bundle - it is NetSuite PSG bundle. They have checked the script code. There is a part that is setting buttons with label "Attach" display type to none (button is hidden). They are…
-
Yes does this in Edge, Chrome and Firefox and for all users. I have also created another custom field of the same type and put it on then same subtab and the attach button appears. It seems if 1 field of that type is present the attach button disappears but if another field is there it does not disappear.
-
Kristoffer Thank you for your comments. Yes I am signed in as administrator and the Access Level is set to Edit.
-
Oddly enough the Attach buttons show for a Serialized Inventory Item but not an Inventory Item.