Skip to main content
Question

Custom event


Forum|alt.badge.img+4

I have created ‘ comment’ as a custom field in Purchase requisition screen , I need to create 

a custom event to copy the comments on the Purchase order header from Purchase requisition  header when converting PR to PO . similarly to display the comments on Request for purchase order screen from purchase requisition header screen when converting from PR to RPQ . Can someone please help me with it . I tried creating events but no idea how to copy those comments on conversion .

 

 

6 replies

Shehan Chandrasekara
Sidekick (Employee)
Forum|alt.badge.img+8

Hi,

 

you have to create event action under ‘Execute online SQL’ and define the conditions for performing that action.

 

 


Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • 5 replies
  • June 10, 2022

If you want to just showcase the Comment, then its better to put it as a read only field that will be more convinent and easy for you.


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 7 replies
  • June 10, 2022

Hi , 

Thanks for replying 

I created some SQL commands but when I was trying in that Purchase requisition page , I got error like contact Administrator . 

What could be the issue there.


Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • 5 replies
  • June 10, 2022

can u share the command code. seems somthing wrong in your code.


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 7 replies
  • June 10, 2022

Unfortunately , The Environment I was working on got restarted yesterday ,The event got deleted .

But what possibly could be the commands .

I  remember giving the commands like  select Comments  Purchase requisition CFT and Insert into PO table .


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 7 replies
  • June 10, 2022

SELECT CF$_COMMENT FROM PURCHASE_REQUISITION_CFT
INNER JOIN PURCHASE_ORDER_CFT
ON PURCHASE_REQUISITION_CFT.CF$_COMMENT= PURCHASE_ORDER_CFT.CF$_COMMENT;

 

 


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