Hi,
I have issue related to BUG 154940 (from 23.7.2020) what is still unsolved.
// we need to add a text field for enumeration field since there is a bug to send value of multi select enumeration values to plsvc function.
Examples in CORE are from files:
\crm\model\crm\BusinessOpportunityPipeline.client
\crm\model\crm\BusinessOpportunityPipelineHandling.projection
\crm\source\crm\database\BusinessOpportunityPipelineHandling.plsvc
IFS Developer Studio 22.1.8682
IFS Cloud 22R1 SU3
Scenario:
I want to create Dialog with one field - Multiselect Enumeration. Enumeration is created in projection. Default options are checked by current company. On OK button is executed some process.

Problems:
Structureattributes ignore parametersdefaultandfetchso default values must be fetched in command and provided as input parameters to dialog-
Multiselect Enumeration fielddefault value must be provided in wholestructureotherwise framework does not know correct datatype (array vs. enumeration)-
- Default values for
multiselect enumerationmust not be done asText_Arrbut asVARCHAR2inEnumerateform - separated with^eg.:BS2016^BS2018^ - There is no way how to call
functionwithmultiselect enumeration-
-


Error - Unexpected token B in JSON at position 0 -

StatementIds@odata.typeshould be#Collection(IfsApp.CCsFinStatementsHandling.CCsFinStmntDef)
-
-
-

-


-
-
-
There is no way how to convert value of
multiselect enumerationto text incommand-
stringifyis not usable forEnumeration(Error - Cannot read properties of undefined (reading 'map')-
also there is very poor "documentation”
Command - Technical Documentation For IFS Cloud
-
-
IDK about any property of field to extract value as text
-
BUG 154940 solution / workaround:
In this BUG is used Assistant, value of multiselect enumeration is saved to database and in CRUD_Create/CRUD_Update/.. is its value copied into another attribute of text type. in Next step is called Action with usage of value of this Text field.



I don’t think this is good workaround, there must be some way, how to solve it in command.
I will try to implement it via query and itempicker or bunch of checkboxes… But it means use something else then enumeration.
Do you know about any another workaround? Better documentation to command possibilities? Knowledge about BUG solution?
Thanks
BR

