This commit is contained in:
@@ -501,8 +501,32 @@ todo:2 many biz objects are not using new PUT methodology
|
|||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING: generate wo from quote code at svc-workorder::created hook
|
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
|
||||||
just try it and then iterate and clean up as necessary until it works, this is the ultimate purpose of the quote really
|
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
|
quote
|
||||||
|
|||||||
@@ -2398,7 +2398,7 @@ function generateMenu(vm) {
|
|||||||
!vm.obj.userIsRestrictedType
|
!vm.obj.userIsRestrictedType
|
||||||
) {
|
) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "QuoteGenerateServiceWorkOrder",
|
title: "GenerateWorkOrder",
|
||||||
icon: "$ayiTools",
|
icon: "$ayiTools",
|
||||||
key: FORM_KEY + ":genwo",
|
key: FORM_KEY + ":genwo",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -2477,7 +2477,7 @@ async function fetchTranslatedText(vm) {
|
|||||||
"Customer",
|
"Customer",
|
||||||
"QuoteSerialNumber",
|
"QuoteSerialNumber",
|
||||||
"WorkOrderSummary",
|
"WorkOrderSummary",
|
||||||
"QuoteGenerateServiceWorkOrder",
|
"GenerateWorkOrder",
|
||||||
"Contract",
|
"Contract",
|
||||||
"Project",
|
"Project",
|
||||||
"WorkOrderCustomerContactName",
|
"WorkOrderCustomerContactName",
|
||||||
|
|||||||
Reference in New Issue
Block a user