Commit 6bffe689 authored by 25484's avatar 25484

Merge branch 'refs/heads/feature/ap_invoice_import' into develop

parents b350e7fd fdff006b
...@@ -41,7 +41,11 @@ ...@@ -41,7 +41,11 @@
bp_record.set('owner_user_id','${/session/@user_id}'); bp_record.set('owner_user_id','${/session/@user_id}');
bp_record.set('agent_name', agent_name); bp_record.set('agent_name', agent_name);
bp_record.set('agent_name_n', agent_name_n); bp_record.set('agent_name_n', agent_name_n);
if(agent_name && agent_name_n){
bp_record.getField('agent_name_n').setReadOnly(true);
}else{
bp_record.getField('agent_name_n').setReadOnly(false);
}
if ('${/parameter/@bp_type}' == 'AGENT') { if ('${/parameter/@bp_type}' == 'AGENT') {
bp_record.getField('agent_type_n').setReadOnly(false); bp_record.getField('agent_type_n').setReadOnly(false);
// bp_record.getField('agent_type_n').setRequired(true); // bp_record.getField('agent_type_n').setRequired(true);
......
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