01-14-2021, 09:28 PM
I duplicated the profile(created a new one based on the old one), reallocated some users and it worked . I think it was something with the profiles, those users had the same view access like me just different profile and some different groups.. So in the end it works . here is the map i'm using it does what it supposed to be doing, defaulting a custom number field to remaining units:
Sorry for the false alarm
Code:
<map>
<originmodule> <originname>InventoryDetails</originname> </originmodule>
<dependencies>
<dependency>
<field>cf_1218</field>
<condition>[{"groupid":"1",
"columnname":"cf_1218",
"comparator":"e",
"value":"1",
"columncondition":""}]
</condition>
<actions>
<function>
<field>cf_1220</field>
<name>fieldDep_CopyFieldValue</name>
<parameters>
<parameter>remaining_units</parameter>
</parameters>
</function>
<change>
<field>cf_1218</field>
<value>0</value>
</change>
</actions>
</dependency>
<dependency>
<field>inventorydetails_no</field>
<actions>
<function>
<field>cf_1220</field>
<name>fieldDep_CopyFieldValue</name>
<parameters>
<parameter>remaining_units</parameter>
</parameters>
</function>
<readonly>
<field>quantity</field>
</readonly>
<readonly>
<field>units_delivered_received</field>
</readonly>
<readonly>
<field>remaining_units</field>
</readonly>
<readonly>
<field>inventorydetails_no</field>
</readonly>
</actions>
</dependency>
</dependencies>
</map>
Sorry for the false alarm