The requirement was to make the rate field on item table to be mandatory when submitting an item. Used a client script “ValidateLine” function to show an error message while user submit the item line without rate. This works during create and edit of transaction record.