This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof require != "undefined") { | |
// should change export to module.exports = QUnit | |
QUnit = require("../qunit/qunit.js").QUnit; | |
print = console.log; | |
} else { | |
load("../qunit/qunit.js"); | |
} | |
var stop_watch = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<label for="myAnnouncement">Announcement</label> | |
<input id="myAnnouncement" type="text" /><br /> | |
<input type="button" value="Post Announcement" /> | |
</div> | |
<script type="text/javascript" > | |
// Use this to delay execution until the file sp.js has loaded. Also a good way to keep your context free of globals. | |
ExecuteOrDelayUntilScriptLoaded(function() { | |
// get announcement text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.asm.mule; | |
import java.util.List; | |
import java.util.Map; | |
import org.dom4j.Branch; | |
import org.dom4j.Document; | |
import org.dom4j.DocumentHelper; | |
import org.dom4j.Element; | |
import org.mule.api.transformer.TransformerException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<mule version="EE-3.3.1" | |
xmlns="http://www.mulesoft.org/schema/mule/core" | |
xmlns:vm="http://www.mulesoft.org/schema/mule/vm" | |
xmlns:spring="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/current/mule-vm.xsd | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd "> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NetSuiteService service = new NetSuiteService(); | |
NetSuitePortType proxy = service.getNetSuitePort(); | |
proxy.login(loginRequest); | |
RecordRef recordRef = new RecordRef(); | |
recordRef.setInternalId(CUSTOM_LIST_INTERNAL_ID); | |
recordRef.setType(RecordType.CUSTOM_LIST); | |
GetRequest request = new GetRequest(); | |
request.setBaseRef(recordRef); |