Programmatically Calling Composition Archive
We are trying to execute Archive functionality on compositions table’s on the MPN but getting read only cell error. Here is what we have tried:-
1. Update the ManufacturerPartConstants.TABLE_COMPOSITIONS table’s Status Column value by using IRow.setValue(ManufacturerPartConstants.ATT_COMPOSITIONS_STATUS,"Archived").
2. Update the row of ManufacturerPartConstants.TABLE_COMPOSITIONS table using updateRows(<<hashmap>>) method. Where Hashmap is having key as ManufacturerPartConstants.ATT_COMPOSITIONS_STATUS and value as “Archived”.
Does anyone know the method or constant to archive a Composition record using Agile SDK API? Need some directions/guidance to achieve the functionality.
Thanks.
Dan