My Stuff
Comments
-
This is driving me nuts. I tried adding 'custpage' to my tab IDs = doesn't work I tried adding 'subtabs' to a single main tab = doesn't work var f = nlapiCreateForm('Patient Assessment'); var tab1 = f.addTab('custpage_callhistorytab', 'Call History'); f.addField('aaaaaaa', 'text', 'test', null, tab1); var subTab1 =…
-
OK, I was just being lazy when I couldn't find the information in the documentation. Here's some info: [LIST=1] [*]You DON'T need to set the override flag (good, that would have been lame) [*]You DON'T need to set the body address block, it seems to pull from the default address in the addressbook [*]The newline character…
-
There was a bug in my code. Change: Guard.NotNull(cstmStateId, 'A valid resultFldId is required'); To: Guard.NotNull(resultFldId, 'A valid resultFldId is required'); thankyouverymuch
-
Should be easy No kidding! Worked like a charm and I'm very happy it isn't constrained by columns, but spans the entire region. Very good, very good. Thanks!
-
Hey cool, glad some of them help you. I won't lie, I often update my own questions to save face! :p
-
AH HA! tab {string} - The tab under which to display this field (defaults to the main tab). I was passing an nlobjTab instance, not the id of the tab. I wasn't getting an error, it was just throwing everything on the same tab. I guess this is the default behavior. Either way, I'm good to go now!
-
Thanks for the reply. Does this not provide what you need? It may... :o What I'm attempting to do is return as little data as needed. In particular I only want the line items and possible only specific line items. For example: "Give me the lines from sales order '1234' that have an item of type 'service'" Rather than…
-
I think I have something pretty close to what I want, although without "really" knowing what is being returned I can't be sure I'm saving any effort. var soFilters = new Array( new nlobjSearchFilter(COMMON_FLD.ID, null, 'is', salesOrderId), new nlobjSearchFilter(COMMON_FLD.NAME, 'item', 'isnot', '@NONE@')); var soColumns =…
-
hey yang,I wasn't clear: I am calling this from a client script and it still doesn't work. when I have the code in place it also stops the submit button on my suitelet from working.
-
I suspect that part of what I'm seeing is that inlineHtml fields seem to group together. By starting a new row on my second HTML field I was able to (sorta)get things to work the way I need them too. template based layout would be so nice.
-
Can anyone else confirm if they are able to disable a field on a SuiteLet from a client script? Maybe anyone on 2008? I don't want to jump through the hoops of filing a defect if it's not an issue any longer...
-
I found a more recent thread https://usergroup.netsuite.com/users/showthread.php?t=11818 I tried the solution in this thread and it solved the problem.
-
And this is a bit confusing as well. form.addField('startrowfield','inlinehtml', 'Start'); form.addField('midrowfield','inlinehtml', 'Mid'); form.getField('startrowfield').setLayoutType('startrow'); form.getField('midrowfield').setLayoutType('midrow', 'startcol'); form.getField('startrowfield').setDefaultValue('startrow');…
-
Anyone ever demystify the special, inconsistent treatment of inlinehtml fields and the layout system? I'm a good 4 hours into experimenting TRYING to get an inlineHtml field to display UNDER a select field and I can't make it work, it just flat out insists on starting it's own column. Any help would be greatly appreciated.
-
Yes - we are considering a templating-based approach for building custom HTML pages using Suitelets that would combine free-form HTML markup with markup for embedding dynamic components. However for your particular use case (putting fields on the same row right next to each other), the following snippet may help…
-
Your example works, but not with inlinehtml form.addField('startrowfield','inlinehtml', 'Start'); form.addField('midrowfield','inlinehtml', 'Mid'); form.addField('endrowfield','inlinehtml', 'End'); form.getField('startrowfield').setLayoutType('startrow'); form.getField('midrowfield').setLayoutType('midrow');…
-
form.getField('startrowfield').setLayoutType('startrow'); form.getField('midrowfield').setLayoutType('midrow', 'startcol'); form.getField('endrowfield').setLayoutType('endrow', 'startcol'); Will work, although it's not intuitive that inlinehtml will behave differently.
-
Hi Everyone, This is probably simple, but could someone enlighten me on how to set tab focus through script? What's happening is that I'm changing a field through script on the SHIPPING tab and so the focus leaves the ITEMS tab and ends on the SHIPPING tab. Well, the user will still need to be on the ITEMS tab and I don't…
-
Hi Yang, I just want to make sure I have all this clear (running on 3 hours sleep, things are foggy :p) one quick workaround (and b/c it relies on using system URL parameters it is not guaranteed to work in the future so use it at your own risk From the above quote and the one below: That argument is not supported for…
-
Hmmm... that would be a neat enhancement to automatically support a way of specifying the search ID when you redirect to 'LIST_SEARCHRESULTS'. Please enter an enhancement with support for this. Thanks, Yang Yang, I think I'm missing something. What is the point of the 3rd parameter? Isn't it to specify the id of the…
-
SuiteScript. After calling a saved search I need needed to sort by priority.
-
Just a quick comment; has anyone else run into the irksome problem of not being able to sort tasks on priority due to the use of string keys for the priority values? IE: HIGH MEDIUM LOW H = 1 M = 3 L = 2 Of course you can code around this, but man! Why text?
-
Hi Yang, Thanks, that's what I ended up doing. I had a generic sort function that I use for other records and the task was an exception to due the use of string keys. Thanks for the offering up the help! Have a good weekend.
-
var list = nlapiCreateForm("Sales Orders") should be var list = nlapiCreateList("Sales Orders")
-
Night Owl! 2007 :(
-
Then I had this in my email, not sure why this one shows "<Not Available>" and the log doesn't, maybe it cleaned out what it thought was an HTML tag or something... [SuiteScript exception] Error Code: UNEXPECTED_ERROR Error Data: null Error Ticket: <Not Available> Stack Trace ---------------------------------------------…
-
Yang, Can you please comment on this? I want to create some objects that would benefit greatly if I could extend nlobjRecord to create them. What I don't understand is why this works on the Client (as Matt pointed out) and not on the server. Please help me understand.
-
Out of curiosity, I just tried and it works for me. I should note I simply tested client side on a customer record via Firebug console. Perhaps your test code is attempting to run before the NS library is finished loading? Matt Hi Matt, Good test, I just tried the same in a client script and it does indeed work. As for…
-
It sounds like you are trying to modify one of our existing functions. Is this correct? No, I'm trying to add functionality to one of your classes. In my initial example, I am extended the prototype object of the nlobjRecord - this is not how it will be done in the final version, I will define a new class and use…
-
What account were you in when you threw this error? Can you get the me the error ticket number so that I can look it up? err.getId() Thanks, Yang Error: [SuiteScript exception] Error Code: UNEXPECTED_ERROR Error Data: null Error Ticket: Stack Trace --------------------------------------------- OnBeforeLoad(OnBeforeLoad:43)…