Dear experts ,
how to fetch data to account subcategory and account sub category code while select account category ? please find below screenshot ,please advise me or please share me how to write extension code use al

Dear experts ,
how to fetch data to account subcategory and account sub category code while select account category ? please find below screenshot ,please advise me or please share me how to write extension code use al