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
#12
Great! Thanks for sharing
Joe
TSolucio
Reply
#13
And thank you for your dedication and patience with us, novices Wink
The map above is a nice example of also using a custom checkbox in the condition of the first dependency Wink.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)