thank you sundar S for reply
I tried this solution.
but i faced other issue that the system doesn't activate the header condition unless i go to the condition tab in the header just navigate or change the pricing date or terms of payment then i go to the line item i found that the header condition is activated and distributed correctly.