dgreenEA
(Dylan Green)
August 2, 2021, 7:19pm
1
Situation
A while ago I had made a customization to our MES screen that would allow for a BAQ report to be pulled that would show a summary of employees times for a date range.
Found a decent article on LFO’s here.
However, it is not sending the credentials I keyed in for it.
------------------------Begin Code------------------------------------------
// **************************************************
// Custom code for MESMenu
// Created: 11/21/2019 9:46:44 AM
// **************************************************
using System;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Windows.Forms;
using Erp.Adapters;
usi…
I usually use LFO.ContextValue and not ValueIn. Note if you have multiple input values, you can store them in a List or array.
// Setting values in LFO and calling a form
private void PrintBillOfLading(int bolNum)
{
LaunchFormOptions lfo = new LaunchFormOptions();
lfo.ContextValue = bolNum;
lfo.IsModal = true;
ProcessCaller.LaunchCallbackForm(oTrans, "CustBOLP", lfo); // Not sure why I used LaunchCallbackForm instead of LaunchForm, but either should work.
}
and
// Retrieving LFO va…
This customization was made back when we were on-prem. After a few years of the cloud and the upgrade cadens we need a more reliable solution.
What I need
What are you all using to allow employees to see their times on a day-to-day basis and make sure that their hours are correct?
Fernando
(Fernando)
August 3, 2021, 3:05pm
2
We use the out of the box time report and and a dashboard we made in house.
Asz0ka
(Adam Szoka)
August 3, 2021, 7:06pm
3
We have a BPM that show’s users their hours gained for the week when they clock out.
dgreenEA
(Dylan Green)
August 3, 2021, 7:43pm
4
That sounds like a good workaround. Does it just trigger on employee clock out and show a summary by day or just total hours?
Asz0ka
(Adam Szoka)
August 3, 2021, 7:44pm
5
Just total hours for the pay period.