f_price_order_poexpr.srf 451 B

123456789101112131415161718192021
  1. $PBExportHeader$f_price_order_poexpr.srf
  2. global type f_price_order_poexpr from function_object
  3. end type
  4. forward prototypes
  5. global function decimal f_price_order_poexpr (string arg_poexpr)
  6. end prototypes
  7. global function decimal f_price_order_poexpr (string arg_poexpr);Decimal ld_price
  8. If Pos(arg_poexpr,'=') > 0 Then
  9. ld_price = Dec(Trim(Mid(arg_poexpr , (Pos(arg_poexpr , '=') + 1))))
  10. Else
  11. ld_price = 0
  12. End If
  13. Return ld_price
  14. end function