FCLT#56045 Implementatie Volksbank
svn path=/Website/branches/v2019.1/; revision=42083
This commit is contained in:
63
CUST/VOLK/custfunctions.wsc
Normal file
63
CUST/VOLK/custfunctions.wsc
Normal file
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0"?>
|
||||
<component>
|
||||
<?component error="true" debug="true"?>
|
||||
<registration
|
||||
description="custfunctions"
|
||||
progid="custfunction.wsc"
|
||||
version="1.00"
|
||||
classid="{5B59A501-7A03-47C7-9C02-6025C83C2FAD}"
|
||||
>
|
||||
</registration>
|
||||
|
||||
<public>
|
||||
|
||||
<!-- properties -->
|
||||
<property name="Oracle">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="__Log">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="__DoLog">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="safe">
|
||||
<put/>
|
||||
</property>
|
||||
|
||||
<!-- methods -->
|
||||
<method name="mld_postsave">
|
||||
<PARAMETER name="mld_melding"/>
|
||||
</method>
|
||||
</public>
|
||||
|
||||
<script language="javascript">
|
||||
<![CDATA[
|
||||
|
||||
/* properties */
|
||||
function put_Oracle(newValue) {Oracle = newValue};
|
||||
function put___Log(newValue) {__Log = newValue};
|
||||
function put___DoLog(newValue){__DoLog = newValue};
|
||||
function put_safe(newValue) {safe = newValue};
|
||||
|
||||
|
||||
var Oracle;
|
||||
var __Log;
|
||||
var __DoLog;
|
||||
var safe;
|
||||
|
||||
mld_postsave = function (mld_melding, pResult)
|
||||
{
|
||||
// Meldingen op winkels zijn altijd public
|
||||
var sql = "BEGIN volk.mld_after_insert(" + mld_melding + "); END;";
|
||||
Oracle.Execute(sql);
|
||||
|
||||
// __DoLog("Melding " + mld_melding + " openbaar gemaakt");
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</component>
|
||||
Reference in New Issue
Block a user