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
6120ab30
Commit
6120ab30
authored
Jul 18, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保证金抵扣
parent
66b9b342
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
35 deletions
+52
-35
con_contract.lwm
src/main/webapp/WEB-INF/classes/csh/CSH531N/con_contract.lwm
+49
-34
csh_write_off_ref_contract.lview
...bapp/modules/csh/CSH531N/csh_write_off_ref_contract.lview
+3
-1
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH531N/con_contract.lwm
View file @
6120ab30
...
...
@@ -22,12 +22,12 @@
t1.contract_status in ('INCEPT','NEW','ETING','REPURING')
and t1.data_class = 'NORMAL'
and t1.company_id in ((
select company_id
select company_id
from fnd_companies t
where t.company_id = ${/session/@company_id} or
t.parent_company_id = ${/session/@company_id}
union
select t.parent_company_id company_id
union
select t.parent_company_id company_id
from fnd_companies t
where t.parent_company_id is not null
and (t.company_id = ${/session/@company_id} or t.parent_company_id = ${/session/@company_id})))
...
...
@@ -60,11 +60,12 @@ select t.parent_company_id company_id
<!--<bm:query-field name="bp_id"
queryExpression="(t.bp_id_tenant = ${@bp_id} or t.bp_id_agent_level1 = ${@bp_id} or ((select bp_category from hls_bp_master where bp_id = ${@bp_id}) = 'VENDER'))"/>-->
<bm:query-field
name=
"bp_id"
queryExpression=
"(Exists (Select 1
From hls_bp_master h, hls_bp_master_role hbr
From hls_bp_master h, hls_bp_master_role hbr
,con_contract_bp bp
Where h.bp_name in ( select hbm.bp_name from hls_bp_master hbm where hbm.bp_id= ${@bp_id})
and hbr.bp_id = h.bp_id
and hbr.bp_type = 'TENANT'
and h.bp_id = t.bp_id_tenant) Or not Exists
and h.bp_id= bp.bp_id
and hbr.bp_type in('TENANT','GUTA_NP')
and bp.contract_id=t.contract_id) Or not Exists
(Select 1
From hls_bp_master h, hls_bp_master_role hbr
Where h.bp_id = ${@bp_id}
...
...
@@ -73,4 +74,18 @@ select t.parent_company_id company_id
))"
/>
<bm:query-field
name=
"bp_name"
queryExpression=
"t.bp_name like '%' || ${@bp_name} || '%'"
/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter
name=
"query"
Expression=
" exists
(select 1
from con_contract_cashflow ccc
where ccc.contract_id = t.contract_id
and ccc.cf_status = 'RELEASE'
and ccc.write_off_flag != 'FULL'
and ccc.cf_direction = 'INFLOW'
and ccc.cf_item not in (251)
and ((nvl(${@deposit_flag}, 'N') = 'Y' and cf_item in (1, 8, 9, 200, 11, 250)) or
(nvl(${@deposit_flag}, 'N') = 'N'))
and ccc.due_amount - nvl(ccc.received_amount, 0)>0
)"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/modules/csh/CSH531N/csh_write_off_ref_contract.lview
View file @
6120ab30
...
...
@@ -148,7 +148,9 @@
</a:fields>
</a:dataSet>
<a:dataSet
id=
"csh_lov_con_contract_ds"
selectable=
"true"
autoQuery=
"true"
selectionModel=
"single"
model=
"csh.CSH531N.con_contract"
queryDataSet=
"csh_query_con_ds"
>
model=
"csh.CSH531N.con_contract"
queryUrl=
"${/request/@context_path}/autocrud/csh.CSH531N.con_contract/query?deposit_flag=${/parameter/@deposit_flag}&transaction_date=${/parameter/@transaction_date}"
queryDataSet=
"csh_query_con_ds"
>
<a:events>
<a:event
name=
"indexchange"
handler=
"indexChangeFunction"
/>
</a:events>
...
...
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