zoukankan      html  css  js  c++  java
  • netsuite数据类型的获取(以货品item举例)以及价格带的js获取


     var curitemcurrency='';
            curitemcurrency=nlapiLookupField('inventoryitem', itemold, 'custitem_currency'); //custitem_currency

            var curitemrectype=nlapiLookupField('inventoryitem', itemold, 'recordtype');

    var curitemrectype=nlapiLookupField('inventoryitem', itemold, 'recordtype');    //这句话可以读取item的类型!经典200810150523

     这样在用 得到的这个类型去load 这个调记录 就不会提示出错了/!!!  

    这里我们讲到了 如何获取一个库存货品的具体类型的方法。 

    ==========================

    var money=record.getLineItemValue('price'+curitemcurrency,'price'+curitemcurrency+'price_1_',1);   //直接取相应本位币的标准金额。

    这句话可以获得相应价格带的数据。

    上面这些都是suitescript的内容。 希望对大家有所帮助

    wish you a good day!!!


  • 相关阅读:
    哇~~
    震作震作~~life is only Soso
    真j8无聊
    川行之旅
    可爱的java,我又来看你了,
    暑假周进度总结报告2
    暑假周进度总结报告1
    暑假周进度总结报告3
    2017级软工经验交流体验
    暑假周进度总结报告4
  • 原文地址:https://www.cnblogs.com/backuper/p/1311328.html
Copyright © 2011-2022 走看看