Hello All,
In the MES Report Quantity screen, I’ve added a text field bound to CallContextBPMData.ShortChar01.
Signed-in users will, throughout the day, report quantities from the active job. No problem there - they are even able to generate labels (Print Tags) for the produced material. Plain vanilla program - with a text field added.
Challenge: Whenever a quantity is reported, I need the contents of the custom text field to be saved in the LaborDtl.ShortChar01 field which is already added via UD Maint.
Problem: In UI Customization for Report Qty, I see no way to access the LaborDtl record it creates - the keys to which (LaborHedSeq, and LaborDtlSeq) do not appear in any of the associated adapters (oTrans) and is therefore inaccessible from within this BO.
As a result, I cannot execute the laborAdapter.GetDetails(lbrHedSeq, lbrDtlSeq) method to retrieve the newly created LaborDtl record from a UI customization. I also can’t seem to find a triggered method or data directive and a way to pass this value from the UI to such a BPM.
There are a few old(er) posts on this topic, so I know I’m not the only one struggling with this BO, but others were attempting to do things outside of the ‘normal’ clock in/ report qty /clock out process. I am staying completely within the lines - I just want to add addit’l data to each created LaborDtl record when it is created and I’m having one devil of a time. Any suggestions would be greatly appreciated.