My Stuff
Comments
-
Can you provide the details from the search? Search type, filters, columns etc?
-
PM Sent
-
Found the answer. Turns out there is an inherited p tag within each of the td elements. So for it to be set via css it would look like this: td p { text-align: left; }
-
Yes you can, However its not quite as simple as using the image tags and referencing the itemurl dynamically via freemarker syntax. The Netsuite version of freemarker builds the document before sourcing any data fields. So if you try to for instance... <td><img src="${item.custol_itemurl}" /></td> You will get an error…
-
Transactions --> Customers --> Individual Statement The statement we get appears to be sorted randomly. How can we make it sort by the description column (which in our case has the invoice number)? -Tom Only way i know to do this is utilizing the freemarker advanced PDF functionality. Provides you almost limitless…
-
nlapiYieldScript should be the number one ask on this board! Map/Reduce is great in certain circumstances but has its own limitations outside of being a giant pain to debug. Many times a process is created as a scheduled script initially because the amount of processing required is not all that complex but 2 months down…
-
Found this same thing a while back stepping through the debugger. I am pretty sure that all 2.0 code is in someway calling the 1.0 version of the API. Its quite odd.... I did not however know how to do 2.0 code in the console before reading this though, so thank you much!
-
starlingMark I think you need to post your afterSubmit code so that it can be read through thoroughly. From the sound of it, you are getting an error in the console when doing a submit field against the integer field that is normally being set via script. Please let us see the UE code, as well as the console submitField…
-
The error message seems to say the opposite though. AHA! I was having the same issue, working on a user event in the context of beforeSubmit on a custom record. I was doing two things: lockrId = rec.getValue('customfield'); lockrIdText = rec.getText('customfield'); I needed both the value and the text for two different…
-
We think alike! But ya, it yells at me! So, hack it is! Its not in the documentation that way, but it wouldnt surprise me if Netsuite incorrectly documented something :) N/currentRecord.get().getCurrentSublistField({sublistId: 'item', fieldId: 'item'}). Only other option I can think of is to get the sublist field with the…
-
The problem is that you are not specifically setting the text-align or align property of the data inside the <td>. It is not well documented at all, but there is an inherited <p> inside of every <td> and <th> cell. What makes it extra confusing is the times like this that the <p> tag is not inheriting its text-align /…
-
Are you certain you have the correct syntax for the field you are attempting to compare? I would suggest first attempting to display this value first just to make sure you have the correct field. Based on the error it seems like the field doesnt exist so you are trying to compare a value to something that is NULL, or falsy.
-
What record are you working from here? Do you have an issue with Name vs Display Name? What prints out if you use simply item.item?
-
I feel it might also have something to do with the interpretations of the underlying xml. From time to time i see booleans treated as 'T' and 'F', other times they are true and false. I haven't yet in the past attempted to compile the evidence into any quantifiable assumptions as to what causes each case, but I will start…
-
Solved. There is an inherited p tag within the td elements which must get set. td p { text-align: left; }
-
I just recently had to write this script on sales orders and work orders to pull in preferred bin. It is quite simple and fortunately the user doesnt have to be bothered with seeing the 'Preferred Bin' field on the sales orders lines section. After adding the custom column field, and after testing that your UE script is…
-
We use the simple projects functionality to track and invoice time against jobs. I've modified one of the sample Advanced PDF Invoice templates reasonably successfully, however am having trouble getting just the project name to appear on the PDF. The field that I've found is "entity" which appears in the XML structure as…
-
You must call out how to sort in the freemarker syntax of the advanced PDF. You can absolutely sort the order.Example..... <#list record.item?sort_by("location") as item>
-
Generally you can use the data tree hierarchy to get the information you are looking for. So if you want just the company name for instance instead of the name/ID you would use the following syntax: ${record.entity.companyname} Record - Current record you are working with. Entity - The bill to, customer, vendor, etc. Then…
-
Have you also discovered how to show just the first line item of the transaction? I believe it can be accomplished using item_index. let me know if you need assistance.