This commit is contained in:
2022-03-04 21:20:53 +00:00
parent d8266ecc2f
commit efcdfcc936
2 changed files with 8 additions and 9 deletions

View File

@@ -33,11 +33,6 @@ investigate if possible to do notify reporting like before where send report as
{"AType":34,"selectedRowIds":[355],"ReportId":9,"ClientMeta":{"UserName":"AyaNova SuperUser","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOiIxNjQ2NzgyNTc4IiwiaXNzIjoiYXlhbm92YS5jb20iLCJpZCI6IjEifQ.ad7Acq54JCRGitDWKDJFFnqKkidbdaKaFmj-RA_RG5E","DownloadToken":"NdoU8ca3LG4L39Tj2oi3UReeeM7FLevTgbgopTPhGbA","TimeZoneName":"America/Los_Angeles","LanguageName":"en-US","Hour12":true,"CurrencyName":"USD","DefaultLocale":"en","PDFDate":"3/3/22","PDFTime":"3:38 PM"}}
{"rendererror":{"exception":"PuppeteerSharp -> Evaluation failed: TypeError: Failed to execute 'fetch' on 'Window': Failed to parse URL from translation/subset\n at ayPostToAPI (C:\\data\\code\\raven\\server\\AyaNova\\resource\\rpt\\ay-report.js:323:19)\n at ayGetTranslations (C:\\data\\code\\raven\\server\\AyaNova\\resource\\rpt\\ay-report.js:262:27)\n at ayPrepareData (<anonymous>:7:8)\n at ayPreRender (C:\\data\\code\\raven\\server\\AyaNova\\resource\\rpt\\ay-report.js:8:38)\n at eval (eval at waitForPredicatePageFunction (:3:23), <anonymous>:3:9)\n at onRaf (__puppeteer_evaluation_script__:50:35)\n at pollRaf (__puppeteer_evaluation_script__:43:15)\n at waitForPredicatePageFunction (__puppeteer_evaluation_script__:8:22)\r\n"}}
How to implement auto notifications if can report and send from server
@@ -45,8 +40,8 @@ How to implement auto notifications if can report and send from server
not for a specific user but for any customer that matches tags selected on customer
Add customer tags to match to send auto subscription
Add optional report to appropriate subscriptions
add static text message, has no templates like v7 did, just a static message, unless can find a way to replicate the stock message for that notification
Also in that same form be able to set the impersonation values like what time zone, what currency symbol etc whatever is needed for reporting
add text message, has templates like v7 did
Also in that same form be able to set the impersonation values like what time zone, what currency symbol what language id if not server default whatever is needed for reporting
defaults to local current user's settings, language setting etc and saves them
MUST HAVE feature would be to be able to click a button to see which current customers this would send to based on tags!!!
ideally it would display in the form live as any changes are made and if the customer has no email it would highl8ight that somehow
@@ -58,7 +53,11 @@ How to implement auto notifications if can report and send from server
This way users can make infinite different ones by tag with their own reports etc
There are only a few customer specific notifications so it won't be everything
notifications required:
Existing mirror ones:
notifyCSRAccepted, notifyCSRRejected, notifyServiceImminent, notifyWOCompleted (attach wo report), notifyWOCreated
missing ones from v7:
Quote status changed (attach quote report), work order status changed (attach wo report) , wo follow up x days after closed (no report)

View File

@@ -117,7 +117,7 @@ export default {
PMItemLabor: 81,
PMItemLoan: 82,
PMItemPart: 83,
UNUSED_84: 84,
CustomerNotifySubscription: 84,
PMItemScheduledUser: 85,
PMItemTask: 86,
PMItemTravel: 87,