MES and PartTrans issues

I am attempting to determine the difference in PartTran between EntryPerson (I think the E10 user) and EmpID (I think the MES emp). To do this, I built a simple BAQ on the PartTran table to display a few key items.

I filter by TranType = “MFG-STK”, TranQty > 0, and TranDate > Today - 10days — I do not see ANY of the transactions I am doing!?

I note a few things:
In the MES (No EmpID shows even though I am logged into a valid employee). Tried 2 different employees.
There was a noted glitch: Parttran.empid field - Yahoo Archive - Epicor User Help Forum

Other than that, I still cant fathom why I see none of the 10’s of transactions I’ve made (Report Qty from MES) in the PartTran table. I’ll also add, I think they are posting because my BPM’s process just fine off that table to print the labels when reported.

Any thoughts?

I’d like to add, I can see historical transactions (but none of mine from MES) from weeks ago if I adjust the date criteria.

Hmmmm… Seems like TranDate is either the date of the job OR the date of emp login, not the actual date of the transaction. It appears that SysDate is the actual transaction date.

Your TranDate expression should be TranDate < Today – 10 days (less than, not greater than)

Scott

Thanks for the reply Scott - that typo only affected my post, I was doing it proper in the criteria :smiley: The issues that caused this mess are:
SysDate = transaction date, not TranDate
EmpID is NOT populated by MES for some reason

1 Like

Report Quantity in MES is not an MFG-STK transaction unless it is against the final operation and the operation is also marked auto receive.

Additionally, those transactions won’t be committed until the employee clocks out of the job.

1 Like

@TGCTSE Thanks Terry.

What do you mean by committed? After changing my filter from TranDate to SysDate I can see the transactions immediately in PartTran table without logging EMP off the job. Auto-rec is check and there is only 1 operation so it is the final.

My immediate fix was to simply use the Session.EmployeeID to get what I needed (printing a label including EMP) - since it seems EmpID is not being populated. How can fix that?

My first thought is that I’d have to do a PRE BPM to modify the value before it is written to table. On the other hand - why cant I just link the TranNum of my ttPartTran to PartTran to access to proper record - seems E10 doesn’t like that.

Am I overcomplicating this and overlooking some simple solution like simply setting the EmpID field in the ttPartTran table?

I guess the moral of the story is - what happens that turns a ttTable into an actual record?

my bad. the transaction issue I was referring to was in 9.05. E10 works better with that…sorry for the confusion.

No problem - Just making sure I wasn’t overlooking something. Anybody have any input on:
what happens that turns a ttTable into an actual record? does each record in that ttTable become an actual record?

ttTables are temporary tables that exist in memory, not ALL ttTables have a direct co-relation to a physical table in SQL but a lot of them do.
But for example if you are in a Pre-Processing BPM or an InTran Data Directive the ttRecord may not yet exist as a physical equivalent record in the Database.
For example

If you put a BPM on Part.Update
you have
Pre-Processing
Base
Post Processing

on a Pre-Processing BPM you will have a ttPart record, but if this is a NEW part the actual Part table record will not yet exist.
on Post-Processing (that is AFTER the business logic of the Update method has executed) you will have the ttPart record as well as a physical record on the Part table

Hopefully this clarifies some

I am not sure I follow what your issue with the ttRecord is though

I was noting that EMPID was not being stored in the PartTrans table, I was going to remedy that somehow. I wasn’t sure if I could just update that field in the temptable and it will propagate to the appropriate record.

It would as long as you do it on a preprocessing transaction or in tran

1 Like