Hi Samir,Swapnil Pandhare,
For Generate Document -
Changes required in Create() and in FetchDocumentDetails() of GenerateDocument.cs for Get and Post of the document.
Email Template -
To handle CompanyID = -1 scenario
- We have to add a company with ID -1.
- Add entries for this company in Company Language mapping, Company source product mapping, Company User mapping.
Q: What entries will be there in these tables for -1 ID?
- Change the CompanyID in emailtemplate table.
- Change the GetEmailDetails() of commonroutines to fetch email templates of companyid -1
Create Global Template: Save with -1
Generate Document: handle -1
Email Template : handle-1