/expense_manager_report.sql Secret
Last active
December 21, 2022 02:17
経費精算アプリの上司向けソース定義
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
expe.expe_id | |
,expe.expe_justification | |
,expe.expe_amount | |
,expe.expe_status | |
,expe.expe_submitted_by | |
,expe.expe_submitted_on | |
,expe.expe_invoice_dd | |
,expe.expe_purpose | |
,tibx.link_text | |
,tibx.sbfl_prcs_id | |
,tibx.sbfl_step_key | |
from tuto_expenses expe | |
join flow_task_inbox_vw tibx on expe.expe_id = tibx.sbfl_business_ref | |
where tibx.sbfl_dgrm_name = :APP_NAME | |
and expe.expe_status = 'submitted' -- 状態はF4Aが管理しているため、この条件は必須ではない | |
and tibx.sbfl_current = 'review_expense_mgr' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment