Quotes already has Line items functionality so I assume the Cases module is your Quotes module? What your outlining doesn’t make a lot of sense but its not going to be possible to do what you want to do without a decent knowledge of PHP and JavaScript as well as an understanding of how suite works. Adding Lineitems to another module is not a trivial customisation.