This commit is contained in:
@@ -1765,8 +1765,12 @@ namespace AyaNova.Biz
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Contract
|
//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
|
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
|
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;
|
break;
|
||||||
case AyaEvent.Modified:
|
case AyaEvent.Modified:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user