Alternative views/forms for Parts

Hello,

I want differents views for my ItemType "Part" depending the Type/Classification of the part. 

I added my views to the ItemType Parts and affected the correct classification to each view 

The form are geneated by Aras . For the test I only change the background color  of the form

When I create a new part, the correct Form is oppened  (Green background for Type PCB): 

BUT : when I click on Save Nothing is done !! 

I have to close the windows to see my Parts in the list 

And re-open the part and then I can save it. 

In the log on the server i saw that the ApplyItem  action is not called .

What is wrong in my customization of the ItemType ? 

Parents Reply Children
  • オフライン in reply to AngelaIp

    Yes all the fields in the copied form have a datasource. 

    I don't think the problem is the form because if I associed the "copied form" as default without Classification  like this

    it works when I create a new part without classification. 

    I bug appears when I create a new part with a Classification not null . 

    I'm  joining  the log file  of the creation of a part name testlog2 if that help you and me!!) 

    <event time="2021-01-05 16:17:44Z" reason="soap_action" TickCount="339229408" dt="0" message="ApplyItem" />
    <event time="2021-01-05 16:17:44Z" reason="requestDom" TickCount="339229408" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <ApplyItem>
    <Item isNew="1" isTemp="1" type="Document" action="get" select="major_rev" orderBy="generation desc">
    <item_number>testlog2</item_number>
    <generation condition="like">*</generation>
    <is_released>1</is_released>
    </Item>
    </ApplyItem>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:17:44Z" reason="Aras.DerivedRelationships.Synchronization" TickCount="339229408" dt="0" message="&#xD;&#xA;before call of ProcessNode&#xD;&#xA;Working Set&#xD;&#xA;Qual_Item;orig_root_set;new_root_set;predecessors;successors;orig_succs&#xD;&#xA;" />
    <event time="2021-01-05 16:17:44Z" reason="performance" TickCount="339229408" dt="0" message="0" />
    <event time="2021-01-05 16:17:44Z" reason="responseDom" TickCount="339229408" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault xmlns:af="">www.aras.com/InnovatorFault">
    <faultcode>0</faultcode>
    <faultstring><![CDATA[No items of type Document found.]]></faultstring>
    <detail>
    <af:legacy_detail><![CDATA[No items of type Document found.]]></af:legacy_detail>
    <af:legacy_faultstring><![CDATA[No items of type 'Document' found using the criteria:
    <Item isNew="1" isTemp="1" type="Document" action="get" select="major_rev" orderBy="generation desc"><item_number>testlog2</item_number><generation condition="like">*</generation><is_released>1</is_released></Item>
    ]]></af:legacy_faultstring>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:17:44Z" reason="soap_action" TickCount="339229612" dt="0" message="ApplyItem" />
    <event time="2021-01-05 16:17:44Z" reason="requestDom" TickCount="339229627" dt="15" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <ApplyItem>
    <Item isNew="1" isTemp="1" type="Part" action="get" id="D41AECF779EF41CF9319D3D359852394" select="xp-*(@permission_id)" />
    </ApplyItem>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:17:44Z" reason="Aras.DerivedRelationships.Synchronization" TickCount="339229627" dt="0" message="&#xD;&#xA;before call of ProcessNode&#xD;&#xA;Working Set&#xD;&#xA;Qual_Item;orig_root_set;new_root_set;predecessors;successors;orig_succs&#xD;&#xA;" />
    <event time="2021-01-05 16:17:44Z" reason="performance" TickCount="339229627" dt="0" message="15" />
    <event time="2021-01-05 16:17:44Z" reason="responseDom" TickCount="339229627" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault xmlns:af="">www.aras.com/InnovatorFault">
    <faultcode>0</faultcode>
    <faultstring><![CDATA[No items of type Part found.]]></faultstring>
    <detail>
    <af:legacy_detail><![CDATA[No items of type Part found.]]></af:legacy_detail>
    <af:legacy_faultstring><![CDATA[No items of type 'Part' found using the criteria:
    <Item isNew="1" isTemp="1" type="Part" action="get" id="D41AECF779EF41CF9319D3D359852394" select="xp-*(@permission_id)" />
    ]]></af:legacy_faultstring>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:28:33Z" reason="soap_action" TickCount="339877815" dt="78" message="ApplyItem" />
    <event time="2021-01-05 16:28:33Z" reason="requestDom" TickCount="339877815" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <ApplyItem>
    <Item type="Preference" typeId="7C63771EBC8D46FE8E902C5188033515" id="D3F391FFD94C4662874482614D5FF32A" action="edit" doGetItem="0">
    <config_id keyed_name="Innovator Admin" type="Preference">D3F391FFD94C4662874482614D5FF32A</config_id>
    <created_by_id keyed_name="Innovator Admin" type="User">30B991F927274FA3829655F50C99472E</created_by_id>
    <created_on>2020-05-07T10:09:01</created_on>
    <current_state name="Released" keyed_name="Released" type="Life Cycle State">C363ABDADF8D485393BB89877DBDCFD0</current_state>
    <generation>1</generation>
    <id keyed_name="Innovator Admin" type="Preference">D3F391FFD94C4662874482614D5FF32A</id>
    <is_current>1</is_current>
    <is_released>1</is_released>
    <keyed_name>Innovator Admin</keyed_name>
    <major_rev>A</major_rev>
    <modified_by_id keyed_name="Innovator Admin" type="User">30B991F927274FA3829655F50C99472E</modified_by_id>
    <modified_on>2021-01-05T16:15:10</modified_on>
    <new_version>1</new_version>
    <not_lockable>0</not_lockable>
    <state>Released</state>
    <identity_id keyed_name="Innovator Admin" type="Identity">DBA5D86402BF43D5976854B8B48FCDD1</identity_id>
    <Relationships />
    </Item>
    </ApplyItem>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:28:33Z" reason="ClearCachedItem: Preference" TickCount="339877893" dt="78" message="D3F391FFD94C4662874482614D5FF32A" />
    <event time="2021-01-05 16:28:33Z" reason="Aras.DerivedRelationships.Synchronization" TickCount="339877971" dt="78" message="&#xD;&#xA;before call of ProcessNode&#xD;&#xA;Working Set&#xD;&#xA;Qual_Item;orig_root_set;new_root_set;predecessors;successors;orig_succs&#xD;&#xA;" />
    <event time="2021-01-05 16:28:33Z" reason="performance" TickCount="339877971" dt="0" message="234" />
    <event time="2021-01-05 16:28:33Z" reason="responseDom" TickCount="339877971" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <Result>
    <Item type="Preference" id="D3F391FFD94C4662874482614D5FF32A" />
    </Result>
    <Message>
    <event name="ids_modified" value="D3F391FFD94C4662874482614D5FF32A" />
    </Message>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:28:33Z" reason="soap_action" TickCount="339878112" dt="16" message="Logoff" />
    <event time="2021-01-05 16:28:33Z" reason="requestDom" TickCount="339878112" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <Logoff>
    <logoff skip_unlock="0" />
    </Logoff>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:28:33Z" reason="soap_action" TickCount="339878112" dt="0" message="Logoff" />
    <event time="2021-01-05 16:28:33Z" reason="requestDom" TickCount="339878112" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <Logoff>
    <logoff skip_unlock="0" />
    </Logoff>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <event time="2021-01-05 16:28:33Z" reason="ClearCachedItem: ActiveUser" TickCount="339878127" dt="15" message="0059EBB343834E26991B562D998ED949" />
    <event time="2021-01-05 16:28:33Z" reason="ClearCachedItem: ActiveUser" TickCount="339878127" dt="0" message="Application0059EBB343834E26991B562D998ED949,9D737E8E1F7F48B882CB1B1B1A773D62" />
    <event time="2021-01-05 16:28:33Z" reason="Aras.DerivedRelationships.Synchronization" TickCount="339878127" dt="0" message="&#xD;&#xA;before call of ProcessNode&#xD;&#xA;Working Set&#xD;&#xA;Qual_Item;orig_root_set;new_root_set;predecessors;successors;orig_succs&#xD;&#xA;" />
    <event time="2021-01-05 16:28:33Z" reason="performance" TickCount="339878127" dt="0" message="15" />
    <event time="2021-01-05 16:28:33Z" reason="responseDom" TickCount="339878127" dt="0" />
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
    <SOAP-ENV:Body>
    <LogOffResponse>
    <Result>ok</Result>
    </LogOffResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>