Link Specification–Interview Question.

Link specification is a property in business component field object. This is a common question asked in interview about the purpose of this property. The question can be

What is the use of Link Specification property at Field object?
 

Answer:

Link Specification property ensures that the value of this field can be passed to the Child BC via link. In other words if this property is set to true only then Child BC can refer get the value as pre-default or post-default with syntax ‘BC Name.Field Name’

To make it clearer I have a field SR Number in Service Request BC and I want to pre-default the value in the Activities (child of SR) whenever an Activity is created. These are the steps I am going to follow to accomplish this.

  • Set the Link Specification Property of SR Number to true.
  • Go to Activity BC Select the field that you want pre-default the value with SR Number.
  • Write Parent: ‘Service Request.SR Number’ and you are done.

You can specify more than one parent in the pre-default values separated by commas. The list is checked from first to last until a value is found example

Parent: ‘Service Request: SR Number’, ‘Opportunity.Opty Id’

You need to give space after every comma otherwise this is not going to work properly.

You can also specify system functions after the parent value calls example

Parent: ‘Service Request.SR Number’, System: Currency

Related Questions

Subscribe / Share

Article by neel

Authors bio is coming up shortly. neel tagged this post with: , Read 38 articles by neel
  • siebelnewbie
    how do i get the parent pre default value in a script
  • pragany
    hai neel ur doing well, iam very surprising that you r great man with great ideas sharing your knowledge with us
    I resently faced one problem with link specification is an interview question when i answer this she is wondered and asking me are you sure are you sure, i just said iam sure but she is not satisfied well i dont know what happens later for this
    anyway iam not feeling of lossing that interview but i want to know any other purpose we use. if it is there specify that
    thank you
  • Maggi
    It was a good post. I tried to implement this.

    I gave the Predefault value for the field 'Comments' in Contact BC as
    Parent: 'Account.Account Status'.

    In the Account BC, the field "Account Status" had the link specification property set to true. But even when I changed the link specification to false, the PreDefaultValue is still working.

    Pls clarify this confusion.
  • neel
    The only reason I can think of this behaviour is that Account Status field must be exposed on UI that is why it will not give any error.
    Can you try this for a field that is not exposed on UI or doesn't have 'Force Active' Flag checked to true.

    I will try to implement the same at my end and will update of results
  • Sohom
    The coments by newbie are really very self explanatory and cool.

    About the Force active issue i woud like to mention that whenever we try to achieve any toggle or any fileds value updation instantly we can use Force active as this uppdates the DATABASE immediatel\ly showing its efect once you have just made the entry it forces that particular field to pickup the value and act upon it ,but this should be used minimally coz it gives performance issues
  • newbie
    Link is used when you want to have 1:M OR M:M relationship between to BC's...

    For 1:m relationship we will have Source Field(SF) & Destination Field(DF). Whereas for M:M you wouldn't have any SF or DF rather you would have intersection table, Parent Foreign Key Colum and Child Foreign Key Column. The Foreign Key columns...
    For example Account/Contact has an M:M Link where the intersection table s S_PARTY_PER,
    Parent Foreign Key Column (Inter Parent Column)is PARTY_ID
    Child Foreign Key Column (Inter Child Column)is PER_ID

    Example for 1:M is Account/Action:

    SF- Primary of the parent
    DF - Foreign key of the child (Account Id)

    Hope this helps...
  • Gopal Raturi
    Very good explanation Neel can u guide me how to make a link between BCs and how to determine table and inter parent and inter child column
  • neel
  • siva
    Hi i have one query i know the Force active but i need in which situation we can Use this. ple give me with good scenario ple let me know.....



    Regards
    Siva
  • Suryaa
    Hi,
    Good and very simple explanation for Link Specification, for interview questions.

    It will nice to have detail interview question and its answers.
  • Soj
    Good One!!!but it would have been quite good,if even you can explian it with the src id and dest id that gets populated for a link.
    and how does it even vary for a VBC.
blog comments powered by Disqus