Ashok_Yadav
4 years agoCreator II
BOM Editing issue
Hello Guys,
I want update Part BOM Quantity By Nash Tool.
Using below AML .
<AML>
<Item type="Part BOM" action="edit" where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') ">
<quantity>9</quantity>
</Item>
</AML>
But I am not able update Quantity . I am getting below error message.
-<SOAP-ENV:Envelope>
-<SOAP-ENV:Body>
-<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.ItemAnalysisException</faultcode>
<faultstring>Item Analysis Error. Some Items have incorrect attribute/property values syntax. See details for more information. Details: Incorrect value: "where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') "". Incorrect value explanation: "select" is forbidden in where attribute. Incorrect value: "where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') "". Incorrect value explanation: Item hasn't property referred to column with name "ITEM_NUMBER" </faultstring>
-<detail>
<af:legacy_detail>Item Analysis Error. Some Items have incorrect attribute/property values syntax. See details for more information. Details: Incorrect value: "where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') "". Incorrect value explanation: "select" is forbidden in where attribute. Incorrect value: "where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') "". Incorrect value explanation: Item hasn't property referred to column with name "ITEM_NUMBER" </af:legacy_detail>
<af:exception message =" Item Analysis Error. Some Items have incorrect attribute/property values syntax. See details for more information. Details: Incorrect value: "where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') "". Incorrect value explanation: "select" is forbidden in where attribute. Incorrect value: "where="related_id=(select id FROM innovator.Part WHERE ITEM_NUMBER='424-01-00001' and IS_CURRENT='1') "". Incorrect value explanation: Item hasn't property referred to column with name "ITEM_NUMBER" " type =" Aras.Server.Core.ItemAnalysisException " />
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Can you please help me ?
Regards
Ashok Kumar Yadav