Quintiq file version 2.0
|
#parent: #root
|
Method SetRoutingsSourceAndPath (
|
String source,
|
Boolean isexcel,
|
String excelpath
|
)
|
{
|
Description: 'Set the import source and/or excel path of IORouting objects'
|
TextBody:
|
[*
|
// Set the import source and/or excel path of IORouting objects
|
// Routings
|
traverse( this.MPSync(), IORouting, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// RoutingSteps
|
traverse( this.MPSync(), IORoutingStep, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// OperationBOMs
|
traverse( this.MPSync(), IOOperationBOM, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// OperationLinks
|
traverse( this.MPSync(), IOOperationLink, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// OperationInputGroups
|
traverse( this.MPSync(), IOOperationInputGroup, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// Operations
|
traverse( this.MPSync(), IOOperation, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// OperationInputSets
|
traverse( this.MPSync(), IOOperationInputSet, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
// RoutingConfiguratorViews
|
traverse( this.MPSync(), IORoutingConfiguratorView, e,
|
e.DataSource().Length() = 0
|
)
|
{
|
e.SetDataSource( source, isexcel, excelpath );
|
}
|
*]
|
}
|