From e31787d05cc423301e1a709fef793abe9ac52e45 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 27 Jul 2021 18:11:13 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 28 ++++++++++++++++++++++++++-- ayanova/src/views/svc-quote.vue | 4 ++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 617f4d5d..4831f2ef 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -501,9 +501,33 @@ todo:2 many biz objects are not using new PUT methodology ######################################################################################################################## -CURRENTLY DOING: generate wo from quote code at svc-workorder::created hook - just try it and then iterate and clean up as necessary until it works, this is the ultimate purpose of the quote really +CURRENTLY DOING: quote biz and form have some remnants of wo in them like checking bizrules of scheduling conflicts etc in quote, maybe keep, maybe not, go over and be sure + mainly though quote should not affect inventory at all only the wo, but likely also some biz stuff not needed and viz etc +New plan: a way to generate any form of order from any other even if indirectly: + Generate WO from quote + Generate quote from wo + Generate PM from wo + + Hypothetical paths to do the various conversions: + Quote->wo->PM + Quote->wo + WO->PM + WO->Quote + PM->WO->Quote + PM->WO + + Click on generate, dialog pops up querying if want to also copy attachments / wiki as checkboxes + Does it's thing + +TODO: + quote to workorder "QuoteGenerateServiceWorkOrder" + WO to PM "PMGenerateServiceWorkOrder" + WO to Quote + PM to WO (manual generation outside automatic) + + + quote Plan: diff --git a/ayanova/src/views/svc-quote.vue b/ayanova/src/views/svc-quote.vue index 8b326d16..5f74b715 100644 --- a/ayanova/src/views/svc-quote.vue +++ b/ayanova/src/views/svc-quote.vue @@ -2398,7 +2398,7 @@ function generateMenu(vm) { !vm.obj.userIsRestrictedType ) { menuOptions.menuItems.push({ - title: "QuoteGenerateServiceWorkOrder", + title: "GenerateWorkOrder", icon: "$ayiTools", key: FORM_KEY + ":genwo", vm: vm @@ -2477,7 +2477,7 @@ async function fetchTranslatedText(vm) { "Customer", "QuoteSerialNumber", "WorkOrderSummary", - "QuoteGenerateServiceWorkOrder", + "GenerateWorkOrder", "Contract", "Project", "WorkOrderCustomerContactName",