This commit is contained in:
2021-05-12 00:03:39 +00:00
parent 37390a9031
commit 9d4c7bb4a1

View File

@@ -1765,8 +1765,12 @@ namespace AyaNova.Biz
}
//Contract
//todo: need to have a bombproof way to get the effective contract and statically hold it here in wobiz until processing finished because other objects in tree may also need it
//figure out if there will only ever be ONE effective contract or multiple and then can determine how to handle here
todo: need to have a bombproof way to get the effective contract and statically hold it here in wobiz until processing finished because other objects in tree may also need it
figure out if there will only ever be ONE effective contract or multiple and then can determine how to handle here
//Yes precedence is Unit->Customer->headoffice.
//it's not permitted to have more than one contracted unit on a workorder
//if a unit has a contract on workorder it applies to *entire* workorder so they must use one unit under contract and it's the entirety of the work performed
//if they don't want the rest of wo to be discounted etc
break;
case AyaEvent.Modified: