Invoice2CobroPago Amount Due

Business Mapping - Field Mapping

Name:
Invoice2CobroPago Amount Due
Type:
Business Mapping
Subtype:
Field Mapping
Description:
Copy Amount Due field instead of Total Amount when adding Payments to Invoice in coreBOSCRM
Keywords:
payment invoice partial payment
Release Date:
2016-05-10
Author Name:
JPL TSolucio, S.L.

In coreBOSCRM, there is a financial block to control the status of partial payments and pending amounts. This Field Mapping will copy the pending Amount Due field instead of Total Amount when adding Payments to an Invoice.

<map>
  <originmodule>
    <originname>Invoice</originname>
  </originmodule>
  <targetmodule>
    <targetname>CobroPago</targetname>
  </targetmodule>
  <fields>
    <field>
      <fieldname>amount</fieldname>
      <Orgfields>
        <Orgfield>
          <OrgfieldName>amount_due</OrgfieldName>
          <OrgfieldID>778</OrgfieldID>
        </Orgfield>
      </Orgfields>
    </field>
  </fields>
</map>
You will have to manually add the "cbfromid" parameter to the "Add Payment" action.


Next | Chapter 7: PurchaseOrder_FieldDependency.


Updates