SalesOrder2SalesOrder

Business Mapping - Field Mapping

Name:
SalesOrder2SalesOrder
Type:
Business Mapping
Subtype:
Field Mapping
Description:
Automate address fields when duplicating a SalesOrder to take Account's address in stead of source SalesOrder
Keywords:
salesorder duplicate conversion
Release Date:
2016-11-07
Author Name:
MajorLabel
<map>
<originmodule>
  <originname>SalesOrder</originname>
</originmodule>
<targetmodule>
  <targetname>SalesOrder</targetname>
</targetmodule>
<fields>
  <field>
    <fieldname>sostatus</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>Created</OrgfieldName> { Set the status to "Created" regardless of the source SO }
        <OrgfieldID>CONST</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_street</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) ship_street)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_street</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) bill_street)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_city</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) bill_city)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_city</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) ship_city)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_code</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) bill_code)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_code</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) ship_code)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_country</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) ship_country)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_country</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(account_id : (Accounts) bill_country)</OrgfieldName>
        <OrgfieldID>FIELD</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
</fields>
</map>


Next | Chapter 2: Contacts2Accounts.


Updates