KFNS#40578 Contract notities worden nu automatisch meegestuurd

svn path=/Website/trunk/; revision=34952
This commit is contained in:
2017-08-16 08:43:02 +00:00
parent 0012b5dcac
commit 5355d254f9

View File

@@ -28,7 +28,8 @@ user.auth_required_or_abort(this_cnt.canWriteNotes);
if (note != "")
{
var fields = [ { dbs: "cnt_contract_key", typ: "key", val: cnt_key },
var fields = [ { dbs: "cnt_contract_note_key", typ: "key", seq: "cnt_s_cnt_contract_note_key"},
{ dbs: "cnt_contract_key", typ: "key", val: cnt_key },
{ dbs: "prs_perslid_key", typ: "key", val: user_key },
{ dbs: "cnt_contract_note_omschrijving", typ: "varchar", frm: "note", len: 4000 }
];
@@ -42,6 +43,7 @@ user.auth_required_or_abort(this_cnt.canWriteNotes);
else
{
var noteIns = buildInsert("cnt_contract_note", fields);
note_key = noteIns.sequences["cnt_contract_note_key"];
Oracle.Execute(noteIns.sql);
}
}