Skip to main content
Answer

'Send Mail' selects default contact instead of primary on SO301000

  • June 16, 2025
  • 1 reply
  • 36 views

Hi,

Since the 24R1 version, on screen SO301000, the Send Mail button uses Contact.DefContact as the recipient instead of Contact.PrimaryContactCurrent.

Is there a way to change this behavior or configure the recipient to use PrimaryContactCurrent instead?

Thank you,

Best answer by Hch

i post here if anyone wondering i just overide the method 
public IEnumerable EmailSalesOrder(PXAdapter adapter, EmailSalesOrderDelegate BaseMethod)
in SOOrderEntry_Extension and modify  the sender 

1 reply

  • Author
  • Freshman II
  • Answer
  • June 18, 2025

i post here if anyone wondering i just overide the method 
public IEnumerable EmailSalesOrder(PXAdapter adapter, EmailSalesOrderDelegate BaseMethod)
in SOOrderEntry_Extension and modify  the sender