07-13-2018, 02:36 PM
I can confirm this is still not working as expected (July 2018 version)
Converting from an SO to an invoice WILL default the assigned user to the current one as far as I've tested. But when I use the following business map to control duplicates:
The invoice duplicate WILL default to another user, but not the current one, it defaults to a user that isn't even active. I also tried the above map with the EXPRESSION type.
Then I tried:
With and without the delimiter. That defaulted to a group. One where the current user is not associated with.
Converting from an SO to an invoice WILL default the assigned user to the current one as far as I've tested. But when I use the following business map to control duplicates:
Code:
<map>
<originmodule>
<originname>Invoice</originname>
</originmodule>
<targetmodule>
<targetname>Invoice</targetname>
</targetmodule>
<fields>
<field>
<fieldname>assigned_user_id</fieldname>
<Orgfields>
<Orgfield>
<OrgfieldName>$(assigned_user_id : (Users) id)</OrgfieldName>
<OrgfieldID>TEMPLATE</OrgfieldID>
</Orgfield>
</Orgfields>
</field>
</fields>
</map>
The invoice duplicate WILL default to another user, but not the current one, it defaults to a user that isn't even active. I also tried the above map with the EXPRESSION type.
Then I tried:
Code:
<map>
<originmodule>
<originname>Invoice</originname>
</originmodule>
<targetmodule>
<targetname>Invoice</targetname>
</targetmodule>
<fields>
<field>
<fieldname>assigned_user_id</fieldname>
<Orgfields>
<Orgfield>
<OrgfieldName>$(assigned_user_id : (Users) first_name)</OrgfieldName>
<OrgfieldID>TEMPLATE</OrgfieldID>
</Orgfield>
<Orgfield>
<OrgfieldName>$(assigned_user_id : (Users) last_name)</OrgfieldName>
<OrgfieldID>TEMPLATE</OrgfieldID>
</Orgfield>
<delimiter> </delimiter>
</Orgfields>
</field>
</fields>
</map>
With and without the delimiter. That defaulted to a group. One where the current user is not associated with.