This map fills in the Purchase Order Billing address when a vendor is selected
<map>
<originmodule>
<originname>PurchaseOrder</originname>
</originmodule>
<dependencies>
<dependency>
<field>vendor_id</field>
<actions>
<function>
<field>vendor_id</field>
<name>fieldDep_GetField</name>
<parameters>
<parameter>street,city,state,code,country,postalcode</parameter>
<parameter>bill_street,bill_city,bill_state,bill_code,bill_country,bill_pobox</parameter>
</parameters>
</function>
</actions>
</dependency>
</dependencies>
</map>
Next | Chapter 8: Convert Country field to picklist.