Question

Custom Event Information Message on Shipment Query

  • 16 December 2020
  • 1 reply
  • 398 views

Userlevel 7
Badge +18

I have been asked to display an information message to give a reminder to users where there are attached documents.

 

The user will be in Shipment Lines and will RMB on a Shipment Line and open the associated Shipment. 

 

When the Shipment opens, if there are attached documents an Information Message is required to be displayed as a gentle prompt to users.

 

As there is not a trigger at this point, how do I go about firing the custom event?

 

At the moment the custom event is as follows:

 

Custom Attributes:

Name:    ATTACHED_DOC_NO

 

Server Method PL/SQL: IFSAPP.Doc_Reference_Object_API.Get_Object_Connection_Count__('Shipment','SHIPMENT_ID='||'&OLD:SHIPMENT_ID'||'^')

Data Type: Number

 

Conditions for performing action:

ATTACHED_DOC_NO > 0

 

Action Details:

BEGIN     
Client_SYS.Add_Info('Shipment', 'ATTACHED_DOCUMENT:  This Shipment has Attached Documents.');
END; 

 

Thanks.


This topic has been closed for comments

1 reply

Userlevel 7
Badge +24

Hi @johnw66 

As you say, there is no event possible there since there is no database activity.

I would recommend using an Information Card on the Shipment screen, that would inform the user how many documents are present.  

(This is assuming Enterprise Explorer, not Aurena)