Skip to main content
Solved

Print Pick Ticket at The Time That the Shipment for a Sales Order is Created

  • October 10, 2024
  • 5 replies
  • 90 views

Forum|alt.badge.img

Hi Acumatica People,

 

It would be nice to utilize the low code/no code approach to order entry staff requirement that they would like to create a shipment for an order and automagically have the print ticket printing action kicked-off (my small shipping staff use the pick ticket as a traveler for the remaining tasks (packing and shipping)).

What is the best way to do this? Perhaps a workflow modification or a business event?

Here is my attempt to use a business event.


Attempt to use a business event

 

I spent some time trying to create a business event that is triggered by the action of creating the shipment for the sales order: 

 

Subscriber monitors SO.30.10.00 and passes the newly created shipment number from the sales order (notice that the value is coming from SO.30.10.00’s screen which is actually the sales order which is not correct): 

Here is my trace when I create a shipment (again, the Create Shipment is “heard” but the value passed is wrong): 


 

Should I abandon the business event and try with a workflow modification?

 

Thanks!

Best answer by dcomerford

Not sure why your action is not working but change your GI to be based on the Shipment GI (SO3020PL)

Change the trigger condition to be Record Inserted. (when a new shipment is created the business event will see it as a new record and so trigger)

View original
Did this topic help you find an answer to your question?

5 replies

dcomerford
Captain I
Forum|alt.badge.img+15
  • Captain I
  • 622 replies
  • Answer
  • October 11, 2024

Not sure why your action is not working but change your GI to be based on the Shipment GI (SO3020PL)

Change the trigger condition to be Record Inserted. (when a new shipment is created the business event will see it as a new record and so trigger)


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 14 replies
  • October 11, 2024

Thanks dcomeford,

 

I updated as you indicated: 

 

 

fields tracked: 

 

Action execution/subscriber (keys, field values, executed by events): 

Actual events and subscriber activity: 


 

 


dcomerford
Captain I
Forum|alt.badge.img+15
  • Captain I
  • 622 replies
  • October 11, 2024

Try using n Import Scenario on the Business Event to do the Print


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 14 replies
  • October 14, 2024

Hi @dcomerford ,

 

Thanks for looking at this. It is not clear to me what you are proposing.

Presently, I have this arrangement: 

 


Business Event: 

Triggered by a new record associated with the Generic Inquiry, SO.30.20.PL, titled, “Shipments”.

I have a subscriber, RFT Shipment Linked to SO, which is attempting to start the action, “Print Pick Ticket”.

It is throwing the classic error, “Object reference not set to an instance of an object.” This points to the subscriber having issues (e.g. the shipment number is not being passed properly). I think my subscriber is the cause of this error.

 


 

Are you proposing that I create an import scenario around importing shipments? I’ll rule that out because the entry of shipments is not the issue or the problem, right? 

 

Thanks,

 

Patrick

 

 

 

 

 

 

 

 

 

 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 14 replies
  • October 14, 2024

Create Shipment is a PXLongOperation and perhaps this is the reason that we are receiving the error,  “Object reference not set to an instance of an object"?

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings