How to Link/ add income and expense ledger from Item creation form

How to Link/ add income and expense ledger from Item creation form