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
BEK TV
19 hours agoTrent Loos in the Morning - 10/09/2025
151 watching -
10:44
VSOGunChannel
13 hours ago $0.66 earnedANTIFA Handbook Author Flees the USA
5.1K5 -
LIVE
The Bubba Army
21 hours agoPeace In The Middle East? - Bubba the Love Sponge® Show | 10/09/25
2,471 watching -
LIVE
Times Now World
10 days agoLIVE Jeffrey Sachs | Netanyahu Turned U.S. Military Into His Own War Machine | Times Now World
135 watching -
LIVE
PudgeTV
8 hours ago🔵 God of War: Ragnarok - Gaming on Rumble | Rage Inducing Gifted Games End of Week 1
172 watching -
LIVE
SynsFPS
4 hours ago|🔴COD Plays/Fails🔴|
73 watching -
14:15
Actual Justice Warrior
1 day agoDemocrat Says Republican Kids Should BE KILLED
41.5K43 -
10:20
Zoufry
7 days agoThe Hunt for The Real Life Walter White
17.9K2 -
15:10
Dr Disrespect
1 day agoI FINALLY Beat Baby Steps
110K15 -
2:38:29
MattMorseTV
17 hours ago $14.23 earned🔴Trump's Counter-Antifa CONFERENCE.🔴
23.3K97