hongjli
2023-10-18 0ce2394de3db9bcccd6da6bc68cb2eedf64e5f3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Quintiq file version 2.0
#parent: #root
StaticMethod DoASyncOnException (
  Exception exception,
  GlobalOTDTable globalOTDTable,
  Key macroPlanMDSID
)
{
  TextBody:
  [*
    options := DatasetFindOptions::Construct( "GlobalOTDLog" ).IncludeOffline( true );
    
    mdskey := DatasetController::FindUnique( options );
    
    MDSGlobalOTDLog::Root( mdskey ) -> DataDistributionLog::OnError( macroPlanMDSID, 
                                                                     exception.ErrorNumber(), 
                                                                     exception.Message() );
  *]
}