How to Equal Parent Opportunity to Relation Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nishan Perera
    Active Community Member
    • Jan 2019
    • 348

    How to Equal Parent Opportunity to Relation Field

    Hi,

    Is there way to equal in the meeting parent type to relation field ???

    Example:

    I have a relation opportunity one to many. But with the relation, particular data from the opportunity doesn't come, Like opp name, opp id.

    is it possible to fetch the data with parent type with equal relationship ? or is there any other way ??

    Hope this can be done and appreciate your support on this.
    Cheers!
    Nishan.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    I'm not sure if I got it. Do you try to do something like this?
    Code:
    ifThen(
        parentType == 'Opportunity',
        opportunityId = parentId;
        opportunityName = parentName
    )
    OR:

    Code:
    ifThen(
        opportunityId,
        parentType = 'Opportunity';
        parentId = opportunityId;
        parentName = opportunityName
    )
    Last edited by Maximus; 10-24-2019, 09:09 AM.

    Comment

    • Nishan Perera
      Active Community Member
      • Jan 2019
      • 348

      #3
      Thank you max. It worked but the thing is in opportunity There is a Field in Currency type As "currentMonthlyPotentialRevenue" but as per to the attached screenshot there is only showing "currentMonthlyPotentialRevenueCurrency" .

      Could you please help me on this ??
      Attached Files
      Cheers!
      Nishan.

      Comment

      • Nishan Perera
        Active Community Member
        • Jan 2019
        • 348

        #4
        can anyone help me on this ?????
        Cheers!
        Nishan.

        Comment

        • Maximus
          Senior Member
          • Nov 2018
          • 2731

          #5
          I have found out that fields like amount are not supported for Report to fetch them via relation.
          You can try to use the next workaround. Create in the Opportunity entity a new one field of the varchar or int type. After, use Formula to define the currentMonthlyPotentialRevenue value for this field. Chose this field as a column in the report.

          Comment

          • Nishan Perera
            Active Community Member
            • Jan 2019
            • 348

            #6
            is it a system glitch or correct way that amount are not supported for Report to fetch them via relation.?
            Cheers!
            Nishan.

            Comment

            • Maximus
              Senior Member
              • Nov 2018
              • 2731

              #7
              Correct way.

              Comment


              • Nishan Perera
                Nishan Perera commented
                Editing a comment
                Thank you for the information MAX
            Working...