Saturday, October 24, 2015

How to wrap data attributes in Birt Report

Below function would be useful for wrapping the data present in a field.

if(dataSetRow["description"]!=null){
function wrap(longStr,width){ length = longStr.length; if(length <= width) return longStr; return (longStr.substring(0, width) + "\n" + wrap(longStr.substring(width, length), width)); }wrap( dataSetRow["description"], 15 );
}

in the above function, i am trying to wrap description field to a size of 15.

Only disadvantage of this is that it includes hard stops so after every 15 characters which can be frustrating to a user who uses the report in a excel sheet.

----------------------------------------------------------------------------
All the messages below are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.

Wednesday, August 26, 2015

Maximo .. Update database using Birt report

Sometimes database has to be updated after each report run showing that a report  has been run(example like last run date).

In Birt simple way to achieve this is to execute update query in the 'beforeClose' method of dataset.



var myTxn = MXReportTxnProvider.create("maximoDataSource");


var updateSqlText = new String();

updateSqlText = " update poline set enterdate=SYSDATE  where enterdate is null'";

var apextractStmt = myTxn.createStatement();
apextractStmt.setQuery(updateSqlText);

myTxn.save();





---------------------------------------------------------------------------- All the messagesbelow are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.

SQL Server & Maximo .. How to split GL account in SQL Server

Below query can be used in sql server to split a GL account which has 3 components in to individual components divided by '-' (ex : 100010123-abcd-1234 will be divided into gl1- 100010123, gl2- abcd , gl3 - 1234) .

select gldebitacc,

substring(gldebitacc,0,CHARINDEX('-',gldebitacc)) as gl1,

substring(gldebitacc,CHARINDEX('-',gldebitacc)+1,len(gldebitacc)-(CHARINDEX('-',gldebitacc)+charindex('-', reverse(gldebitacc)))), as gl2,

REVERSE(substring(reverse(gldebitacc),0, charindex('-', reverse(gldebitacc)) )) as gl3

 from

poline


----------------------------------------------------------------------------
All the messagesbelow are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.

Maximo Automation script .. How to find the parent Mbo and set value

Below is the sample code which can be used for finding the parent Mbo (ex invoiceline is parent for invoicecost) and setting values.I am using a attribute launchpoint on child mbo (ex invoicecost) which is called from invoiceline when filling gldebitaccout

from psdi.util.logging import MXLogger
from psdi.util.logging import MXLoggerFactory
from psdi.mbo import MboConstants


parentMbo=mbo.getOwner()
parentMbo.setValue("description","test", MboConstants.NOACCESSCHECK|MboConstants.NOVALIDATION_AND_NOACTION)



----------------------------------------------------------------------------

 All the messagesbelow are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.

Maximo Automation Script .. Split GL account

Below is the script which can be used for splitting the GL account to components

from psdi.mbo import MboConstants
from psdi.mbo import GLFormat
from java import util

 glComp1=mbo.getValue("gldebitacc").split('-')[0]
glComp2=mbo.getValue("gldebitacc").split('-')[1]
glComp3=mbo.getValue("gldebitacc").split('-')[2]

----------------------------------------------------------------------------

All the messagesbelow are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.

Sunday, May 10, 2015

Java Freshers Recruitment in Accenture


Destiny reveals fortune at the end of your expedition.

Recruitment Event for ASE Level Candidates For Java Skill
At Accenture, we value achievers like you who have the zeal to go an extra mile for fulfilling a mission. We are on a look out for such high performers and we believe you can help us find some. Bring in exceptional talents from your network of friends and family who could seamlessly click at Accenture and help us take the path forward.  
Criteria:
1.      Good understanding of Core Java/ Java Concepts/ Java Enterprise Edition (Any of these)
2.      Knowledge on J2EE / Spring /Hibernate/Servlet (Any of these).
3.       Good Communication Skills.
4.      Engineering Graduate with =/> 60%.
5.      Work location – Across all locations(Bangalore, Chennai, Hyderabad, Mumbai, Pune)
6.     Experience level from 03 to 12 months.
7.   Candidates willing / available to join us in May 2015 (Immediate joiners) 
If your friend’s profile matches the abovementioned criteria, simply log on to https://employeereferrals.accenture.com and start referring
How to refer:
·         Search for opening on employee referral portal with the following criteria - [Search Box - J2EE Programming - Application ][location – Bangalore, Chennai, Hyderabad, Mumbai, Pune] [level – 12] [Career Track – Client Delivery and Operations]. (If you are not able to refer on employee referral portal please send the resume with subject line as ‘Opportunity for Java Skill!!’ at (idc.talentscout@accenture.com).
·         Upload the profile
·         Once the profile is successfully uploaded – you would get an auto generated mail with a unique CID number for the candidate.
·         You can use the CID number to track the status of the referred candidate.

Note:  Referral bonus is not applicable for this hiring

Event Details:

Date
14th 16th 20th & 23rd May-2015 (will be confirmed to selected candidates via email)
Reporting Time
Will be mailed to selected candidates
Venue
Will be mailed to selected candidates

Please Note:
·         Please refer only resume / CV of candidates matching the criteria. Any resume / CV of candidate referred but not matching criteria will not be considered for further processing.
·         Suitable candidates will be contacted directly from Accenture recruitment team
 Regards,
Talent Scout Team
Technology, India


----------------------------------------------------------------------------
 All the messagesbelow are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.

Wednesday, April 22, 2015

Accenture Recruitment for freshers


  Associate Software Engineer
Referrals are your clues to finding a treasure. Narrow your quest, search for peers, and find us credible crew members. Each referral will bring you closer to the treasure. The more number of referrals, the closer you get to your reward.
Qualifications and other criteria:
·       MCom pass-out (2011 onwards) who should be a graduate in BCom/Bachelor of Commerce in Accounting & Finance (BAF)/Bachelor of Management Studies (BMS)
·        Should have scored 60% or above with no current backlogs
·        Should be available to join us on or before May 15, 2015

Selected candidates would be trained in SAP FICO
.
Work location: Bangalore
Referral award: INR 5000
How to refer:
·         Search for an opening on employee referral portal with the following criteria - [Search Box - SAP-FI-Financial Accounting=] [location - Bangalore] [level – 12] [Career Track – Client Delivery and Operations].
·         Upload the profile.
·         Once the profile is successfully uploaded, you would get an auto generated mail with a unique CID number for the candidate.
·         You can use the CID number to track the status of the referred candidate.
If you are not able to refer on employee referral portal please send the resume with subject line ‘Destiny reveals fortune at the end of your expedition’ to idc.talentscout@accenture.com.
Shortlisted candidates will get a mail from Accenture recruitment team on schedule confirmation for interview on April 26, 2015 and May 3, 2015.
Do not wait any longer, start referring today.



----------------------------------------------------------------------------
 All the messages below are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.