JamesMorris's Profile
Intermediate
1088
Points

Questions
4

Answers
184

  • Intermediate Asked on October 31, 2019 in Performance.

    If you can do what you want with a workflow, unless you have a big scripting shop/depth-of-knowledge where it’s overwhelmingly easier to do scripting than workflows, stick with your workflows.  IME scripts tend to run afoul of issues due to hotfixes/upgrates waaaay more than workflows. So you’ve got to factor in that additional time to get that panicked ticket after a new release, update the script, and resolve lingering record issues. Plus administration is a lot easier if you don’t have scripting resources when you inevitably want to make changes.

    Performance-wise, I think that SS 2.0 might have a slightly smaller footprint if you make everything exactly the same, but:

    1. Performance is typically a secondary consideration as @Eric Grubaugh mentioned and I alluded to above.
    2. Your script will almost never be *exactly* the same as a workflow, so it’s hard to make an apples to apples comparison anyway.  Things like logging, transitions, and other elements really don’t translate 1:1.

     

    If performance is really an issue, I’d look at optimizing your existing workflows first before I jumped to scripting.  NetSuite support might be able to help in this regard, and they have the added benefit of being able to see a bit more on the performance side than us simple users can.

    • 4127 views
    • 3 answers
    • 0 votes
  • Intermediate Asked on October 29, 2019 in Saved Searches.

    This SuiteAnswers article:

    SQL Expressions

     

    Published 03/04/2011 12:24 PM   |    Updated 09/16/2019 10:37 AM   |    Answer Id: 10101
     

     

    Also, the Database SQL Reference:  https://docs.oracle.com/cd/B19306_01/server.102/b14200/toc.htm  (You can also just google for the specific function you’re looking for and the specific page you want from this is usually one of the top few results).  Not all of the functions in here are guaranteed to work in NetSuite, so the SA article is the best to stick to if you can make those work, but most of these do work, so if you’re really finding the SA choices limiting, this is a good reference.
     

     

    For specific examples, I would search SuiteAnswers for what you’re looking for using “saved search formula” keywords.
    • 3826 views
    • 2 answers
    • 0 votes
  • You can customize the “Payments” sublist to see other information on that view, but I assume you’re referring to the entry sublists of “Other deposits”  and “Cash Back”. If so, this is not possible to my knowledge, either with a custom transaction line field or a sublist, and is a constant source of frustration for us.  Best workaround we’ve come up with is a custom body field and then separating the deposits by project (but as a warning – saved search reporting on this can get kind of janky).  It’s either that or disable the feature entirely and make them process it as a JE.

    This answer accepted by Des. on October 24, 2019 Earned 15 points.

    • 2824 views
    • 1 answers
    • 0 votes
  • Intermediate Asked on October 23, 2019 in SuiteBundler.

    This sounds like you need to go to NetSuite support or the bundle provider (which is again Netsuite, in this case).  They should have some administrative tools to unlock the locked portions of the bundle, if that’s what’s needed.  This is also a cautionary tale in general about Bundling, that it (fairly frequently) picks up records that are linked in some way to the records you do want move.  It’s really important to review in detail what gets picked up in your bundle before you install it anywhere that’s not a sandbox account.  I’ve gotten burned by this a number of times myself, especially with saved searches, but I guess touching the hot stove makes sure you don’t forget next time.

    Sorry I can’t provide more guidance, but it sounds like you’ve exhausted the basic troubleshooting steps of uninstall/reinstall all the bundles at issue.

    • 2117 views
    • 1 answers
    • 0 votes
  • Intermediate Asked on October 15, 2019 in Administration.

    It does make sense. It’s not really doable within the duplicate entity management function.  When you merge records it’ll only keep data for the same field that is blank on the “master” record (in this case those with the most populated fields). There are some other merging options, see “Submitting Merge Operations” SuiteAnswer Id: 48694, but I don’t think any of them are really going to do what you’re describing.

    In your particular case, I’d probably create some saved searches to pull out all the customer emails (and any other data you definitely want to keep from all records).  Then do the merge however you want to do it. Then do a CSV import to load the data into the merged customer record (probably as an associated Contact record).  This will probably require some Excel ninjaing, to get to a good end result.  Probably a good idea to test it out with a few particular records/duplicate sets (or in sandbox) before processing the whole thing.

    Also be aware that NetSuite is a little funky in how it calculates the “most populated fields”. The only fields counted are Standard Entity Fields,  and there are some Fields especially under Financial tab that are not counted. Also, the Address Fields in the Address form, Address ID and Address field in the Customer form are counted individually.  So keep that in mind when considering your merge selection.

    • 2827 views
    • 1 answers
    • 0 votes
  • Intermediate Asked on October 11, 2019 in Saved Searches.

    My understanding is that this error occurs because NetSuite outputs the excel export in an xml format to preserve formatting and be Excel version agnostic (and they haven’t devoted the resources to updating the file format that gets exported).  This error can be safely ignored and there is no easy/simple fix to get around this error.

    Per SuiteAnswers:

    When exporting from NetSuite to Microsoft Excel there is a standard pop-up that will appear:

    “The file format and extension of ‘xxx.xls’ don’t match. The file could be corrupted or unsafe. Unless you trust its source, don’t open it. Do you want to open it anyway?”

    This is a standard message coming from excel when the extension does not match. Since NetSuite is the known source ‘Yes’ can be selected on this pop-up and the results will be exported.

    It is recommended that users manually change file type from XML Spreadsheet to Microsoft Excel Workbook before saving the file.

    For more information on this reference this article from Microsoft:

    http://support.microsoft.com/kb/948615

    • 5603 views
    • 2 answers
    • 2 votes
  • Intermediate Asked on October 11, 2019 in Best Practices.

    I’m not sure I would give an external auditor access to NetSuite, unless they absolutely had to have to have it for some reason.  I would simply provide the reports they asked for in the PBC list, rather than potentially giving them the ability to poke around willy-nilly. IME, most auditors aren’t super familiar with navigating around all the different accounting systems, so they’d rather have the reports spoon-fed to them anyway. If I did give the auditors access, I certainly would not just plop them in a standard role and assume that they had the right permissions.  I would sit down with my controller (or whoever is the audit lead) and very clearly define exactly what they needed access to with regards to transactions and reports, and build something special just for them.  Perhaps I’m overly cautious, but I’ve worked on both sides (as an internal auditor and as the NS admin supporting audits) and it seems to me that everyone is happier when you provide exactly what is requested and nothing more. And that your CFO is really unhappy when auditors start asking questions about stuff they didn’t even request.

     

    • 4688 views
    • 2 answers
    • 0 votes
  • Intermediate Asked on October 11, 2019 in Administration.
    I’m thinking this is from Tyler S from the slack, channel.  My apologies if not, but I believe this answer is relevant regardless.  Basically, my understanding is that you need some sort of user event (view/edit/save) on the record to trigger scheduled transitions.  Kevin had some suggestions for a workaround build.  tl;dr I pasted our full conversation below for posterity in case anyone else is interested in the details…
    ——————————————————————
    @Tyler S The delay doesn’t trigger the transition itself, it just delays the triggering of the transition.  You still need to have a view/edit/save user event to actually make the workflow do anything
    Got suckered by that myself a while back
    KevinJ Of Kansas 12:28 PM

    I think Tyler’s been asking about this for at least a week

    my idea is still the same
    break your workflow up into chunks in separate workflows
    use custom fields to manage movement between workflows
    with dates for driving it
    more work, but at least it will function.
    Tyler S 12:30 PM

    I’m confused, so I can’t just have it move to the next transition in a set amount of time? it has to have a view/edit/save to move it along?

    and yeah I’m sorry for being a bother with this  issue, I guess I need a bit more guidance. I get breaking things up into chunks, but I still need it to be on a schedule and I don’t get how to do that without a delay
    KevinJ Of Kansas 12:31 PM

    That seems to be what James is saying. I have tried to use transition delays all of once or twice before I went. Nah.

    So you have a date field call it “workflow 1” for example.
    That date field is used as a criteria in a saved search that is used for a workflow
    then you have that field get set as part of a process to kick off your workflows.
    Then you have another date field “workflow 2” – if I want a 3 day delay after workflow 1 executes I have workflow 1 set it for 3 days after the current date.
    Then if I have another workflow that uses my second date field as a criteria, and then sets field values appropriately
    it doesn’t scale well, but at least it operates on the schedule that you are looking for.
    You probably need additional checkbox fields for marking that step 1 has completed
    Tyler S 1:08 PM
    so I get what you’re saying. I can definitely build it like that, but I agree that it won’t scale well. Am I understanding correctly that this means that delays just simply don’t work the way they’re intended to?
    I’m going to look into what James was saying about the event as well, but ideally I’d like this all to automate without actually having to do anything
    KevinJ Of Kansas 1:09 PM

    I think the delays work the way they are intended – just that they don’t work the way you intend for them to work.

    Maybe have another workflow that ticks/unticks a box on your records once a day?
    or maybe put a delay in an action to set a checkbox that gets unset when it enters the next state. Use that field when it is set as a criteria for moving to the next state?
    Tyler S 1:25 PM

    @KevinJ Of Kansas I’m just confused because there are workflows that were built the way I’m describing in 2016 that have been running properly for years, and now aren’t. I’m just wondering if something has changed in recent history. Maybe I’m not communicating my issue properly

    • 2429 views
    • 1 answers
    • 0 votes
  • Intermediate Asked on October 11, 2019 in Projects.

    If you just need to them to view the data (and not actually enter records/transactions) I believe you can do this with saved searches.  Check out “Customizing the Customer Center Role” SuiteAnswers Id: 9897 as a starting point (there’s a section in there about saved searches).

    If you actually need them to be able to create/edit records, my understanding is that this is not possible out-of-box.  Basically, if you want to give any of those limited access roles (customer, employee, partner centers) access to some record that is not part of the standard setup then you have to create a custom record that is basically a shadow-copy of the information you need from the standard record type and then use scripts/workflows to send information between the custom record and the standard one.  It’s a giant PITA, and possibly against NetSuite policies (as I’m sure they would want to charge you for the full licenses).  In lieu of this, I have seen certain NetSuite customers negotiate with their account rep for “limited access” user licenses (they really are just the standard user licenses, but you promise to only use them for the limited actions that you need those users to be doing that are not included in the customer/partner/employee center) at a significant discount from the standard user licenses.

    Hope that helps!

    This answer accepted by lfgama. on October 14, 2019 Earned 15 points.

    • 1845 views
    • 1 answers
    • 0 votes
  • Intermediate Asked on October 11, 2019 in How To's.

    I think you need to clarify this question a little to get a cogent response. You say you want margin, which is typically defined as gross profit (i.e. revenue minus cost). True gross profit is available only on fulfilled orders (can’t know the cost of the fulfillment until the order actually ships).  Based on your custom headers, it appears you’re looking at sales data (which could include orders that are not necessarily fulfilled), so I think you’re looking for an estimated gross profit, if so check out:  “Estimating Gross Profit”  SuiteAnswers Answer Id: 30564 for the standard NetSuite gross profit feature.  It’s not clear what you’re asking about regarding base price/list price, so if you’re looking for some custom measure of “margin”, I think you need to better define exactly how to calculate what you’re looking for, and then I or someone might be better able to assist.

    • 3384 views
    • 1 answers
    • 0 votes