locked
about mapping RRS feed

  • Question

  • Hi eveybody,

    I have to bind to attributes : "cost" in the "product" entity, and cost in "salesorderdetail" entity.

    So I'd like to use mapping customization, but it does not work. It sait that it's not a valid relation, however they both are of the same type et format.

    Moreover , I wonder somethig. I think I read somewhere that mapping tak effect at the moment where it's created, right?

    So if I create a new salesorderdetail, the price won't be map with the price of the product?

    So is there an other solution ti bind this 2 attributes? By coding? Is that possible to use name field of an other entity in the onchange event for instance?

    Tanks for help,

    Arka

    Wednesday, October 13, 2010 9:22 AM

All replies

  • Please make sure data type and lengh of attrubutes are same

    and these attributes are not mapped with other attributs


    Nikkas MIcrosoft Dynamics Crm 4.0 Technology Specialist
    Wednesday, October 13, 2010 10:13 AM
  • while mapping you need to check the data type, length and other parameters.

    aslo there should not be any transitive relationship with that attribute.


    yes.sudhanshu

    http://bproud2banindian.blogspot.com
    http://ms-crm-2011-beta.blogspot.com
    Wednesday, October 13, 2010 12:16 PM
  • Hi, thanks for your answer.

    I checked as you told to me: they are both money type and are not mapped with other attributes.

    But I wonder about lenght, what's lenght of an attributes? Where can I check this?

    Wednesday, October 13, 2010 1:02 PM
  • just open the attribute and check in the properties.

    like decimal places etc.


    yes.sudhanshu

    http://bproud2banindian.blogspot.com
    http://ms-crm-2011-beta.blogspot.com
    Wednesday, October 13, 2010 3:10 PM
  • Ok thanks, I think i found the problem thanks to you.

    Indeed one of the attribute has a strange decimal place :s

    It seems to be a system field because i can't change it, and is value doesn't appear in the picklist of other attributeof this type:

    (it's in french):"Précision décimal des tarifs"

    I'll try to put the maximal range for the other attributes, in order to check that, but if you have other solution i'll take it too^^

    Wednesday, October 13, 2010 3:40 PM
  • no there is no other soluiotn rather than this.

    you have to adjust youe custom attribute as per the system attribute as you can not chage the system attribute.

     


    yes.sudhanshu

    http://bproud2banindian.blogspot.com
    http://ms-crm-2011-beta.blogspot.com
    Thursday, October 14, 2010 5:56 AM
  • Hi again,

    Well I changed the decimal places of my custom attribute to th maximum and mapping is now create :)

    But I have a new problem... The value of my source field does not appear in the target field.

    I'm sure I take the right field name and mapping between this 2 attributes exist, so....

    Have I not understood mapping principle? Or have I forgot something?

    Thursday, October 14, 2010 7:22 AM
  • hi arkanan,

     

    are creating the child record from the parent record or independently.

    if you will create it with in the parent record , then only it will get mapped.


    yes.sudhanshu

    http://bproud2banindian.blogspot.com
    http://ms-crm-2011-beta.blogspot.com
    Thursday, October 14, 2010 7:29 AM