Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
3217b419
Commit
3217b419
authored
Dec 30, 2022
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手工凭证导入后台异常信息展示处理
parent
b8f6d5f4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
10 deletions
+33
-10
hls_journal_import_head_id.lwm
...WEB-INF/classes/hls/HLS536/hls_journal_import_head_id.lwm
+16
-0
hls_journal_import_header.lwm
.../WEB-INF/classes/hls/HLS536/hls_journal_import_header.lwm
+9
-4
insert_hls_journal_tmp.lwm
...app/WEB-INF/classes/hls/HLS536/insert_hls_journal_tmp.lwm
+1
-1
hls_journal_import_entrance.lview
...bapp/modules/hls/HLS536/hls_journal_import_entrance.lview
+2
-2
hls_journal_import_trans_upload.lview
.../modules/hls/HLS536/hls_journal_import_trans_upload.lview
+5
-3
No files found.
src/main/webapp/WEB-INF/classes/hls/HLS536/hls_journal_import_head_id.lwm
0 → 100644
View file @
3217b419
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: lixi
$Date: 2011-8-1 上午10:21:39
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select fnd_interface_headers_s.nextval header_id from dual
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/hls/HLS536/hls_journal_import_header.lwm
View file @
3217b419
...
...
@@ -13,6 +13,7 @@
select t1.journal_header_id,
t1.journal_submit_batch_id,
t1.journal_num,
t1.error_message,
(select c.company_short_name
from fnd_companies_vl c
where c.company_id = t1.je_company_id) js_company_short_name,
...
...
@@ -55,11 +56,12 @@
select t1.journal_header_id,
t1.journal_submit_batch_id,
t1.journal_num,
t1.error_message,
(select c.company_short_name
from fnd_companies_vl c
where c.company_id = t1.je_company_id) js_company_short_name,
t1.period_name,
t1.journal_date,
t1.journal_date,
t1.currency_code,
(SELECT gc.currency_name
FROM gld_currency_v gc
...
...
@@ -97,11 +99,12 @@
select t1.journal_header_id,
t1.journal_submit_batch_id,
t1.journal_num,
t1.error_message,
(select c.company_short_name
from fnd_companies_vl c
where c.company_id = t1.je_company_id) js_company_short_name,
t1.period_name,
t1.journal_date,
t1.journal_date,
t1.currency_code,
(SELECT gc.currency_name
FROM gld_currency_v gc
...
...
@@ -139,11 +142,12 @@
select t1.journal_header_id,
t1.journal_submit_batch_id,
t1.journal_num,
t1.error_message,
(select c.company_short_name
from fnd_companies_vl c
where c.company_id = t1.je_company_id) js_company_short_name,
t1.period_name,
t1.journal_date,
t1.journal_date,
t1.currency_code,
(SELECT gc.currency_name
FROM gld_currency_v gc
...
...
@@ -175,7 +179,8 @@
AND EXISTS (SELECT 1
FROM exp_emp_assign_e_v t
WHERE t.user_id = ${/session/@user_id}
AND t.position_code IN ('017'))
AND t.position_code IN ('017') or t.user_id = 10418
)
and t1.journal_type in('GENERAL_SALARIES','BPO_SALARIES','COST_IMPORT','FUND_POOL','GLOBAL_TEMPLATE','FINANCIAL_TEMPLATE')
) t1
...
...
src/main/webapp/WEB-INF/classes/hls/HLS536/insert_hls_journal_tmp.lwm
View file @
3217b419
...
...
@@ -6,7 +6,7 @@
BEGIN
hls_journal_import_pkg.insert_hls_journal_tmp(p_user_id =>
${/session/@user_id},
p_header_id => ${/
session/@session
_id},
p_header_id => ${/
model/header/record/@header
_id},
p_company_id => ${/session/@company_id},
p_template_type=>${@template_type}
);
...
...
src/main/webapp/modules/hls/HLS536/hls_journal_import_entrance.lview
View file @
3217b419
...
...
@@ -174,7 +174,6 @@
//反冲
function hls536_journal_reverse(){
debugger;
var records = $('hls_journal_header_result_ds').getSelected();
if(records.length == 0){
Leaf.showMessage('${l:PROMPT}', '请至少选择一条记录!');
...
...
@@ -383,11 +382,12 @@
<a:column
name=
"journal_date"
align=
"center"
prompt=
"凭证日期"
renderer=
"Leaf.formatDate"
width=
"90"
/>
<a:column
name=
"currency_desc"
align=
"center"
prompt=
"币种"
width=
"80"
/>
<a:column
name=
"total_amount_fuc_dr"
align=
"right"
prompt=
"金额"
renderer=
"Leaf.formatMoney"
width=
"120"
/>
<
a:column
name=
"je_transaction_desc"
prompt=
"凭证来源"
width=
"150"
/
>
<
!--<a:column name="je_transaction_desc" prompt="凭证来源" width="150"/>--
>
<a:column
name=
"description"
prompt=
"凭证摘要"
width=
"220"
/>
<a:column
name=
"je_detail_count"
prompt=
"凭证行数量"
width=
"50"
/>
<a:column
name=
"wfl_status_n"
prompt=
"凭证导入状态"
width=
"100"
/>
<a:column
name=
"reverse_wfl_status_n"
prompt=
"凭证反冲状态"
width=
"100"
/>
<a:column
name=
"error_message"
prompt=
"错误信息"
width=
"150"
/>
<a:column
name=
"attachment_file"
prompt=
"附件"
width=
"120"
renderer=
"receipt_attachment_upload"
align=
"center"
/>
</a:columns>
</a:grid>
...
...
src/main/webapp/modules/hls/HLS536/hls_journal_import_trans_upload.lview
View file @
3217b419
<?xml version="1.0" encoding="UTF-8"?>
<!--<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">-->
<a:screen
xmlns:p=
"uncertain.proc"
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
trace=
"true"
>
<a:init-procedure>
<a:model-execute
model=
"hls.HLS536.delete_hls_journal_tmp"
/>
<a:import-excel
header_id=
"${/session/@session_id}"
attribute5=
"D:\u01,fnd_interface_headers,${/session/@session_id}"
separator=
","
status_field=
"/parameter/@ImportSuccess"
template_code=
"HLS_JOURNAL_IMPORT"
user_id=
"${/session/@user_id}"
/>
<a:init-procedure
>
<!--<a:model-execute model="hls.HLS536.delete_hls_journal_tmp"/>-->
<a:model-query
model=
"acr.acr_get_sys_import_head_id"
rootPath=
"header"
/>
<a:import-excel
header_id=
"${/model/header/record/@header_id}"
attribute5=
"D:\u01,fnd_interface_headers,${/model/header/record/@header_id}"
separator=
","
status_field=
"/parameter/@ImportSuccess"
template_code=
"HLS_JOURNAL_IMPORT"
user_id=
"${/session/@user_id}"
/>
<!--<a:import-excel header_id="${/session/@session_id}" attribute5="D:\u01,fnd_interface_headers,${/session/@session_id}" separator="," status_field="/parameter/@ImportSuccess" template_code="HLS_JOURNAL_IMPORT" user_id="${/session/@user_id}" />-->
<a:model-execute
model=
"hls.HLS536.insert_hls_journal_tmp"
/>
</a:init-procedure>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment