Skip to main content
Question

ConnectivityProcessingHandler:LoadInboxMessage as projection in IFS Cloud

  • Jan 20, 2022 4:04 PM UTC
  • 10 replies
  • 534 views

Forum|alt.badge.img+8

In IFS10 (and previous versions) there is BizAPI ConnectivityProcessingHandler:LoadInboxMessage that can load IN_MESSAGE and IN_MESSAGE_LINE from a XML.

I cannot find equivalent Projection in IFS Cloud.

Do you know if there is such projection and the name of that projection?

 

Neno

10 replies

Forum|alt.badge.img+8
  • Author
  • Sidekick (Partner)
  • Feb 10, 2022 10:50 AM UTC

I’m answering my own question - there is no Projection for ConnectivityProcessingHandler:LoadInboxMessage . I had to develop PLSQL package and user PlSQL connector to get IN:MESSAGE data into Connectivity.


khajeewak
Sidekick (Partner)
Forum|alt.badge.img+3
  • Sidekick (Partner)
  • Feb 11, 2022 3:38 PM UTC

Hi NZCNESOSE,

Can you please explain a bit how you use PLSQL  connector to get into the connectivity table?

/Jeewan


Forum|alt.badge.img+8
  • Author
  • Sidekick (Partner)
  • Feb 13, 2022 6:27 PM UTC

In short, you create a Oracle package function with following parameter signature:
FUNCTION Load_Inbox(in_xml_ CLOB) RETURN CLOB

then, create IFS Connect address with type = PLSQL and enter name of the function and PLSQL parameter. Route your XML message to this address and you will get XML filen in  in_xml_ CLOB variable.

Thereafter use Oracle XMLTABLE functionality to “convert” XML into usable cursor that can be used to insert data into In_Message nd In_Message_Line.


khajeewak
Sidekick (Partner)
Forum|alt.badge.img+3
  • Sidekick (Partner)
  • Feb 14, 2022 7:28 PM UTC

Thank you.

/Jeewan


Forum|alt.badge.img+3
  • Sidekick (Partner)
  • Feb 11, 2025 2:01 AM UTC

Hi All,

Could you please verify whether we need to develop the same approach (procedure to create lines) for 23r2 and later versions, or if IFS has introduced a new process to create connectivity inbox data?

Thank you,
Lochana


Forum|alt.badge.img+3
  • Sidekick (Partner)
  • May 13, 2025 9:08 AM UTC

Hi ​@Lochana95 and ​@NZCNESOSE 
did you guys found anything related to ConnectivityProcessingHandler:LoadInboxMessage in IFS cloud. I need it to create instant invoices 


Forum|alt.badge.img+8
  • Author
  • Sidekick (Partner)
  • May 13, 2025 10:46 AM UTC

As far as I know, ConnectivityProcessingHandler:LoadInboxMessage is not available in IFS Cloud.
You will have to create own Oracle package to handle incoming data.
Se my previous comment.


Forum|alt.badge.img+3
  • Sidekick (Partner)
  • May 16, 2025 2:53 PM UTC

Yes, I agree with ​@NZCNESOSE . We had to create our own Oracle package to handle the incoming data.


Nishantha Anuruddha
Sidekick (Employee)
Forum|alt.badge.img+6

 

We developed similar method & used a routing rule/address to route the XML message to this method. 


Nishantha Anuruddha
Sidekick (Employee)
Forum|alt.badge.img+6

 CURSOR cur_msg_header IS
      SELECT * 
      INTO   c_receiver_, c_sender_, c_class_id_ 
      FROM   (SELECT receiver, 
                     sender, 
                     class_id
              FROM   XMLTABLE('/IN_MESSAGE' 
                              PASSING XMLTYPE(in_xml_) 
                              COLUMNS receiver  VARCHAR2(255) PATH 'RECEIVER',
                                      sender    VARCHAR2(255) PATH 'SENDER',
                                      class_id  VARCHAR2(30)  PATH 'CLASS_ID'
                             )
             );