Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Field Dependency Business Mapping - set value from field
#11
I duplicated the profile(created a new one based on the old one), reallocated some users and it worked Wink. 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 Wink. here is the map i'm using it does what it supposed to be doing, defaulting a custom number field to remaining units:

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 Smile
Reply


Messages In This Thread
RE: Field Dependency Business Mapping - set value from field - radu - 01-14-2021, 09:28 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)