Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogOverwriteFile_OnOK
{
  #keys: '[414996.0.395210951]'
  Body:
  [*
    Form.ApplyChanges();
    
    Archive::RequirementProcessing( Archive, ArchiveExecutionStatus, MacroPlan, ApplicationMacroPlanner.GetUserName(), 
                                    dhOriginalFileNamePR.Data()    , guard( dhBinaryDataPR.Data().AsBinaryValue(), BinaryValue::Construct( 0 ) )    , dhIsPRArchive.Data(),
                                    dhOriginalFileNamePP.Data()    , guard( dhBinaryDataPP.Data().AsBinaryValue(), BinaryValue::Construct( 0 ) )    , dhIsPPArchive.Data(),
                                    dhOriginalFileNameBudget.Data(), guard( dhBinaryDataBudget.Data().AsBinaryValue(), BinaryValue::Construct( 0 ) ), dhIsBudgetArchive.Data(),
                                    dhOriginalFileNamePPA.Data()   , guard( dhBinaryDataPPA.Data().AsBinaryValue(), BinaryValue::Construct( 0 ) )   , dhIsPPAArchive.Data(),
                                    dhOriginalFileNameCurve.Data() , guard( dhBinaryDataCurve.Data().AsBinaryValue(), BinaryValue::Construct( 0 ) ),
                                    dhOriginalFileNameIDS.Data()   , guard( dhBinaryDataIDS.Data().AsBinaryValue(), BinaryValue::Construct( 0 ) ),
                                    true ); 
    
    Form.Close();
  *]
}
