TMS IAE Allocation .Net conversion