Quintiq file version 2.0
|
#parent: #root
|
Method O_PreInitialize () derived id:Method_DialogExcelExport_O_PreInitialize
|
{
|
#keys: '[144528.1.180086060]'
|
BaseType: 'Method_LibSOPImpExp_DialogExcelExport_O_PreInitialize'
|
Body:
|
[*
|
// TO OVERRIDE. If any pre-initialization to dialog before showing to user.
|
// FindCreate export object to execute on server
|
MacroPlan.CalendarImportExport().Export( Key::NextPersistentKey(), MacroPlan.CalendarRegistry().GetAllCalendars());
|
exportObj := ExportExcel::FindCreate( MPSync, ApplicationScope.UserName(), guard( MacroPlan.MDSMacroPlan().Name(), '' ) );
|
|
// Set export object into application dataholder (so that labels that depend on the dataholders are notified)
|
ApplicationMacroPlanner.LibSOPImpExp_DataHolderExportBase().Data( exportObj );
|
|
// Create the data sources for user to choose for export
|
LibSOPImpExp_DataSource::CreateDataSources( MPSync, exportObj, true );
|
*]
|
}
|