Quintiq file version 2.0
|
#parent: lstLibDEF_SetMeta_780
|
Response OnClick (
|
LibDEF_SetMeta selection
|
) id:Response_lstLibDEF_SetMeta_780_mnUpdateSet_OnClick
|
{
|
#keys: '[143398.0.680038992]'
|
CanBindMultiple: false
|
DefinitionID => /lstLibDEF_SetMeta_780/Responsedef_lstLibDEF_SetMeta_780_WebMenu_OnClick
|
GroupServerCalls: true
|
Initiator: 'mnUpdateSet'
|
Precondition:
|
[*
|
return Form.UpdateSetAllowed( selection );
|
*]
|
QuillAction
|
{
|
Body:
|
[*
|
// Update Set
|
prompt := Translations::LibDEF_ConfirmationOverwriteSetData();
|
if ( WebMessageBox::Question( this, prompt, Translations::LibDEF_YesNo() ) = 0 )
|
{
|
dtd := GlobalStateDataExchangeFramework.GetDataTransformationDefinition();
|
set := LibDEF_Set::GetSet( LibDEF_DataRepository, selection.GUID() );
|
|
dtd.UpdateSet( set );
|
}
|
*]
|
}
|
}
|