单位换算

sumQty  += UnitOfMeasureConverter::convert(
    WMSOrderTrans.qty, UnitOfMeasure::findBySymbol(UnitID).RecId,
    UnitOfMeasure::findBySymbol(PosisonRecordInformation.UnitID).RecId,
    true,
    InventTable::find(WMSOrderTrans.itemId).Product);

GIT使用,修改 .gitignore 文件,如何重新生效

git rm -r --cached .                       # 清除缓存 
git add .                                  # 追踪文件
git commit -m "更新.gitignore"             # 注释提交 
git push origin master                     # 推送远程

class IWS_RefreshUnrecievedInvoiceRunbase extends RunBaseBatch
{

protected void new()
{
    super();
}

public boolean canRunInNewSession()
{
    return true;
}

static IWS_RefreshUnrecievedInvoiceRunbase construct()
{
    return new IWS_RefreshUnrecievedInvoiceRunbase();
}

static ClassDescription description()
{
    return "Update project invoice ID for negative amounts " + curExt();
}

static void main(Args args)
{
    IWS_RefreshUnrecievedInvoiceRunbase    runbase;

    runbase = IWS_RefreshUnrecievedInvoiceRunbase::construct();

    if (runbase.prompt())
    {
        runbase.runOperation();
    }
}

public void run()
{
    
}

}