yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
Job JobSynchronizeDemoSupplyChainOverview
{
  Description: 'This job is to load Supply chain overview.xml from the demo data folder into the Supply chain view of this MacroPlan. The priority has to be low because in the designer, there is also a method SupplyChainDiagramSetSupplyChainView that will attempt to select supply chain view if it has been created. Without using a job to create/find the supply chain view, we will create it here but when the designer method is fired, it may not be synced yet thus would result in error. So the solution is to set this to the lowest priority and let the designer method create the supply chain view and this job will just update the value of the view.'
  OnFailureText: "info( '===== JobSynchronizeDemoSupplyChainOverview Failed =====', errormessage );"
  Priority: 'Low'
  Text:
  [*
    // Import supply chain overview from the demo dataset
    this.SynchronizeDemoSupplyChainOverview( democat );
  *]
  Arguments:
  [
    Argument democat { Type: String }
  ]
}