博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
do not kown
阅读量:6246 次
发布时间:2019-06-22

本文共 3393 字,大约阅读时间需要 11 分钟。

set_item_property('CLEARS.CLEAR_TYPE_DESC'                                     ,item_is_valid                                     ,property_true);IF event = 'PRE-UPDATE' THEN            validate_gl_date;   ELSIF event = 'WHEN-NEW-ITEM-INSTANCE' THEN            set_property.clears_property;            app_synch.menu_toolbar_sync('WHEN-NEW-ITEM-INSTANCE');END IF; IF event = 'WHEN-VALIDATE-ITEM' THEN            app_field.clear_dependent_fields('CLEARS.CLEAR_TYPE_DESC'                                            ,'CLEARS.CLEAR_TYPE');        END IF;IF event = 'WHEN-VALIDATE-ITEM' THEN            app_field.clear_fields('CLEARS.DOC_LINE_NUMBER'                                  ,'CLEARS.DOC_LINE_ID'                                  ,'CLEARS.DOC_DIST_NUMBER'                                  ,'CLEARS.DOC_DIST_ID');        END IF;
 

IF event = 'FOLDER_RETURN_ACTION' THEN

            IF (:global.folder_action = 'SHOW-FIELD') THEN
                field_name := name_in('global.folder_field');
                IF (field_name IN ('AMOUNT')) THEN
                    app_item_property.set_property('CNTS' || '.' || field_name
                                                  ,alterable
                                                  ,property_on);
                END IF;
END IF;

END IF;

           set_property.cnts_property;
           app_synch.menu_toolbar_sync('WHEN-NEW-RECORD-INSTANCE');

PROCEDURE transfer(event VARCHAR2) IS

BEGIN
    IF event = 'WHEN-BUTTON-PRESSED' THEN
        :control.transfer_flag := 'Y';
        go_block('TRANSFER_CONTROL');
        clear_block(no_validate);
    END IF;
END transfer;

cux_ap_estimate_utl.init_cnts_data(p_doc_type => :headers.doc_type

                                              ,p_document_id => :headers.document_id
                                              ,p_header_id => :headers.header_id);

 

app_record.for_all_records('HEADERS'

                           ,'APPROVE_CHECKED');

 

app_folder.define('TOTAL_BLOCK'

                             ,'CNTS_SUMMARY');

 

app_special.instantiate('SPECIAL1'

                                   ,'&' || :parameter.p_menu_string1
                                   ,NULL
                                   ,TRUE);
       
            set_property.control_property;
       
            set_canvas_property('MAIN_TAB'
                               ,topmost_tab_page
                               ,'CLEARS');

mo_global.init('M');

 

IF event = 'WHEN-TAB-PAGE-CHANGED' THEN

            l_new_tab := name_in('SYSTEM.TAB_NEW_PAGE');
            l_old_tab := name_in('SYSTEM.TAB_PREVIOUS_PAGE');
            IF l_new_tab = 'CNTS' THEN
                show_view('CNTS_FIXED');
                show_view('CNTS_STK');
                hide_view('CLEARS_FIXED');
                hide_view('CLEARS_STK');
                go_item('CNTS.LINE_NUMBER');
            ELSIF l_new_tab = 'CLEARS' THEN
                hide_view('CNTS_FIXED');
                hide_view('CNTS_STK');
                show_view('CLEARS_FIXED');
                show_view('CLEARS_STK');
                go_item('CLEARS.LINE_NUMBER');
            END IF;

app_field.clear_fields('HEADERS.VENDOR_ID'

                                  ,'HEADERS.VENDOR_NAME'
                                  ,'HEADERS.DOCUMENT_ID'
                                  ,'HEADERS.DOCUMENT_NUM'
                                  ,'HEADERS.CUST_ACCOUNT_ID'
                                  ,'HEADERS.CUSTOMER_NAME');

app_field.clear_dependent_fields('HEADERS.DEPT_CODE'

                                           ,'HEADERS.DEPT_DESC');

cux_ap_estimate_utl.get_apply_customs_agent(p_document_id => :headers.document_id

                                                           ,x_vendor_num => :headers.vendor_num
                                                           ,x_vendor_name => :headers.vendor_name);

cux_ap_estimate_utl.process_acct_ccid(p_org_id => :headers.org_id

                                             ,p_dept_code => :headers.dept_code
                                             ,p_exp_type => :headers.exp_type
                                             ,p_exp_detail => :headers.exp_detail
                                             ,p_cost_flag => :headers.cost_flag
                                             ,x_exp_ccid => l_exp_ccid
                                             ,x_mid_ccid => l_mid_ccid
                                             ,x_ap_ccid => l_ap_ccid
                                             ,x_return_status => l_return_status
                                             ,x_error_message => l_error_message);

cux_ap_estimate_utl.get_period_open_flag(p_org_id => :headers.org_id

                                                                          ,p_gl_date => :headers.gl_date
                                                                          ,p_application_id => 101);

cux_ap_estimate_utl.get_base_currency(p_org_id => :headers.org_id);

 

app_item_property.set_property(find_item('HEADERS.BBC_AMOUNT')

                                     ,alterable
                                     ,property_off);

 

 

转载于:https://www.cnblogs.com/Bigbirdblog/p/4816786.html

你可能感兴趣的文章
51nod 1217 Minimum Modular
查看>>
.js 兼容 FireFox 和 IE 键盘事件
查看>>
java学习之部分笔记
查看>>
78. Subsets
查看>>
JavaScript高级之词法作用域和作用域链
查看>>
ServletConfig详解 (转载)
查看>>
oracle 查看用户所在的表空间
查看>>
CentOS配置sshd
查看>>
利用libevent的timer实现定时器interval
查看>>
接口的使用
查看>>
LeetCode 347. Top K Frequent Elements
查看>>
二叉树遍历
查看>>
JAVA 并发
查看>>
Markdown引用微博图床被防盗链不加载响应403完美解决
查看>>
0302思考并回答一些问题
查看>>
Sphinx的介绍和原理探索
查看>>
php中mysql数据库操作类 -李盛鹏 -博客园
查看>>
coreseek增量索引
查看>>
ubuntu更新源(2018最新)
查看>>
python使用小结——iloc与loc的使用
查看>>