My Stuff
Comments
-
I've run in to a problem with viewing unintended fields in the customer center... We have advanced PDF printing turned on for all of our forms. When advanced PDF printing is turned on, the Printing Fields subtab is hidden, and even if I customize the Prinitng Fields subtab and change the form back to Advanced Printing…
-
I've found that when sending a POST request to an externally available Suitelet, you also have to set the "User-Agent' string to 'Mozilla/5.0' Wes
-
Hey Brad, It looks like you're looping through the array, but not actually testing against the value of the string in the array. Change your if and alert statements from just practices to practices[i], which will look at the string inside the array at that index. The loop will continue until i is not <= practices.length…
-
Try the expression without quotes around true. Hope that helps! Wes
-
Glad to help bradsimpson ! Wes
-
Try replacing i <= childRecords.length with: i < childRecords.length It looks like you have an extra loop. - Wes
-
Just remove the return statement, the code will automatically go to the next iteration. Best, Wes
-
The way I've got it working (in release preview) is to load the record, then getLineItemCount('addressbook'), loop through the addresses and use getCurrentLineItemValue('addressbook','<FIELD>') The issue I have is then UPDATING the addressbook. It errors with: JavaException: com.netledger.common.exceptions.NLUserError:…
-
I have done this as well, but on the UI side... I have client scripts that change forms in the UI based on a field change. I have trained my users to set that field first (and also put that field at the top of my preferred form for that record). Not sure which situation the OP is referring to... Best, Wes
-
I have found that when running scripts server-side (suitelets, user events, etc) new Date() returns the server time. I set up a saved search that returns {today} to reference local time. Hope that helps! Wes
-
Hmm ok I will try that! Thanks! Wes
-
OK Colby, I have now had a chance to look at my code again for address updating, and I was setting and committing the currentlineitem as you suggested, but before submitting the record, I was trying to commit the subrecord as well: subRecordEdit = true; var subRecord =…
-
I'm having a similar issue, except on the UI side. We use the Ignore AVS checkbox on payments for large customers who may have their credit card bills go to a central processing facility. The Ignore AVS checkbox is missing on Cash Sales, which we use exclusively for Web Orders. How do we get the checkbox onto a Cash Sale?…
-
Steve, I'm running into this problem now in a client script, but with nlapiSetFieldValue... Did you get this resolved? Thanks! Wes
-
Upon more debugging/reflection, it looks like my problem isn't with the firefieldchanged not being respected, but with the fields being changed BEFORE my code executes. It looks like the field(s) in question are being updated by a sourcing from the customer record when the customer is added to the transaction (this is a…
-
This is a very old thread, but I wanted to point something out about checkboxes and searching logic in suitescript. If you notice in the UI, when a new checkbox field is added to a record type, and you search those records with the newly created checkbox in the results, the checkbox data returns (none). This confused me,…
-
Does anyone know a way to get the last modified date of a file in the File Cabinet using script? I don't see that information in the file object, but the filing cabinet stores that information. Maybe it is search column? Thanks, Wes
-
Hmm OK We don't generally (read "ever") create prospects on the fly via the quote. Can you customize the pop out quick add form? Wes
-
Make sure you are using the same form for your prospects as your customers, because I am as well, and have the Financial Tab on both, which includes the taxable checkbox on both types. Best, Wes
-
Awesome! Thank you! I didn't realize you could search file records. Best, Wes
-
I thought that the Email Capture feature might be a great way to import sales orders from an external system, like Ariba that sends orders via email as an XML attachment, but it seems that the Suitescript XML APIs are not implemented in the plug-in... When I loop thru the attachments and find the one of type XMLDOC, and…
-
Good to know! Also, just an FYI on my last post about XML API's, I had an error in my script, I had forgotten to wrap the file contents in an nlapiStringToXML. Best, Wes
-
OK, I have the file saved into a new folder I just created in the File Cabinet. How do I look for/loop through files in that folder in the scheduled script? I don't have the file ID. Thanks! Wes
-
Thanks for the quick reply! I'll save the file and process with a scheduled script then. Best, Wes
-
Thanks Olivier, That is what I ended up doing. What gets me is that when I look at Setup -> Accounting -> Use State Sales Tax Tables, the version reported is 9/1/2015. (Which is the date the new tax rate went into effect, but the tax rate needed to be manually updated by me.) Best Regards, Wes
-
I contacted support about this very same issue a few weeks ago, and was told this is as designed! Their workaround was to delete the line item in question and re-enter it, which in my opinion defeats the purpose of being able to 'make a copy' of any transaction... I think they attached my case to an enhancement request...…
-
We never let the order get that far... Our standard procedure is that the order entry person sets the lot numbers BEFORE they get fulfilled.
-
No, only the specified lot numbers from the original sales order line items will copy, and you are not allowed to then remove the lot number from those line items. You can over write the lot number, but that does not help when you do not have the lot number in stock.
-
Hi Chris, I just found the same issue when I tried to add serialized items to a kit... Did you ever get a resolution on this? What steps did you take to build your kits? Thanks! Wes
-
We DID enable Advanced Bin Management to get this functionality. We found that we do NOT have to use bins at all even with this turned on. We kept 'Bin Management' turned off. It does make things a little more complicated in that serial/lot numbers are now called 'Inventory Detail' and are a sublist on the item record,…