Hi All, Anyone able to tell me how to get `Default...
# suitescript
r
Hi All, Anyone able to tell me how to get
Default Quote Expiration (in days) (which is under sales preferences)
But Doco says
nlapiLoadConfiguration
we I can't get sales performances... I even tried it for the fun of it in case they forgot....
Copy code
var test = nlapiLoadConfiguration('salespreferences');

{
  "userEvent": null,
  "internalId": null,
  "code": "INVALID_RCRD_TYPE",
  "details": "The record type [SALESPREFERENCES] is invalid.",
  "stackTrace": {
    "[Ljava.lang.String;": [
      "scheduled(anx_create_quote_ss.js$1328504:11)",
      "<anonymous>(anx_create_quote_ss.js$1328504:281)"
    ]
  },
  "type": "nlobjError",
  "suppressNotification": false
}