|  |  | 
 |  |  |          xaserverarg arg; | 
 |  |  |           | 
 |  |  |          dw_1.DwUpdateAllToEx(x); | 
 |  |  |          xml x0 = new xml; | 
 |  |  |          xml x0; | 
 |  |  |           | 
 |  |  |          x0.loadXML(L"<data/>"); | 
 |  |  |           | 
 |  |  | 
 |  |  |                end if | 
 |  |  |                 | 
 |  |  |                if ls_comName <> '产品部' then | 
 |  |  |                   this.setitem(row,'billamt',dec(this.Describe(L"evaluate('notifybuyamt - if(isnull(kkamt),0,kkamt) + if(isnull(dkamt),0,dkamt)',L"+xstring(row)+L")L"))) | 
 |  |  |                   this.setitem(row,'billamt',dec(this.Describe(L"evaluate('notifybuyamt - if(isnull(kkamt),0,kkamt) + if(isnull(dkamt),0,dkamt)',L"+xstring(row)+L")"))) | 
 |  |  |                else | 
 |  |  |                   this.setitem(row,'billamt',dec(this.Describe(L"evaluate('prd_nbuyamt - if(isnull(kkamt),0,kkamt) + if(isnull(dkamt),0,dkamt)',L"+xstring(row)+L")L"))) | 
 |  |  |                   this.setitem(row,'billamt',dec(this.Describe(L"evaluate('prd_nbuyamt - if(isnull(kkamt),0,kkamt) + if(isnull(dkamt),0,dkamt)',L"+xstring(row)+L")"))) | 
 |  |  |                end if | 
 |  |  |                 | 
 |  |  |                ll_decrate = this.getitemdecimal(row,'retax') |