eliyahu moskowitz
09/06/2022, 7:50 PMAndrew Luke
09/06/2022, 11:01 PMLincecum
09/07/2022, 2:49 AMconst xmlDocument = xml.Parser.fromString({
text: '<?xml version="1.0" encoding="UTF-8"?><StandardBusinessDocument><HeaderVersion>1.0</HeaderVersion></StandardBusinessDocument>'
});
// Return [Node]
xml.XPath.select({
node: xmlDocument,
xpath: '//HeaderVersion'
});
however, when the XML contain namespace it can't select using XPath
NOT working
const xmlDocument = xml.Parser.fromString({
text: '<?xml version="1.0" encoding="UTF-8"?><StandardBusinessDocument xmlns="<http://www.qualifiednamespace.com/book>"><HeaderVersion>1.0</HeaderVersion></StandardBusinessDocument>'
});
// Return []
xml.XPath.select({
node: xmlDocument,
xpath: '//HeaderVersion'
});
Any idea is to appreciateCory Weiner
09/07/2022, 1:38 PMscrenshaw
09/07/2022, 2:40 PMalien4u
09/07/2022, 2:49 PMAzi
09/07/2022, 3:23 PMAzi
09/07/2022, 3:28 PMAzi
09/07/2022, 3:28 PMec
09/07/2022, 3:57 PMeliyahu moskowitz
09/07/2022, 4:22 PMeliyahu moskowitz
09/07/2022, 6:00 PMscrenshaw
09/07/2022, 8:15 PMscrenshaw
09/07/2022, 9:36 PMfield.getSublistName is not a function
?
itemFulfil.setCurrentSublistValue({ sublistId: 'item', fieldId: 'itemreceive', value: includeLine});
Azi
09/07/2022, 11:04 PMrec.removeLine
passing it getCurrentSublistIndex
as the line value sometimes gets an error, particularly if it was an uncommitted inserted line in at the end of a sublist (in the UI the remove button would be disabled)
Is there any programmatic way for me to know if a line is removable? If it is not removeable I would want to just cancel the lineMuhammad Hafiz
09/08/2022, 1:57 AMNicole
09/08/2022, 4:23 AMTyn Guardian
09/08/2022, 7:10 AMfunction attachFileToRecord(_fileId_, _recordType_, _recordId_) {
try {
_record_.attach({
record: {
type: 'file',
id: _fileId_
},
to: {
type: _recordType_,
id: _recordId_
}
});
} catch (e) {
_log_.debug({title: 'attachFileToRecord', details: e});
}
}
Webber
09/08/2022, 11:38 AMJars
09/08/2022, 12:47 PMpen one
09/08/2022, 12:58 PMsearch.createColumn({name: "billstate"}),
var billstate = result.getText('billstate');
And this is where I populate the custrecord field:
recCurrent.setText({ fieldId: 'custrecord713', text: billstate});
Simon
09/08/2022, 1:13 PMEAGLE
09/08/2022, 1:24 PMSim Greenbaum
09/08/2022, 1:45 PMlet phone =
options.shipphone.length <= 0
? fulfillmentRecord.setValue({
fieldId: "shipphone",
value: "<tel:845-357-3600|845-357-3600>",
})
: options.shipphone;
log.debug("phone", phone);
Jared Fraley
09/08/2022, 2:40 PMscrenshaw
09/08/2022, 6:16 PMcreece
09/08/2022, 7:34 PMjen
09/08/2022, 11:22 PM{
"error": {
"code": "INVALID_DATA_CENTER",
"message": "Incorrect data center requested! The data center you are requesting is not the data center where your account is hosted. To obtain the correct URL for your request, please use the following endpoint: <https://rest.netsuite.com/rest/datacenterurls?account=><our_account_id>. Then, send your original request to the correct data center."
}
}
SS
09/09/2022, 12:43 PMeliyahu moskowitz
09/09/2022, 2:04 PM