码迷,mamicode.com
首页 > 其他好文 > 详细

AP_费用报表报销基本操作(流程)

时间:2014-06-05 16:43:01      阅读:478      评论:0      收藏:0      [点我收藏+]

标签:des   c   style   code   java   a   

2014-06-04 BaoXinjian

bubuko.com,布布扣一、汇总


(1). 建立Expense Report

(2). 触发工作流-请主管签合OIE_REQ_EXPENSE_REPORT_APPRVL

(3). 触发工作流-通知申请人已签

(4). 审批结束后对Expense Report Audit

(5). 通过CP<Expense Report Export>产生Invoice

(6). 产生Invoice

 

bubuko.com,布布扣二、基本操作


1. 建立Expense Report

    bubuko.com,布布扣

    select * from apps.ap_expense_report_headers_all

    where report_header_id = 42016

 

    select * from apps.ap_expense_report_lines_all

    where report_header_id = 42016

 

    select * from ap_exp_report_dists_all

    where report_header_id = 42016

 

2 触发工作流-请主管签合OIE_REQ_EXPENSE_REPORT_APPRVL

    bubuko.com,布布扣

    select * from wf_notifications
    where message_type = ‘APEXP‘

    and message_name = ‘OIE_AME_EXPENSE_REPORT_APPRVL‘
    and from_role = ‘OPERATIONS‘

    and begin_date > TRUNC (SYSDATE)

 

    select * from applsys.wf_item_attribute_values val

    where val.item_key = ‘33593-1‘

 

3. 触发工作流-通知申请人已签

    bubuko.com,布布扣

    select * from wf_notifications
    where message_type = ‘APEXP‘
    and message_name = ‘OIE_EXP_REPORT_MGR_APPROVED‘
    and from_role = ‘CBROWN‘
    and begin_date > TRUNC (SYSDATE)

 

4. 审批结束后对Expense Report Audit

    bubuko.com,布布扣

 

5. 通过CP<Expense Report Export>产生Invoice

    bubuko.com,布布扣
     a. expense_status_code not in (‘ERROR‘, ‘PEND_HOLDS_CLEARANCE‘, ‘HOLD_PENDING_RECEIPTS‘)

    b. soure in (CREDIT CARD, Both Pay, SelfService)

 

6. 产生Invoice

     bubuko.com,布布扣

    select * from ap_invoices_all

    where invoice_num =‘42016‘

 

    select * from ap_invoice_lines_all

    where invoice_id = 457112

 

Thanks and Regards

bubuko.com,布布扣

AP_费用报表报销基本操作(流程),布布扣,bubuko.com

AP_费用报表报销基本操作(流程)

标签:des   c   style   code   java   a   

原文地址:http://www.cnblogs.com/eastsea/p/3768718.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!