<?xml version="1.0" encoding="UTF-8"?>
<model xmlns="http://www.mgm-tp.com/a12/picus/model/v2">
    <metadata>
        <name>DomainFoo</name>
        <languages>en</languages>
        <annotation name="roles">admin</annotation>
        <comment/>
        <savedAt>2019-11-01T17:21:54.009+07:00</savedAt>
        <schemaVersion>22.6.0</schemaVersion>
    </metadata>
    <group max="1" id="group_a40fa" name="Base">
        <field id="field_0bb2a" name="Value">
            <number trait="amount"/>
        </field>
    </group>
    <group max="1" id="group_93b02" name="Derived">
        <field id="field_94dcf" name="ValueGross">
            <number trait="amount"/>
        </field>
        <computation id="computation_56993" name="ValueGrossComputation">
            <fieldIdRef>field_94dcf</fieldIdRef>
            <errorCode/>
            <errorCondition>FieldFilled(ValueGross) and ( (  FieldFilled(/Base/Value) and  [ValueGross] != [/Base/Value] * 1.19  ) )</errorCondition>
            <errorMessage>
                <text lang="en">error text for computation of ValueGrossComputation</text>
            </errorMessage>
            <severity>error</severity>
        </computation>
        <field id="field_94dce" name="IsValueGrossShown" transient="true">
            <boolean/>
        </field>
        <computation id="computation_5cf73" name="ShowHideValueGrossComputation">
            <fieldIdRef>field_94dce</fieldIdRef>
            <errorCode/>
            <errorCondition>FieldFilled(IsValueGrossShown) and ( (  FieldFilled(/Base/Value) and  [IsValueGrossShown] != True  ) or (  FieldNotFilled(/Base/Value) and  [IsValueGrossShown] != False  ) )</errorCondition>
            <errorMessage>
                <text lang="en">error text for computation of ShowHideValueGrossComputation</text>
            </errorMessage>
            <severity>error</severity>
        </computation>
    </group>
</model>
