How to create function to push data from one Custom Module to Deal?

How to create function to push data from one Custom Module to Deal?

Hi all,

I'm trying to shorten the sales process at this moment, I've created a Quotation Number module that generates running quotation number.

What I would like to do is to create an automation/function that pushes the data entered from Quotation Number module to the Deal module (where we keep track of all the existing sales prospect).

Anyone can assist a bit on how to do i start the function coding?