70 lines
1.4 KiB
XML
70 lines
1.4 KiB
XML
<?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="bez_postsave">
|
|
<PARAMETER name="bezkeyArr"/>
|
|
</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};
|
|
|
|
/* methods */
|
|
/*
|
|
$Id$
|
|
*/
|
|
|
|
/* Dit zijn de enige drie functies die je mag gebruiken */
|
|
var Oracle;
|
|
var __Log;
|
|
var __DoLog;
|
|
var safe;
|
|
|
|
|
|
bez_postsave = function (bezkeyArr, pResult)
|
|
{
|
|
|
|
for (var i = 0; i < bezkeyArr.length; i++)
|
|
{
|
|
// Pincode toevoegen aan de bezoeker
|
|
var sql_park = "BEGIN ykpn.set_bez_pincode(" + bezkeyArr[i] + "); END;";
|
|
Oracle.Execute(sql_park);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
]]>
|
|
</script>
|
|
</component>
|