17
Points
Questions
0
Answers
8
-
In theory Discpunt for Purchase item should not even be pickable on a Sales Order. Just like other item that are “For Purchase” it should be locked to only the purchase side of the house (procure to pay). BUT I just tested this an of course this is a bug and doesn’t work correctly. Seems the like distinction of “Discount for Purchase” versus “Discount for Sale” is determined by the first account when you first save it. Then you can change the account but the subtype won’t change. But then the subtype doesn’t acctually do anything. I was able to add a “Discount for Purchase” to a Sales Order but that should have been blocked. So I call that a bug.
So a workaround would be use the feature where you can put a saved search on a custom form to filter what items are pickable on that form.
- 2134 views
- 3 answers
- 0 votes
-
Yea you need a script like this to generate the signature on the fly because it uses the current timestamp. You can’t really do this if you’re just using the ODBC driver on your laptop because you have to generate it each time you want to login. But if you have some Python script running, then you can generate the signature and pass it to the ODBC driver as the password parameter. Here is the actual script that I use in Postman:
See:
let account = ‘12345678_SB2’; let consumerKey = ‘xxxxx’; let consumerSecret = ‘xxxx’; let tokenId = ‘xxxx’; let tokenSecret = ‘xxxx’;
let timestamp = new Date().getTime().toString().substring(0, 10); let nonce = CryptoJS.lib.WordArray.random(10).toString(); let baseString = account + ‘&’ + consumerKey + ‘&’ + tokenId + ‘&’ + nonce + ‘&’ + timestamp; let key = consumerSecret + ‘&’ + tokenSecret; let signature = CryptoJS.HmacSHA256(baseString, key).toString(CryptoJS.enc.Base64);
pm.environment.set(“account”, account); pm.environment.set(“consumerKey”, consumerKey); pm.environment.set(“tokenId”, tokenId); pm.environment.set(“nonce”, nonce); pm.environment.set(“timestamp”, timestamp); pm.environment.set(“signature”, signature);
- 3949 views
- 4 answers
- 0 votes
-
Nope. You get 1 vendorSKU per NS Item per Subsidiary.
Your use case requires a custom record to hold multiple skus. But maybe you can solve this by ordering with UPC or your SKU instead of the Vendor’s SKU and let the vendor figure-out their vendorSKU based on your UPC or your SKU and the UOM on the PO.
- 1662 views
- 1 answers
- 0 votes
-
https://blog.prolecto.com/2020/09/12/netsuites-entity-other-relationship-idiosyncrasies/
Not supported in the SuiteScript API, as you found. But Prolecto has a “hack” using a URL in the browser (so maybe you can simulate a URL call in your script). Also there *MAY* be a back-door method to create a Vendor record. Now you have a Customer record and a Vendor record. And then use the Duplicate detection function to merge them into 1 surviving record. I don’t know. Never done it. Just an idea to explore.
- 1515 views
- 2 answers
- 0 votes
-
When you apply the payment to the invoice only the amount of the invoice will be credited, leaving the overpayment as a general credit to A/R for that Customer. You can use Customer Refund to issue a refund check. Or leave it there to apply to a future invoice. (The credit memo solution suggested in the previous post won’t work, unless you’re trying to write-off and keep the overpayment as misc income in which case I still wouldn’t do that as a credit memo. In most states that’s actually illegal and you have to escheat that overpayment to the state after 2 years)
- 1756 views
- 2 answers
- 0 votes
-
Currency Reval is just another transaction type, so it should be included in the regular Transaction & TransactionLine tables. HOWEVER, you may have a permissions problem. Remember with SuiteQL you are using netsuite2 data source so the role you’re using must have access to the underlying transaction types you want to see! If you don’t have access to the underlying transaction then you don’t see them. There is no warning that something is missing!
- 1937 views
- 1 answers
- 0 votes
-
Per SuiteAnswers it’s 4000
https://netsuite.custhelp.com/app/answers/detail/a_id/18392
- 1682 views
- 2 answers
- 0 votes
-
‘DELETE’ is logged as Action in TRANSACTION_HISTORY table
- 2066 views
- 4 answers
- 0 votes