Quintiq file version 2.0
#parent: #root
Method CreateAccountAssignmentInPeriod (
  shadow[GlobalParameters_MP] owner,
  Period_MP period,
  AccountAssignment aa,
  Real basecost
) id:Method_FormScenarioAnalysisCosts_CreateAccountAssignmentInPeriod
{
  #keys: '[138546.0.808325726]'
  Body:
  [*
    // Creates aaip 
    if( basecost > 0 )
    {
      owner.AccountAssignmentInPeriod( relnew,
                                       Period_MP := period,
                                       AccountAssignment := aa,
                                       BaseCost := basecost                                                                                               
                                     );
    }
  *]
}
