Do you have a field that is used to identity that it has been posted? If so use that to enable or disable the transaction button?
Set the auto declaration property of the button control to Yes. In the active method of the data source use that control.
Example : If transactions is your button name. transactions.enabled(table.Posted). Posted is the field the used to identify it has been posted.
BTW, what is your form template? Are you using any interaction class?
No interaction class ,form name is inventjournalCount it is lines form header level form is inventjournaltable in this form posted check box is there based on this condition we need to enable and disable the button , iam trying the data is not showing