Premium Only Content

2020: Automagically Associate Zoho Project Invoice with Deal through Zoho Books workflow
Do you use Zoho Projects to manage your project budgets and performance? If so, you likely invoice through your project in Zoho Projects. Have you noticed that even though the project is associated with the deal, it doesn't attach the invoice to the deal in the Zoho Finance related list in CRM?
Maybe you haven't.
This video shows you how to use a Zoho Books workflow and custom function to re-associate the Project invoice to the associated deal.
The included code:
//This is a sample function. Uncomment to execute or make changes to this function.
invoiceID = invoice.get("invoice_id"); i
nvoicedate = invoice.get("date").toDate();
organizationID = organization.get("organization_id"); t
heLineItems = invoice.get("line_items");
for each li in theLineItems
{
theProjectID = li.get("project_id");
}
info theProjectID; theProject = zoho.books.getRecordsByID("Projects",organizationID,theProjectID);
info theProject;
theProjectName = theProject.getJSON("project").getJSON("project_name");
info theProjectName;
theDealRecord = zoho.crm.searchRecords("Deals","Deal_Name:equals:" + theProjectName);
theCRMProjectID = theDealRecord.getJSON("id");
mp = Map();
mp.put("zcrm_potential_id",theCRMProjectID);
resp = zoho.books.updateRecord("Invoices",organizationID,invoiceID,mp);
Link to start your free trial of Zoho ONE: https://www.edkinsgroup.com/zoho-free-trial.html
The YouTube Zocademy channel is meant to provide educational information regarding business best practices with an emphasis on the Zoho Platform. Our objective is to empower people like yourself to learn how to get more done with less.
We also have a website where you can purchase mini-courses to learn more in depth. We also offer memberships. The memberships include access to all mini-courses each month.
Feel free to visit at: www.zocademy.com
-
LIVE
The Shannon Joy Show
2 hours agoAI Mega Bubble - $1 Trillion Tech Scheme Raises Red Flags - LIVE W/ Rocket Dollar CEO Henry Yoshida
139 watching -
1:33:41
Dinesh D'Souza
12 hours agoDragon's Prophecy Film
14.8K11 -
LIVE
Right Side Broadcasting Network
4 hours agoLIVE: President Trump Hosts a Cabinet Meeting - 10/9/25
6,032 watching -
LIVE
The Mel K Show
1 hour agoMORNINGS WITH MEL K -Deja Vu? Decades of Crimes Without Consequences 10-9-25
453 watching -
LIVE
Grant Stinchfield
51 minutes agoTrump’s DOJ to Crush ANTIFA’s Cash Cows
149 watching -
1:00:11
VINCE
3 hours agoTrump's Greatest Deal Yet | Episode 143 - 10/09/25
133K76 -
LIVE
LFA TV
12 hours agoLIVE & BREAKING NEWS! | THURSDAY 10/9/25
4,009 watching -
LIVE
MattMorseTV
2 hours ago $2.08 earned🔴Trump's Cabinet Meeting BOMBSHELL.🔴
1,133 watching -
The Big Migâ„¢
3 hours agoPeace In The Middle East! Bring On The Nobel Peace Prize
22K11 -
20:24
Clownfish TV
6 hours agoDisney World INSANE Price Hikes: Tickets Cost Over $200 Now?! | Clownfish TV
10K11