CSUN#40729 -- Automatisering Facilitor koppelingen

svn path=/Website/branches/v2017.1/; revision=35286
This commit is contained in:
Arthur Egberink
2017-09-13 07:27:07 +00:00
parent 0eb767ae5a
commit a0d793006a

View File

@@ -0,0 +1,67 @@
<?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};
/* methods */
/*
$Id$
*/
/* Dit zijn de enige drie functies die je mag gebruiken */
var Oracle;
var __Log;
var __DoLog;
var safe;
mld_postsave = function (mld_melding, pResult)
{
// Bij nieuwe meldingen controleren of de locatiecode goed staat.
var sql = "BEGIN csun.mld_after_insert(" + mld_melding + "); END;";
Oracle.Execute(sql);
return true;
}
]]>
</script>
</component>