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
-
35:08
Colion Noir
10 hours agoA Bear, an AR-15, and a Home Invasion
26.1K7 -
3:05:55
TimcastIRL
6 hours agoJimmy Kimmel Refuses To Apologize Over Charlie Kirk Comments, Blames Gun Violence | Timcast IRL
176K152 -
2:44:24
Laura Loomer
9 hours agoEP144: Trump Cracks Down On Radical Left Terror Cells
43.5K20 -
4:47:56
Drew Hernandez
11 hours agoLEFTISTS UNITE TO DEFEND KIMMEL & ANTIFA TO BE DESIGNATED TERRORISTS BY TRUMP
37.5K16 -
1:12:32
The Charlie Kirk Show
7 hours agoTPUSA AT CSU CANDLELIGHT VIGIL
88.8K59 -
6:53:45
Akademiks
9 hours agoCardi B is Pregnant! WERE IS WHAM????? Charlie Kirk fallout. Bro did D4VID MURK A 16 YR OLD GIRL?
63.8K7 -
2:26:15
Barry Cunningham
8 hours agoPRESIDENT TRUMP HAS 2 INTERVIEWS | AND MORE PROOF THE GAME HAS CHANGED!
132K88 -
1:20:27
Glenn Greenwald
9 hours agoLee Fang Answers Your Questions on Charlie Kirk Assassination Fallout; Hate Speech Crackdowns, and More; Plus: "Why Superhuman AI Would Kill Us All" With Author Nate Soares | SYSTEM UPDATE #518
117K33 -
1:03:06
BonginoReport
10 hours agoLyin’ Jimmy Kimmel Faces The Music - Nightly Scroll w/ Hayley Caronia (Ep.137)
168K64 -
55:40
Donald Trump Jr.
13 hours agoThe Warrior Ethos & America's Mission, Interview with Harpoon Ventures Founder Larsen Jensen | Triggered Ep275
103K56