10-31-2016, 02:06 PM
Okay, the goal is this: we have payment conditions coming from Exact Online. A field is created in Accounts, Quotes and SalesOrders (and Invoices of course) that all have their origin in the same table. That table is synchronised with Exact. When a SalesOrder is created or edited, it needs to see if there is a quote related. I've made a workflow for this, that just checks if the quote field for an invoice isn't empty. When the quotefield in a salesorder is empty, I'd like to use my business map. That looks like this:
I've chosen "Mapping" as the maptype and set "SalesOrder" as the target module. The mapname is "Accounts2SalesOrder".
Now for my problem, I can't select the Business map from the workflow task. When the popup opens, it says there are no maps...
PHP Code:
<map>
<originmodule>
<originid>6</originid>
<originname>Accounts</originname>
</originmodule>
<targetmodule>
<targetid>22</targetid>
<targetname>SalesOrder</targetname>
</targetmodule>
<fields>
<field>
<fieldname>exact_payment_cond</fieldname>
<fieldID>933</fieldID>
<Orgfields>
<Orgfield>
<OrgfieldName>exact_payment_cond</OrgfieldName>
<OrgfieldID>932</OrgfieldID>
</Orgfield>
</Orgfields>
</field>
</fields>
</map>
Now for my problem, I can't select the Business map from the workflow task. When the popup opens, it says there are no maps...