| TIPTOP GP 5.3 | T100 | |
| 執行程式 | exe/exe2 | r.r |
| 編譯程式 | r.c2 | r.c |
| LINK程式 | r.l2 | r.l |
| 進入ERP主頁面 | udm7 | menu |
| Debug | r.d2+ | r.d |
| 編譯畫面 | r.f2 | r.f |
| 開窗選擇檔案 | ls_file=cl_browse_file() | ls_file=cl_client_browse_file() |
| 上傳檔案 | cl_upload_file(來源路徑,目的路徑) | CALL FGL_GETFILE(來源路徑,目的路徑) |
| 跳出詢問視窗 | cl_confirm("是否確定執行") | cl_ask_promp("是否確定執行") OR cl_ask_confirm('是否確認執行') |
| 四捨五入 | CALL cl_digcut(金額,小數位) RETURNING 金額 |
CALL s_curr_round(據點,金額,幣別,取價類型) RETURNING 金額 e.g. CALL s_curr_round(g_site, g_xmda_m.xmda015,'USD','1') RETURNING g_xmda_m.xmda015 |
|
2023/4/28 add 抓取當下日期+時間 |
cl_get_current() |
遇到其他的再陸續補.........
文章標籤
全站熱搜

米血~請教您一下,這個fuction的版本,實測好像有BUG ################################################################################ # Descriptions...: 按币种对金额进行取位 # Memo...........: # Usage..........: CALL s_curr_round(p_site,p_curr,p_amount,p_type) # RETURNING r_amount # Input parameter: p_site 营运据点 # : p_curr 币种 # : p_amount 金额 # : p_type 取位类型 1.按单价设定 2.按金额设定 3.按汇 率设定 # 4.成本單價 5.成本金額 # Return code....: r_amount 取位后的金额值 # Date & Author..: 2013/11/28 By Carrier # Modify.........: 150206 zhangllc 修改报错信息 # : 151202-00028 by whitney add p_type 4&5