Skip to main content
Question

Add Attribute value in continuation using Message_Sys Package

  • December 12, 2020
  • 2 replies
  • 372 views

Forum|alt.badge.img+6

Hi,

I wanted to pass parameter value in continuation with Message_Sys.Add_Atribute method in dialogbox

Message_Sys.Add_Attribute(Valriable_, Name_, Value_);

then it’s contain value like ‘$VARIABLE=VALUE’ but i wanted to like ‘-$VARIBALE=VALUE’

‘-$’ this symbol indicate value with continuation and i wanted it.

 

 c_ VARCHAR2(32000) := '!OBJ_VAL_CHANGE
$B=!
-$COMPANY=COM01
-$OBJECT_ID=XYZ
-$BOOK_ID=ABC
-$EVENT_DATE=2015-03-31-00.00.00
-$RETROACT_DATE=2015-03-31-00.00.00
-$VOUCHER_DATE=2020-03-31-00.00.00
-$VOUCHER_TYPE=A
-$USER_GROUP=AC
-$VALUE=-6000.00
-$IS_AMOUNT=TRUE
-$OBJECT_TRANSACTION_TYPE=11
-$USER_ID=IFSAPP
-$METHOD_ID=LMP-X10
-$TRANSACTION_REASON=DEFAULT
-
'; --p2

 

Thanks

Shekhar

 

This topic has been closed for replies.

2 replies

tobese
Hero (Employee)
Forum|alt.badge.img+7
  • Hero (Employee)
  • December 14, 2020

Hi

You should first construct the message and then add attributes.

         note_ := Message_SYS.Construct('NOTIFY_ME_NOTE');
         Message_SYS.Add_Attribute(note_, 'INDEX', index_);
 

The message is a string so you can do direct string manipulation if you prefer that.


Forum|alt.badge.img+6
  • Author
  • Sidekick (Customer)
  • December 16, 2020

When i using it. “        

note_ := Message_SYS.Construct('NOTIFY_ME_NOTE');
Message_SYS.Add_Attribute(note_, 'INDEX', index_);  “

 

Output is like  $INDEX=index_.  but i want in following manner  :    -$INDEX=index_ 

Please consider just before dollor sign.