【问题标题】:Oracle NetSuite: How to get internal/external id from currency?Oracle NetSuite:如何从货币中获取内部/外部 ID?
【发布时间】:2022-08-17 03:40:39
【问题描述】:

我是 NetSuite 开发人员的新手。

我们在会计上有一些Currencies HKD/CAD/EUR/USD/CNY/SGD/GBP/AUD,港元是基础货币。

现在我想通过导入csv向所有客户add USD currency,但不知道如何获取美元货币信息:

    RecordRef ccy = new RecordRef();
    ccy.setType(RecordType.CURRENCY);
    ccy.setInternalId(\"?\"); // Don\'t know how to get internal id of USD currency
    ccy.setExternalId(\"?\"); // Don\'t know how to get internal id of USD currency

    CustomerCurrency customerCcy = new CustomerCurrency();
    customerCcy.setCurrency(ccy);
    CustomerCurrencyList customerCcyList = new CustomerCurrencyList();
    customerCcyList.getCurrency().add(customerCcy);
    customer.setCurrencyList(customerCcyList);

    updateCustomer(customer);

请给我一些建议,非常感谢。

    标签: netsuite


    【解决方案1】:

    在您的网络套件首选项中,您可以打开“显示内部 ID”选项。一旦你设置好了,货币视图应该会显示你的内部 ID。或者,您可以右键单击并转到 chrome 或 firefox 中的开发人员工具,然后查看元素的内部 id。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-07-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-01
      相关资源
      最近更新 更多