Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase 2B - Changes to Equipment form for Meter-Based Scheduling #73

Open
dianecawley opened this issue Jun 2, 2023 · 0 comments
Open

Comments

@dianecawley
Copy link
Collaborator

Equipment Form (WO204000)
New Meter Amounts Tab
Add a new Meter Amounts tab with a child grid to new WOEquipmentMeter DAC
Showing:
MeterCD
Descr
MeterAmt
MeterDate
ExtRef

Existing Schedules Tab
See schema definition for dropdowns/captions/etc…
After Description, add new Basis field

Existing Fields:
Lead TimeDays, FrequencyDays, LastWODate, NextWODate
ONLY enable if Basis if (D)ate or (B)oth

At end of table after Next Scheduled Date, add:
MeterID Lookup
StartMeter
FrequencyMeter
LeadTimeMeter
LastWOMeter
NextWOMeter

This section of fields should ONLY be enabled if Basis is (M)eter or (B)oth
If Basis is G (Threshold Max) or L (Threshold Min)
Only enable MeterID Lookup and StartMeter
Upon saving record, update/calculate NextWOMeter and NextWOMeterReady values
For Meter or Both Basis:
If Equipment’s MeterAmt > NextWOMeter – LeadTimeMeter, also set Next WOMeterReady = true
For G (Threshold Max)
If equipment’s MeterAmt >= Schedule’s StartMeter, set NextWOMeterReady = true
For L (Threshold Min)
If equipments MeterAmt <= Schedule’s StartMeter, set NextWOMeterReady = true

Note: Also need to recalculate/set the WOMeterReady any time main Equipment’s MeterAmt changes as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant