f_getmtrlsptprice.srf 1.1 KB

12345678910111213141516171819
  1. $PBExportHeader$f_getmtrlsptprice.srf
  2. global type f_getmtrlsptprice from function_object
  3. end type
  4. forward prototypes
  5. global function integer f_getmtrlsptprice (long arg_sptid, long arg_mtrlid, ref string arg_unit, string arg_status, string arg_woodcode, string arg_pcode, integer arg_flag, ref decimal arg_price, ref decimal arg_zqrate, ref decimal arg_rate, ref string arg_msg)
  6. end prototypes
  7. global function integer f_getmtrlsptprice (long arg_sptid, long arg_mtrlid, ref string arg_unit, string arg_status, string arg_woodcode, string arg_pcode, integer arg_flag, ref decimal arg_price, ref decimal arg_zqrate, ref decimal arg_rate, ref string arg_msg);int rslt = 1
  8. uo_spt_price uo_sptprice
  9. uo_sptprice = create uo_spt_price
  10. //rslt = uo_sptprice.uf_getmtrlsptprice(arg_sptid,arg_mtrlid,arg_unit,arg_status,arg_woodcode,arg_pcode,arg_flag,arg_price,arg_zqrate,arg_rate,arg_msg)
  11. rslt = uo_sptprice.uof_get_mtrl_buyprice(arg_sptid,arg_mtrlid,arg_unit,arg_status,arg_woodcode,arg_pcode,arg_flag,arg_price,arg_zqrate,arg_rate,arg_msg)
  12. destroy uo_spt_price
  13. return rslt
  14. end function