Business Mapping:: SalesOrder2PurchaseOrder

Name:
SalesOrder2PurchaseOrder
Type:
businessmapping
Rule Type:
Field Mapping
Description:
Convert a SalesOrder into a PurchaseOrder
Keywords:
salesorder, purchaseorder, conversion
Version:
1.0
Release Date:
2016-11-07
License:
MPL
Price:
Free
Distribution:
Free
Author Name:
MajorLabel
Author EMail:
info(at)majorlabel(dot)nl
Support EMail:
info(at)majorlabel(dot)nl


<map>
<originmodule>
  <originid>22</originid>
  <originname>SalesOrder</originname>
</originmodule>
<targetmodule>
  <targetid>21</targetid>
  <targetname>PurchaseOrder</targetname>
</targetmodule>
<fields>
  <field>
    <fieldname>ship_street</fieldname>
    <fieldID>356</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>ship_street</OrgfieldName>
        <OrgfieldID>396</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_city</fieldname>
    <fieldID>358</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>ship_city</OrgfieldName>
        <OrgfieldID>398</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_code</fieldname>
    <fieldID>362</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>ship_code</OrgfieldName>
        <OrgfieldID>402</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>ship_country</fieldname>
    <fieldID>364</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>ship_country</OrgfieldName>
        <OrgfieldID>404</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_street</fieldname>
    <fieldID>355</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>{YOUR ADDRESS}</OrgfieldName>
        <OrgfieldID>CONST</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_city</fieldname>
    <fieldID>357</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>{YOUR TOWN}</OrgfieldName>
        <OrgfieldID>CONST</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_code</fieldname>
    <fieldID>361</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>{YOUR ZIPCODE}</OrgfieldName>
        <OrgfieldID>CONST</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>bill_country</fieldname>
    <fieldID>363</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>{YOUR COUNTRY}</OrgfieldName>
        <OrgfieldID>CONST</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
  <field>
    <fieldname>subject</fieldname> <!-- Optional: autofill subject -->
    <fieldID>333</fieldID>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>Salesorder:</OrgfieldName>
        <OrgfieldID>CONST</OrgfieldID>
      </Orgfield>
      <Orgfield>
        <OrgfieldName>subject</OrgfieldName>
        <OrgfieldID>370</OrgfieldID>
      </Orgfield>
      <delimiter> </delimiter>
     </Orgfields>
  </field>
</fields>
</map>

coreBOS Documentación