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
7bd2aabf
Commit
7bd2aabf
authored
Jan 18, 2023
by
TIANZHI.HU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
凭证导入工作流更新 add by 39135 HuTianzhi
parent
e869f064
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
80 deletions
+21
-80
hls_journal_import_header_wfl.lwm
...-INF/classes/hls/HLS536/hls_journal_import_header_wfl.lwm
+4
-0
hls_journal_import_wfl.lview
...in/webapp/modules/hls/HLS536/hls_journal_import_wfl.lview
+17
-80
No files found.
src/main/webapp/WEB-INF/classes/hls/HLS536/hls_journal_import_header_wfl.lwm
View file @
7bd2aabf
...
...
@@ -13,6 +13,8 @@
t1.journal_submit_batch_id,
t1.journal_num,
t1.error_message,
t1.total_amount_dr,
t1.total_amount_cr,
(select c.company_short_name
from fnd_companies_vl c
where c.company_id = t1.je_company_id) js_company_short_name,
...
...
@@ -57,5 +59,7 @@
<bm:query-field
name=
"total_amount_dr_from"
datatype=
"java.lang.Double"
queryExpression=
"nvl(t1.total_amount_dr,t1.total_amount_cr) >= ${@total_amount_dr_from}"
/>
<bm:query-field
name=
"total_amount_dr_to"
datatype=
"java.lang.Double"
queryExpression=
"nvl(t1.total_amount_dr,t1.total_amount_cr) <= ${@total_amount_dr_to}"
/>
<bm:query-field
name=
"journal_submit_batch_id"
queryExpression=
"t1.journal_submit_batch_id = ${@journal_submit_batch_id}"
/>
<bm:query-field
name=
"description"
queryExpression=
"t1.description like ${@description}"
/>
<bm:query-field
name=
"wfl_status"
queryExpression=
"t1.wfl_status=${@wfl_status}"
/>
</bm:query-fields>
</bm:model>
src/main/webapp/modules/hls/HLS536/hls_journal_import_wfl.lview
View file @
7bd2aabf
...
...
@@ -35,10 +35,10 @@
function hls536_link_dynamic(reocrd_id, journal_header_id) {
var record = $('hls_journal_header_result_ds').findById(reocrd_id);
var param = record.data;
//
param['currency'] = param['currency_code'];
param['currency'] = param['currency_code'];
param['function_code'] = 'HLS536';
param['document_id'] = journal_header_id;
//
param['document_category'] = 'JE';
param['document_category'] = 'JE';
var edit_flag = '${/parameter/@edit_flag}';
if(edit_flag == 'Y' ){
param['function_usage'] = 'MODIFY';
...
...
@@ -51,9 +51,9 @@
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_journal_import_create_link_id');
}
function hls536_journal_num_render(value, record, name) {
return '<a href="javascript:hls536_link_dynamic(' + record.id + ',' + record.get('journal_header_id') + ');">
' + value + '
</a>
';
}
function hls536_journal_num_render(value, record, name) {
return '<a href="javascript:hls536_link_dynamic(' + record.id + ',' + record.get('journal_header_id') + ');">
' + value + '
</a>
';
}
function receipt_attachment_upload(val,rec,name){
return '
<a
href=
javascript:open_upload_window('+rec.get('journal_header_id')+')
>
附件
</a>
';
...
...
@@ -76,80 +76,21 @@
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:dataSets>
<a:dataSet
id=
"hls301_yes_no_ds"
lookupCode=
"YES_NO"
/>
<a:dataSet
id=
"hls_document_type_ds"
>
<a:datas
dataSource=
"/model/hls_document_type_path"
/>
</a:dataSet>
<a:dataSet
id=
"hls_journal_header_query"
>
<a:dataSet
id=
"hls536_wfl_status_ds"
lookupCode=
"HLS536_WFL_STATUS"
/>
<a:dataSet
id=
"hls_journal_header_query"
>
<a:fields>
<a:field
name=
"contract_number"
/>
<a:field
name=
"journal_num"
/>
<!--<a:field name="category_code_desc" displayField="description" options="hls_document_type_ds" returnField="category_code" valueField="document_type"/>-->
<a:field
name=
"journal_date_from"
/>
<a:field
name=
"journal_date_to"
/>
<a:field
name=
"total_amount_dr_from"
/>
<a:field
name=
"total_amount_dr_to"
/>
<a:field
name=
"period_name"
/>
<a:field
name=
"external_journal_num"
/>
<a:field
name=
"bp_id_tenant"
/>
<a:field
name=
"bp_id_tenant_desc"
lovGridHeight=
"400"
lovHeight=
"550"
lovService=
"hls.HLS301.hls_bp_master_v_for_lov"
lovWidth=
"500"
>
<a:mapping>
<a:map
from=
"bp_name"
to=
"bp_id_tenant_desc"
/>
<a:map
from=
"bp_id"
to=
"bp_id_tenant"
/>
</a:mapping>
</a:field>
<a:field
name=
"source_table"
/>
<a:field
name=
"reference1"
/>
<a:field
name=
"je_transaction_code"
/>
<a:field
name=
"je_transaction_desc"
lovGridHeight=
"420"
lovHeight=
"550"
lovPageSize=
"20"
lovService=
"gld.GLD104.gld_je_transaction_for_lov"
lovWidth=
"500"
>
<a:mapping>
<a:map
from=
"je_transaction_code"
to=
"je_transaction_code"
/>
<a:map
from=
"je_transaction_desc"
to=
"je_transaction_desc"
/>
</a:mapping>
</a:field>
<a:field
name=
"responsibility_center_name_from"
lovHeight=
"500"
lovLabelWidth=
"100"
lovService=
"fnd.FND2110.fnd_responsibility_centers_lov"
lovWidth=
"550"
title=
"HLS.RESPONSIBILITY_CENTER_NAME"
>
<a:mapping>
<a:map
from=
"responsibility_center_id"
to=
"responsibility_center_id"
/>
<a:map
from=
"responsibility_center_code"
to=
"responsibility_center_code_from"
/>
<a:map
from=
"responsibility_center_name"
to=
"responsibility_center_name_from"
/>
</a:mapping>
</a:field>
<a:field
name=
"responsibility_center_name_to"
lovHeight=
"500"
lovLabelWidth=
"100"
lovService=
"fnd.FND2110.fnd_responsibility_centers_lov"
lovWidth=
"550"
title=
"HLS.RESPONSIBILITY_CENTER_NAME"
>
<a:mapping>
<a:map
from=
"responsibility_center_code"
to=
"responsibility_center_code_to"
/>
<a:map
from=
"responsibility_center_name"
to=
"responsibility_center_name_to"
/>
</a:mapping>
</a:field>
<a:field
name=
"account_code_from"
autoComplete=
"true"
lovHeight=
"500"
lovLabelWidth=
"100"
lovService=
"hls.HLS301.hls_journal_account_for_lov"
lovWidth=
"500"
title=
"HLS530.ACCOUNT_NAME"
>
<a:mapping>
<a:map
from=
"account_code"
to=
"account_code_from"
/>
<a:map
from=
"description"
to=
"account_name_from"
/>
</a:mapping>
</a:field>
<a:field
name=
"account_code_to"
autoComplete=
"true"
lovHeight=
"600"
lovLabelWidth=
"100"
lovUrl=
"${/request/@context_path}/modules/hls/HLS530/gld_company_account_tree.lview"
lovWidth=
"550"
title=
"HLS530.ACCOUNT_NAME"
>
<a:mapping>
<a:map
from=
"account_code"
to=
"account_code_to"
/>
<a:map
from=
"description"
to=
"account_name_to"
/>
</a:mapping>
</a:field>
<a:field
name=
"company_short_name"
lovHeight=
"500"
lovLabelWidth=
"100"
lovService=
"fnd.fnd_companies_lov"
lovWidth=
"550"
title=
"HLS530.JOURNAL_COMPANY"
>
<a:mapping>
<a:map
from=
"company_id"
to=
"je_company_id"
/>
<a:map
from=
"company_short_name"
to=
"company_short_name"
/>
</a:mapping>
</a:field>
<a:field
name=
"currency_code"
lovHeight=
"500"
lovLabelWidth=
"100"
lovService=
"basic.gld_currency_v_lov"
lovWidth=
"550"
>
<a:mapping>
<a:map
from=
"currency_code"
to=
"currency_code"
/>
<a:map
from=
"currency_name"
to=
"currency_name"
/>
</a:mapping>
</a:field>
<a:field
name=
"merge_parent_flag_desc"
defaultValue=
"否"
displayField=
"code_value_name"
options=
"hls301_yes_no_ds"
returnField=
"merge_parent_flag"
valueField=
"code_value"
/>
<a:field
name=
"merge_parent_flag"
defaultValue=
"N"
/>
<a:field
name=
"description"
/>
<a:field
name=
"wfl_status_n"
displayField=
"code_value_name"
options=
"hls536_wfl_status_ds"
returnField=
"wfl_status"
valueField=
"code_value"
/>
<a:field
name=
"wfl_status"
/>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"hls_journal_header_result_ds"
autoPageSize=
"true"
autoQuery=
"true"
model=
"hls.HLS536.hls_journal_import_header
_wfl
"
queryDataSet=
"hls_journal_header_query"
selectable=
"true"
>
</a:dataSet>
</a:dataSet>
<a:dataSet
id=
"hls_journal_header_result_ds"
autoPageSize=
"true"
autoQuery=
"true"
model=
"hls.HLS536.hls_journal_import_header"
queryDataSet=
"hls_journal_header_query"
selectable=
"true"
>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
...
...
@@ -159,15 +100,12 @@
</a:screenTopToolbar>
<a:form
column=
"5"
labelSeparator=
" "
labelWidth=
"100"
marginWidth=
"40"
title=
"HAP_QUERY_TITLE"
>
<a:textField
name=
"journal_num"
bindTarget=
"hls_journal_header_query"
prompt=
"凭证编号"
/>
<!--<a:comboBox name="merge_parent_flag_desc" bindTarget="hls_journal_header_query" prompt="合并凭证"/>-->
<a:datePicker
name=
"journal_date_from"
bindTarget=
"hls_journal_header_query"
prompt=
"凭证日期从"
/>
<a:datePicker
name=
"journal_date_to"
bindTarget=
"hls_journal_header_query"
prompt=
"凭证日期到"
/>
<!--<a:lov name="company_short_name" bindTarget="hls_journal_header_query" prompt="记账公司"/>-->
<a:numberField
name=
"total_amount_dr_from"
allowFormat=
"true"
bindTarget=
"hls_journal_header_query"
prompt=
"金额从"
/>
<a:numberField
name=
"total_amount_dr_to"
allowFormat=
"true"
bindTarget=
"hls_journal_header_query"
prompt=
"金额到"
/>
<!--<a:lov name="je_transaction_desc" bindTarget="hls_journal_header_query" prompt="凭证来源"/>-->
<!-- <a:lov name="bp_id_tenant_desc" bindTarget="hls_journal_header_query" prompt="商业伙伴"/>
<a:textField name="contract_number" bindTarget="hls_journal_header_query" prompt="合同编号"/>-->
<a:textField
name=
"description"
bindTarget=
"hls_journal_header_query"
prompt=
"凭证摘要"
/>
<a:comboBox
name=
"wfl_status_n"
bindTarget=
"hls_journal_header_query"
prompt=
"凭证导入状态"
/>
</a:form>
<a:grid
id=
"hls_journal_headers_grid"
bindTarget=
"hls_journal_header_result_ds"
marginHeight=
"250"
marginWidth=
"40"
navBar=
"true"
>
<a:columns>
...
...
@@ -177,15 +115,14 @@
<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=
"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>
</a:columns>
</a:grid>
</a:screenBody>
</a:view>
</a:screen>
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