<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Burak BÖLEK - Blog &#187; Maximo 7</title>
	<atom:link href="http://www.burakbolek.com/blog/tag/maximo-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.burakbolek.com/blog</link>
	<description>Burak BÖLEK</description>
	<lastBuildDate>Fri, 03 Sep 2010 06:50:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Consume Web Services with VB.Net 2005</title>
		<link>http://www.burakbolek.com/blog/2009/11/consume-web-services-with-vb-net-2005/</link>
		<comments>http://www.burakbolek.com/blog/2009/11/consume-web-services-with-vb-net-2005/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:45:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[Maximo 7]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/?p=121</guid>
		<description><![CDATA[Hello; Here is an example of consuming web services with VB 2005.. IT creates a new SR with authentication. 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 Dim [...]]]></description>
			<content:encoded><![CDATA[<p>Hello;</p>
<p>Here is an example of consuming web services with VB 2005.. IT creates a new SR with authentication.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>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
</pre></td><td class="code"><pre class="vbnet" style="font-family:monospace;"><span style="color: #0600FF;">Dim</span> maximoSvc <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXSR</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #0600FF;">Dim</span> maximoSRArr<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">As</span> Maximo.<span style="color: #0000FF;">MXSR_SRType</span>
        <span style="color: #0600FF;">Dim</span> maximoSR <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXSR_SRType</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #0600FF;">Dim</span> changeDate <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXDateTimeType</span>
        <span style="color: #0600FF;">Dim</span> DESCRIPTION_LONGDESCRIPTION <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXStringType</span>
        <span style="color: #0600FF;">Dim</span> REPORTEDBY <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXStringType</span>
        <span style="color: #0600FF;">Dim</span> IMPACT <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXLongType</span>
        <span style="color: #0600FF;">Dim</span> reply<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">As</span> Maximo.<span style="color: #0000FF;">SRKeyType</span>
        <span style="color: #0600FF;">Dim</span> cred <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> System.<span style="color: #0000FF;">Net</span>.<span style="color: #0000FF;">NetworkCredential</span>
&nbsp;
        <span style="color: #0600FF;">Dim</span> actLabCost <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">New</span> Maximo.<span style="color: #0000FF;">MXDoubleType</span>
&nbsp;
        cred.<span style="color: #0000FF;">UserName</span> <span style="color: #008000;">=</span> <span style="color: #808080;">&quot;maxadmin&quot;</span>
        cred.<span style="color: #0000FF;">Password</span> <span style="color: #008000;">=</span> <span style="color: #808080;">&quot;maxadmin&quot;</span>
        maximoSvc.<span style="color: #0000FF;">Credentials</span> <span style="color: #008000;">=</span> cred
&nbsp;
&nbsp;
        DESCRIPTION_LONGDESCRIPTION.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">=</span> <span style="color: #808080;">&quot;longdesc&quot;</span>
        REPORTEDBY.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">=</span> <span style="color: #808080;">&quot;USER&quot;</span>
        IMPACT.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">4</span>
&nbsp;
&nbsp;
        maximoSR.<span style="color: #0000FF;">DESCRIPTION_LONGDESCRIPTION</span> <span style="color: #008000;">=</span> DESCRIPTION_LONGDESCRIPTION
        maximoSR.<span style="color: #0000FF;">REPORTEDBY</span> <span style="color: #008000;">=</span> REPORTEDBY
        maximoSR.<span style="color: #0000FF;">AFFECTEDPERSON</span> <span style="color: #008000;">=</span> REPORTEDBY
        maximoSR.<span style="color: #0000FF;">IMPACT</span> <span style="color: #008000;">=</span> IMPACT
        changeDate.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">=</span> System.<span style="color: #0000FF;">DateTime</span>.<span style="color: #0600FF;">Now</span>
        maximoSR.<span style="color: #0000FF;">CHANGEDATE</span> <span style="color: #008000;">=</span> changeDate
        maximoSR.<span style="color: #0000FF;">URGENCY</span> <span style="color: #008000;">=</span> IMPACT
        actLabCost.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span>
        maximoSR.<span style="color: #0000FF;">ACTLABCOST</span> <span style="color: #008000;">=</span> actLabCost
        maximoSRArr<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #008000;">=</span> maximoSR
        reply <span style="color: #008000;">=</span> maximoSvc.<span style="color: #0000FF;">CreateMXSR</span><span style="color: #000000;">&#40;</span>maximoSRArr, System.<span style="color: #0000FF;">DateTime</span>.<span style="color: #0600FF;">Now</span>, <span style="color: #0600FF;">True</span>, <span style="color: #808080;">&quot;&quot;</span>, <span style="color: #808080;">&quot;EN&quot;</span>, <span style="color: #808080;">&quot;11111&quot;</span>, <span style="color: #808080;">&quot;7.0&quot;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #0600FF;">Dim</span> MaximoTicketid <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span>
        MaximoTicketid <span style="color: #008000;">=</span> reply<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">TICKETID</span>.<span style="color: #0000FF;">Value</span></pre></td></tr></table></div>

<p>Have a good day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/11/consume-web-services-with-vb-net-2005/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flow Action in Workorder</title>
		<link>http://www.burakbolek.com/blog/2009/10/flow-action-in-workorder/</link>
		<comments>http://www.burakbolek.com/blog/2009/10/flow-action-in-workorder/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 05:57:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[Maximo 7]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/2009/10/flow-action-in-workorder/</guid>
		<description><![CDATA[There is a new feature called Flow action in Maximo 7.1 It lets you to change status of activities,workorders and task according to the related records.. Here is the detailed explanation of this feature: http://www-01.ibm.com/support/docview.wss?uid=swg21327119&#38;myns=swgtiv&#38;mynp=OCSSWK4A&#38;mynp=OCSSLKT6&#38;mync=R Have a good day..]]></description>
			<content:encoded><![CDATA[<p>There is a new feature called Flow action in Maximo 7.1<br />
It lets you to change status of activities,workorders and task according to the related records..</p>
<p>Here is the detailed explanation of this feature:<br />
<a class="aligncenter" title="Workorder Flow Action Explanation" href="http://www-01.ibm.com/support/docview.wss?uid=swg21327119&amp;myns=swgtiv&amp;mynp=OCSSWK4A&amp;mynp=OCSSLKT6&amp;mync=R" target="_blank"> http://www-01.ibm.com/support/docview.wss?uid=swg21327119&amp;myns=swgtiv&amp;mynp=OCSSWK4A&amp;mynp=OCSSLKT6&amp;mync=R</a></p>
<p>Have a good day..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/10/flow-action-in-workorder/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Writing a Custom Condition Class</title>
		<link>http://www.burakbolek.com/blog/2009/03/writing-a-custom-condition-class/</link>
		<comments>http://www.burakbolek.com/blog/2009/03/writing-a-custom-condition-class/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 09:20:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Backend Development]]></category>
		<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[Condition Class]]></category>
		<category><![CDATA[Maximo 7]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/?p=48</guid>
		<description><![CDATA[One of the best improvements in Maximo 7.x is conditional user interfaces. You can create your conditions in Conditional Expression Manager application. But sometimes there are some issues that you can not write sql sentences. For these cases we can write our own condition class. We must extend psdi.common.condition.CustomCondition class to write the new class. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the best improvements in Maximo 7.x is conditional user interfaces. You can create your conditions  in Conditional Expression Manager application. But sometimes there are some issues that you can not write sql sentences. For these cases we can write our own condition class. We must extend psdi.common.condition.CustomCondition class to write the new class. And we need to override  evaluateCondition(MboRemote mbo, Object arg1)  method. Here is an basic example..</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>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
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">com.custom.workorder</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.rmi.RemoteException</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">psdi.mbo.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">psdi.common.condition.CustomCondition</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">psdi.util.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> TipCondition <span style="color: #000000; font-weight: bold;">implements</span> CustomCondition <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> evaluateCondition<span style="color: #009900;">&#40;</span>MboRemote mbo, <span style="color: #003399;">Object</span> arg1<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> MXException, <span style="color: #003399;">RemoteException</span> <span style="color: #009900;">&#123;</span>
        newWORemote wo <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>newWORemote<span style="color: #009900;">&#41;</span> mbo<span style="color: #339933;">;</span>
 <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ISSUETYPE&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">equalsIgnoreCase</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;PROBLEM&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            psdi.<span style="color: #006633;">server</span>.<span style="color: #006633;">MXServer</span> mxs <span style="color: #339933;">=</span> psdi.<span style="color: #006633;">server</span>.<span style="color: #006633;">MXServer</span>.<span style="color: #006633;">getMXServer</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            MboSetRemote loc_set <span style="color: #339933;">=</span> mxs.<span style="color: #006633;">getMboSet</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;LOCATIONS&quot;</span>, wo.<span style="color: #006633;">getUserInfo</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            loc_set.<span style="color: #006633;">setWhere</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;location in('&quot;</span><span style="color: #339933;">+</span>wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;CENTER1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000ff;">&quot;')&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            loc_set.<span style="color: #006633;">reset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>loc_set.<span style="color: #006633;">count</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #003399;">String</span> kanal <span style="color: #339933;">=</span> loc_set.<span style="color: #006633;">getMbo</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;CAPACITY&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>kanal.<span style="color: #006633;">startsWith</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;4&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">false</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">false</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> toWhereClause<span style="color: #009900;">&#40;</span><span style="color: #003399;">Object</span> arg0, MboSetRemote arg1<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> MXException, <span style="color: #003399;">RemoteException</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Have a good day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/03/writing-a-custom-condition-class/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
