f_getmtrlcusprice.srf 1.1 KB

12345678910111213141516171819
  1. $PBExportHeader$f_getmtrlcusprice.srf
  2. global type f_getmtrlcusprice from function_object
  3. end type
  4. forward prototypes
  5. global function integer f_getmtrlcusprice (long arg_moneyid, long arg_mtrlid, long arg_cusid, string arg_unit, string arg_woodcode, string arg_status, 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_getmtrlcusprice (long arg_moneyid, long arg_mtrlid, long arg_cusid, string arg_unit, string arg_woodcode, string arg_status, 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_cusprice uo_cus_price
  9. uo_cus_price = create uo_cusprice
  10. //rslt = uo_cus_price.uf_getmtrlcusprice(arg_moneyid,arg_mtrlid,arg_unit,arg_woodcode,arg_status,arg_pcode,arg_cusid,arg_flag,arg_price,arg_zqrate,arg_rate,arg_msg)
  11. rslt = uo_cus_price.uof_get_mtrl_saleprice(arg_moneyid,arg_cusid,arg_mtrlid,arg_unit,arg_woodcode,arg_status,arg_pcode,arg_price,arg_zqrate,arg_rate,arg_msg)
  12. destroy uo_cusprice
  13. return rslt
  14. end function