/**
 * A SuiteScript 2.0 example of using N/record#submitFields to update a single field on a related record
 */
require(["N/record", "N/currentRecord"], function (r, cr) {
    // From a Sales Order, get the Customer ID
    var customerId = cr.get().getValue({"field...