Quintiq file version 2.0
|
#parent: #root
|
StaticMethod Create (
|
PeggingResult peggingResult,
|
SalesVolumePanelAllocationInOrder salesVolumePanelAllocationInOrder
|
)
|
{
|
TextBody:
|
[*
|
if ( peggingResult.SupplyType() = "产线供应" ) {
|
salesVolumePanelAllocationInOrder.SalesVolumePanelAllocationOrderAnalyse( relnew,
|
DependentProductID := peggingResult.ProductID(),
|
DependentStockingPointID := peggingResult.StockingPointID(),
|
DependentDate := peggingResult.StartDate(),
|
DependentQuantity := peggingResult.FulfillmentQuantity(),
|
UnitOfMeasurementName := peggingResult.UnitOfMeasurementName() );
|
}
|
|
traverse ( peggingResult, Child, cpr ) {
|
SalesVolumePanelAllocationOrderAnalyse::Create( cpr, salesVolumePanelAllocationInOrder );
|
}
|
*]
|
}
|