Quintiq file version 2.0 
 | 
#parent: #root 
 | 
StaticMethod Create ( 
 | 
  PRHistoryData history 
 | 
) as ERPRequestOfPR 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    // yypsybs Sep-12-2023 (created) 
 | 
    request := history.ERPRequestOfPR( relnew ); 
 | 
     
 | 
    request.BusinessType( history.BusinessType() ); 
 | 
    request.DataID( history.DataID() ); 
 | 
    request.DeliveryDate( history.DeliveryDate() ); 
 | 
    request.MRPCalverNo( history.MRPCalverNo() ); 
 | 
    request.OrganCode( history.OrganCode() ); 
 | 
    request.ProductID( history.ProductID() ); 
 | 
    request.ProductName( history.ProductName() ); 
 | 
    request.ProviderCode( history.ProviderCode() ); 
 | 
    request.ProviderName( history.ProviderName() ); 
 | 
    request.Quantity( history.Quantity() ); 
 | 
    request.StockingPointID( history.StockingPointID() ); 
 | 
    request.UnitOfMeasure( history.UnitOfMeasure() ); 
 | 
     
 | 
    return request; 
 | 
  *] 
 | 
} 
 |