-
Notifications
You must be signed in to change notification settings - Fork 0
/
contacts.cfm
49 lines (49 loc) · 1.32 KB
/
contacts.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<cfinclude template="authenticateExe.cfm">
<cfscript>
pageTitle = "Contacts";
up2snuff = 0;
em = 'Error!';
// check required variables
if ( not isDefined("LibID") and
not isDefined("CntctID") and
not isDefined("StatID") and
not isDefined("DeptID") and
not isDefined("SessID") and
not isDefined("UID") and
not isDefined("sDT") and
not isDefined("eDT") and
not isDefined("FiscalY") )
{
em = "Invalid or missing parameters";
}
else
{
up2snuff = 1;
em = 'None';
}
</cfscript>
<cfif up2snuff>
<!--- initialize variables for uspGetContact stored procedure --->
<cfparam name="LibID" default="0">
<cfparam name="CntctID" default="0">
<cfparam name="StatID" default="0">
<cfparam name="DeptID" default="0">
<cfparam name="SessID" default="0">
<cfparam name="ActID" default="0">
<cfparam name="MatID" default="0">
<cfparam name="UID" default="0">
<cfparam name="sDT" default="">
<cfparam name="eDT" default="">
<cfparam name="FiscalY" default="0">
<cfparam name="Set" default="">
<cfinclude template="uspGetContact.cfm">
</cfif>
<cfif not up2snuff>
<cfset pageTitle = "Error!">
<cfinclude template="incBegin.cfm">
<cfinclude template="incError.cfm">
<cfelse>
<cfinclude template="incBegin.cfm">
<cfinclude template="incContacts.cfm">
</cfif>
<cfinclude template="incEnd.cfm">