Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatically filling relation type fields when creating a record from a related one
#1
Hi,

We are trying to define a Business Mapping that would automatically fill some of the fields on a new record when creating a new record from a related one (i.e. Asset -> Support Ticket; Sales Order -> Purchase Order).
This works fine with Text type fields, however, we cannot make this work for Relation type fields on the creating record.

What would be the proper way to do this to make it work?

Example: we need the Mapping to fill the "Asset" field (cf_713) in the Support Ticket record with the Asset name when creating Support Ticket from Asset. "Asset" field (cf_713) is relation type. Map name is Assets2HelpDesk.

<map>
<originmodule>
 <originid>40</originid>
 <originname>Assets</originname>
</originmodule>
<targetmodule>
 <targetid>13</targetid>
 <targetname>HelpDesk</targetname>
</targetmodule>
<fields>
   <field>
   <fieldname>cf_713</fieldname>
   <Orgfields>
     <Orgfield>
       <OrgfieldName>assetname</OrgfieldName>
       <OrgfieldID>FIELD</OrgfieldID>
     </Orgfield>
    </Orgfields>
 </field>
</fields>
</map>

Many thanks.
Reply


Messages In This Thread
Automatically filling relation type fields when creating a record from a related one - gedas - 09-08-2020, 06:37 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)