RE: Using Resource in Sales (Invoice) one sales line: how to distributed to multiple G_L Accounts
I am not entirely sure about the question, maybe some screenshots will help.
However, from what I have understood, you want to distribute multiple GL accounts using just one Resource in Sales Invoice using a % distribution method.
It does not look like a customization, rather a process improvement. I'd suggest create 2-3 different resources, attach different GL accounts on these resources card & use 2-3 lines of these Resource type and distribute your amount accordingly, manually in each line and post the invoice.
Let me know if you still have any questions