Commit 4581fa3f authored by chenzhuo's avatar chenzhuo

建机SBO自动传输

parent fd4c9432
......@@ -22,6 +22,8 @@
<bm:field name="company_short_name" forInsert="false" forUpdate="false" prompt="HLS.COMPANY_SHORT_NAME"/>
<bm:field name="document_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_TYPE" prompt="GLD107.GLD_JE_TEMPLATE_HDS.DOCUMENT_TYPE"/>
<bm:field name="document_type_desc" forInsert="false" forUpdate="false" prompt="GLD107.GLD_JE_TEMPLATE_HDS.DOCUMENT_TYPE_DESC"/>
<bm:field name="immediately_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="IMMEDIATELY_FLAG"/>
<bm:field name="immediately_flag_n" forInsert="false" forUpdate="false"/>
</bm:fields>
<bm:operations>
<bm:operation name="query">
......@@ -40,7 +42,9 @@
t1.COMPANY_SHORT_NAME,
t1.ENABLED_FLAG,
t1.DOCUMENT_TYPE,
t1.DOCUMENT_TYPE_DESC
t1.DOCUMENT_TYPE_DESC,
t1.immediately_flag,
t1.immediately_flag_n
from GLD_JE_TEMPLATE_HDS_V t1
#WHERE_CLAUSE#
order by t1.JE_TRANSACTION_CODE,t1.JE_TEMPLATE_CODE
......@@ -61,7 +65,8 @@
p_enabled_flag => ${@enabled_flag},
p_user_id => ${/session/@user_id},
p_company_id => ${/session/@company_id},
p_document_type => ${@document_type});
p_document_type => ${@document_type},
p_immediately_flag => ${@immediately_flag});
end;
]]></bm:update-sql>
......@@ -78,7 +83,8 @@
p_enabled_flag => ${@enabled_flag},
p_user_id => ${/session/@user_id},
p_company_id => ${/session/@company_id},
p_document_type => ${@document_type});
p_document_type => ${@document_type},
p_immediately_flag => ${@immediately_flag});
end;
]]></bm:update-sql>
......@@ -95,7 +101,8 @@
p_enabled_flag => ${@enabled_flag},
p_user_id => ${/session/@user_id},
p_company_id => ${/session/@company_id},
p_document_type => ${@document_type});
p_document_type => ${@document_type},
p_immediately_flag => ${@immediately_flag});
end;
]]></bm:update-sql>
......
......@@ -139,6 +139,7 @@
]]></script>
<a:dataSets>
<a:dataSet id="IMMEDIATELY_FLAG_DS" lookupCode="YES_NO"/>
<a:dataSet id="jeTypeDs">
<a:datas dataSource="/model/je_type_list"/>
</a:dataSet>
......@@ -176,6 +177,7 @@
<a:field name="je_desc"/>
<a:field name="document_type_desc" displayField="document_type_desc" options="jeTypeDs" required="true" returnField="document_type" valueField="document_type"/>
<a:field name="enabled_flag" checkedValue="Y" defaultValue="Y" uncheckedValue="N"/>
<a:field name="immediately_flag_n" displayField="code_value_name" options="IMMEDIATELY_FLAG_DS" required="true" returnField="immediately_flag" valueField="code_value"/>
</a:fields>
</a:dataSet>
</a:dataSets>
......@@ -206,6 +208,7 @@
<a:column name="je_template_code" autoAdjust="false" editorFunction="editorFunction_headDs_grid" showTitle="true" width="250"/>
<a:column name="je_template_desc" autoAdjust="false" editor="headDs_grid_tf" showTitle="true" width="250"/>
<a:column name="document_type_desc" editor="headDs_grid_comb"/>
<a:column name="immediately_flag_n" align="center" editor="headDs_grid_comb" prompt="是否立即传输" width="80"/>
<a:column name="line_setup" align="center" prompt="GLD107.WIN_TITLE.LINE_SETUP" renderer="render_headDs_grid" width="60"/>
<a:column name="enabled_flag" align="center" editor="headDs_grid_checkBox" width="40"/>
<a:column name="template_copy" align="center" prompt="复制" renderer="render_headDs_grid" width="50"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment