Can I insert a delay in BPM to detect insertion

Can I insert a delay in BPM to detect insertion of record in parttran table?

That seems like what a standard Data Directive would be for.

2 Likes

whilst you may be able to do it. Parttran being one of the most active tables in the system… I’d be avoiding any delays…

1 Like

What is the business requirement for this? Sounds like not such a good idea.

2 Likes

we are facing an issue where Bartender detects a record insertion in parttran and generates a bt file.
When we use issue material where one by one transactions are done, bt file is generated correctly using data directive.
when we use mass issue, the number of labels are always n-1 or n-2.
so i was thinking insert a delay just before auto print and see if that is going to detect all the transactions.

You probably don’t want to do it that way with bartender for all the reasons you are seeing now. You may want to try looking for another place to execute/generate bartender labels from.

There are some helpful REST Functions here that will allow you to print to bartender from Kinetic, and also just running a function based on a dynamic query report triggered at the correct time may be all you need.

I am thinking you could generate the label from a function and have that function called from the specific bpm.

Force the mass issue call to print n+1 or n+2 labels as a precaution? If they aren’t serialized or RFID-encoded…probably wouldn’t hurt anything

not quite following there, sorry.

But the bt file is generated using data directive, even if take the bartender out.
Shouldn’t the data directive detect and generate the file, Bartender is just reading a file generated by Epicor.
if that makes sense

@hally - can’t follow my suggestion? Original problem description below. I just suggested bumping up the label count. Cheap shortcut but probably safer than BPM changes. :grin:

1 Like

Sorry I misunderstood your initial post I thought you had a bartender integration polling the parttran table.

Adding a DD on the parttran is going to slow things down regardless if it does something or not…

As mentioned I’d be doing calling a function from another method and put all your bartender label printing there, either doing the generate file and integration method or using the bartender Rest to send a rest request to bartender.