This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user