Forum Discussion
Former_Member
9 years agoAccelerator III
Hi Dennis,
The Part got created successfully with generation "1" as per the first code, but failed to create a new generation(2) using the below code in NASH -
<AML>
<Item type="Part" action="version" id="12345678901234567890123456789012"/>
</AML>
Error in NASH - "Object reference not set to an instance of an object"
<SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"><SOAP-ENV:Body><SOAP-ENV:Fault xmlns:af="">www.aras.com/.../faultcode><faultstring><![CDATA[Object reference not set to an instance of an object.]]></faultstring><detail><af:legacy_detail><![CDATA[Object reference not set to an instance of an object.]]></af:legacy_detail><af:exception message="Object reference not set to an instance of an object." type="System.NullReferenceException"/></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
For "Part" itemtype, the generation property is set to Unique in both Aras 9.2 and 11.5 by default
For "Affected Item" itemtype, the generation property is NOT set to Unique in Aras 11.5 but is "Unique" in 9.2 by default.
Please let me know how the version and generation of the item/Part can be incremented through configuration/code changes(there are already around 400 items available in our instance).
- Charita