On the IFS Cloud there is a table,
PROJECT_ID_NUMBER_TAB
used by Project_Id_Number_API
But how can we use it, instead of the Project Id Numbers, we would like to uses rules for obtaining a numbering format like [AA][UUUU][NOSEQUENCE], with
- AA Current year
- UUUU a custom field
- and the sequences
How can we achieve this, because when i’m using the PROJECT API
when I’m using
Client_SYS.Clear_Attr(attr_);
-- Add attributes
Client_SYS.Add_To_Attr('OBJID', OBJID_, attr_);
Client_SYS.Add_To_Attr('OBJVERSION', OBJVERSION_, attr_);
Client_SYS.Add_To_Attr('PROJECT_ID', MCI_NEW_PROJECT_ID, attr_);
Client_SYS.Add_To_Attr('ACTION', ACTION_, attr_);
-- Modify project
PROJECT_API.Modify__(INFO_, OBJID_, OBJVERSION_, attr_, ACTION_);
Project.UPDATE: I got the message that “[PROJECT_ID] cannot be modified”