設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 863|回復: 0
打印 上一主題 下一主題

IFS client development <centura> 前端 Call 後端 API(1)

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2015-12-11 18:51:46 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
以預開發票為例<GUIInvoice.apl>
Function: Get_Address1
        Description:
        Returns
                Boolean:
        Parameters
        Static Variables
        Local variables
        Actions
                If Security.IsMethodAvailable('CUSTOMER_INFO_ADDRESS_API.Get_Default_Address1')
                        Call DbPLSQLBlock( c_hSql, sFullName || ".mlAddress :=  &AO.customer_info_address_api.get_default_address1(" || sFullName || ".dfsIdentity ,'Document' ) ")
                Return TRUE
Function: Get_Association_No
        Description:
        Returns
                Boolean:
        Parameters
        Static Variables
        Local variables
        Actions
                If Security.IsMethodAvailable('CUSTOMER_INFO_API.Get_Association_No')
                        Call DbPLSQLBlock( c_hSql, sFullName || ".dfsVatNo := &AO.CUSTOMER_INFO_API.Get_Association_No(
                                        " || sFullName || ".dfsIdentity )")

                        If dfsGuiFormat  ='32'
                                Set dfsVatNo=' '
                Return TRUE
Function: Get_Fee_Description
        Description:
        Returns
                Boolean:
        Parameters
        Static Variables
        Local variables
        Actions
                If Security.IsMethodAvailable('STATUTORY_FEE_API.Get_Description')
                        Call DbPLSQLBlock( c_hSql, sFullName || ".dfFeeDescription := SUBSTRB( &AO.STATUTORY_FEE_API.Get_Description(
                                        " || sFullName || ".dfsCompany,
                                        " || sFullName || ".dfsFeeCode ),1,20)")

                Return TRUE
Function: Get_Fee_Rate
        Description:
        Returns
                Boolean:
        Parameters
        Static Variables
        Local variables
        Actions
                If Security.IsMethodAvailable('STATUTORY_FEE_API.Get_Fee_Rate')
                        Call DbPLSQLBlock( c_hSql, sFullName || ".dfnPercentage :=  &AO.STATUTORY_FEE_API.Get_Fee_Rate(
                                        " || sFullName || ".dfsCompany,
                                        " || sFullName || ".dfsFeeCode )")

                Return TRUE
Function: Get_GuiFormat_Description
        Description:
        Returns
                Boolean:
        Parameters
        Static Variables
        Local variables
        Actions
                If Security.IsMethodAvailable('GUI_FORMAT_API.Get_Description')
                        Call DbPLSQLBlock( c_hSql, sFullName || ".dfsGuiFormatDescription := &AO.GUI_FORMAT_API.Get_Description(
                                        " || sFullName || ".dfsCompany,
                                        " || sFullName || ".dfsGuiFormat )")

                Return TRUE

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-5-17 04:08 , Processed in 0.221040 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表