KRACOEUS-8342

KRACOEUS-8342
Sync to Limits - direct cost, period total fix
validation and sync cost.
where did all this javascript come from?  Is it copied over from rice in order to make changes or something?