Framework Logistics - Job Allocations
This page explains how Framework jobs are automatically allocated to Logistics tablet sites, based on their properties - type, major wfl stage, minor wfl stage and supervisor/manager allocations.
This page is currently intended for internal use only, but may be re-worked for public use.
Framework ECM jobs can be allocated to logistics (tablet) sites either manually using Logistics Desktop, or automatically, based on job allocation criteria configured against the logistics site in Logistics Desktop.
Manual Job Allocations
When manually allocating a job to a tablet site in Logistics Desktop, the job number is manually typed in by the user and the allocation record for the selected job and site is inserted (into the sys_siteJob table).
Automatic Job Allocations
Jobs can also be automatically allocated to logistics sites based on allocation criteria configured against the sites in Logistics Desktop:
The logistics site job allocation criteria includes:
- Major Work Flow Stage (list item -1000):
- [Unknown] (id: -1)
- Pre-Administration (id: -2)
- Administration (id: -3)
- Construction (id: -4)
- Maintenance (id: -5)
- Feasibility (Englobo) (id: -6)
- Development (Englobo) (id: -7)
- Building (Englobo) (id: -8)
- Maintenance (Englobo) (id: -9)
- Feasibility (Estate) (id: -10)
- Development (Estate) (id: -11)
- Building (Estate) (id: -12)
- Maintenance (Estate) (id: -13)
- Development (Estate Stage) (id: -14)
- Design (Estate Stage) (id: -15)
- Building (Estate Stage) (id: -16)
- Maintenance (Estate Stage) (id: -17)
- Registration (Land Only) (id: -18)
- Contract Administration (Land Only) (id: -19)
- Maintenance (Land Only) (id: -20)
- Construction/Maintenance Manager (list item -1001)
- Construction/Maintenance Supervisor (list item -1002)
- Advanced Allocation Criteria (list item -1062)
- Construction and Maintenance (list item -2524)
When each job in the Framework system has the above properties updated (i.e major & minor work flow stage, cst/main manager & supervisor) any logistics site allocations are created, updated or deleted as required, by the usp_updateLogisticsAllocations database stored procedure. This is typically executed through the Framework system wherever these values can change - e.g Framework ECM, Logistics sync, Logistics Desktop Subs Manager etc.
The usp_updateLogisticsAllocations stored procedure will create/preserve job-site allocations under the following conditions:
- The job status is NOT:
- Cancelled (-8) NOR
- Deleted (-9)
- For sites with allocation method of 'Major Work Flow Stage' (-1000):
- Job Major Stage = Site's major allocation stage
- For sites with allocation method of 'Construction/Maintenance Manager' (-1001):
- The site's cst manager is one of the job's linked entities (in the job_entity table, with the role 'Cst Manger (id: -137)) AND
- The job's minor stage is:
- Permit (Id: -7) OR
- Admin Complete (Id: -8)
OR
- The job's major stage is Construction (Id: -4) OR
- The job's major stage is Maintenance (Id: -5) AND
- The job's settlement date IS NULL OR
- The job's settlement date is within the threshold set by the preference 'Duration to Retain Maintenance Jobs (In Days)' (Id: -50069)
OR
- The job's major stage is 'Building (Englobo)' (Id: -8) OR
- The job's major stage is 'Building (Estate)' (Id: -12) OR
- The job's major stage is 'Building (Estate Stage)' (Id: -16)
OR
- For sites with allocation method of 'Construction/Maintenance Supervisor' (-1002):
- The site's cst supervisor is one of the job's linked entities (in the job_entity table, with the role 'Cst Supervisor (id: -136)) AND
- The job's minor stage is:
- Permit (Id: -7) OR
- Admin Complete (Id: -8)
OR
- The job's major stage is Construction (Id: -4) OR
- The job's major stage is Maintenance (Id: -5) AND
- The job's settlement date IS NULL OR
- The job's settlement date is within the threshold set by the preference 'Duration to Retain Maintenance Jobs (In Days)' (Id: -50069)
OR
- The job's major stage is 'Building (Englobo)' (Id: -8) OR
- The job's major stage is 'Building (Estate)' (Id: -12) OR
- The job's major stage is 'Building (Estate Stage)' (Id: -16)
OR
- For sites with an allocation method of 'Advanced Allocation Criteria':
- Criteria is 'Construction and Maintenance' (Id: -2524) AND
- The job's major stage is Cst (-4) OR
- The job's major stage is Maint (-5)
- Criteria is 'Construction and Maintenance' (Id: -2524) AND
Any job allocations that exist but do NOT meet the above conditions for a given site/job are DELETED by the proc (i.e the jobs are de-allocated fro the site)
Job Type influence on Logistics Job Allocations
Job types do not dictate a job's logistics allocations directly, but rather indirectly as they dictate the specific set of work flow stages that a job can pass through.
See below for the explicit work flow stage names across the various Framework jobs types, that are eligible for a logistics job allocation:
Job Type Name | Major Work Flow Stage | Minor Work Flow Stage | Description |
---|---|---|---|
General Grouping | (None) | (None) | No relevant workflow stages - these job types will never be allocated to logistics tablets |
Englobo | Building | Any estate child jobs are in the building major stage | |
Estate | Building | Any estate stage child jobs are in the building major stage | |
Estate Stage | Building | Any child jobs are in the construction major stage | |
Single Lot - Land & Building | (Admin) | Permit | Job is in Permit minor stage |
Single Lot - Land & Building | (Admin) | Pre Admin | Job is in Pre-Admin minor Stage |
Single Lot - Land & Building | Construction | Job is in any Cst minor stage: Site Start, Base, Frame Stage 1, Frame, Lockup, Fix, PC Inspection, PC Sheet, Settlement, Constr Completion | |
Single Lot - Land & Building | Maintenance | Job is in any Maint minor stage: Maint, Service, Maint Completion, Complete | |
Single Lot - Land Only | (None) | (None) | No relevant workflow stages - these job types will never be allocated to logistics tablets |
Pls see Helpstar #71328 for further information on Job Types and their Work Flow stages - I've included the Job Types user guide here:
HS#71328 Job Types User Guide.docx