Quintiq file version 2.0
|
#parent: #root
|
StaticMethod IsMessageBasedCompatible (
|
ImportObjectGroups importobjectgroups,
|
output String feedback_o
|
) declarative remote as Boolean
|
{
|
Description: 'Check if the selected object group can be source from message'
|
TextBody:
|
[*
|
unsupportedgroups := selectvalues( importobjectgroups, Elements, importedobjectgroup,
|
not importedobjectgroup.IsMessageBasedCompatible(),
|
importedobjectgroup.Name()
|
);
|
|
result := unsupportedgroups.Size() = 0;
|
|
if( not result )
|
{
|
feedback_o := Translations::MPSync_ImportProfile_UnsupportedMessageBasedIntegration( unsupportedgroups.ToString( ", " ) );
|
}
|
|
return result;
|
*]
|
}
|