• prasanna kovuri
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,

I have a custom object that have nearly 20 record types on it. this object is related list on some other object. parent object have two types of records. Here what is the problem exactly I need to show some record types under parent1 type record and remaing record types on parent2 type record when user clicks on new button on the related list. 

can you please provide me the sample visualforce and apex code to acheive this.

Thanks in advance.
I have a String dtme = "20150901174244"(YYYYMMDDHHMMSS)  I need to convert it to a DateTime in APEX like 01/09/2015 5:42 PM.   Would someone be able to show me the code to do this properly?

 any help is much appreciated.