Posted in Code Snippets, Salesforce

Salesforce: Making a Trigger to execute at last

I had an After trigger in a Grand-child object that does some calculations with Child object and updates the result in Parent object. All the calculation logic were perfectly alright. But the result was wrong!

Continue reading “Salesforce: Making a Trigger to execute at last”

Posted in TED Talks

Why tech needs the humanities

Enjoyed this TED Talk:
Why tech needs the humanities by Eric Berridge

Eric Berridge, a co-founder of global consulting agency and a Salesforce strategic partner Bluewolf, an IBM Company, expresses his views on humanities offer skills that are becoming increasingly valuable to the success of business everywhere.

Continue reading “Why tech needs the humanities”

Posted in SQL

Chained data using single SQL Query (Fixed Length)

In e-commerce sites and in other applications, database sometimes will be designed in such a way that single table has child records in a chained fashion. Like, while defining a Product Type, Category and Sub-Category. A Sub-Category points to a Category in a same table and Category points to a Product Type in a same table. This Chained table has a format of Grand Parent, Parent and Child in same table as:

id parent_id name
1 0 John
2 1 Jacob
3 2 James
4 0 Jessie
5 4 Jemimah
6 5 Julia

Continue reading “Chained data using single SQL Query (Fixed Length)”

Posted in Leadership

Appoint your Leaders – but NOT by how they EAT

When the number of people reporting to you increases, it is the best idea to bring in some hierarchy to reduce the work stress.

Just like when Moses was leading multitude of people from Egypt to God Promised land – Canaan, he was judging the people right from morning to evening. Moses’ father-in-law – Jethro said to him, “What you are doing is not good. You will surely wear yourself out, both you and these people with you. For the task is too heavy for you; you cannot do it alone. Now listen to me. I will give you counsel, and God be with you! You should represent the people before God, and you should bring their cases before God; teach them the statutes and instructions and make known to them the way they are to go and the things they are to do. You should also look for able men among all the people, men who fear God, are trustworthy, and hate dishonest gain; set such men over them as officers over thousands, hundreds, fifties and tens. Let them sit as judges for the people at all times; let them bring every important case to you but decide every minor case themselves. So, it will be easier for you, and they will bear the burden with you. If you do this, and God so commands you, then you will be able to endure, and all these people will go to their home in peace.” So, Moses listened to his father-in-law and did all that he had said.

Continue reading “Appoint your Leaders – but NOT by how they EAT”

Posted in Thoughts

பரிசத்த வாழ்க்கை

பரிசுத்தம் என்பது மிகுதியான சுத்தம் – பாவம் செய்யாமல், தேவன் நம்மிடம் எதிர்பார்க்கும் எதிர்பார்ப்புக்கு ஏற்ப வாழ்தல் ஆகும்.

தேவன் சொல்கிறார், “கர்த்தராகிய நான் பரிசுத்தராயிருக்கிறபடியினாலே நீங்களும் எனக்கேற்ற பரிசுத்தவான்களாயிருப்பீர்களாக” லேவியராகமம் 20:26

Continue reading “பரிசத்த வாழ்க்கை”

Posted in Bible, Thoughts

இயேசு – ஜீவவிருட்சத்திற்கு போகும் வழி

மனிதன் பாவம் செய்தப்பின் ஜீவவிருட்சத்திற்கு போகும் வழியை கர்த்தர் மனுஷனை துரத்திவிட்டு காவல் வைத்தார். நன்மை தீமை அறியத்தக்க கனியை புசித்து மனிதன் தேவர்களை போல ஆகிவிடலாம் என்கிற அற்ப ஆசையை வாஞ்சித்து தேவனிடத்திலான உறவை இழந்தான். ஆவியிலே மரித்தான். சாபங்களை சம்பாதித்தான்.

Continue reading “இயேசு – ஜீவவிருட்சத்திற்கு போகும் வழி”