Skip to main content
Question

Add Attribute value in continuation using Message_Sys Package

  • December 12, 2020
  • 2 replies
  • 336 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 comments

2 replies

tobese
Hero (Employee)
Forum|alt.badge.img+7
  • Hero (Employee)
  • 98 replies
  • 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)
  • 16 replies
  • 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.


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