We have an email message set up for Sales Invoice and in the body of the message the field Cust Po No is selected as part of the message. When the email goes out the Cust Po No in the body of the email is different than what is on the invoice being sent. The invoice being sent is correct. When I checked in the database there are two entries with the same sopnumbe one is sales order and one is an invoice, two completely different customers and orders just so happen that the numbering on the orders and the invoices are in the next number area were not set to be very different. In any event it seems the body of the message is not filtering out for invoices only with that number and just picking what every comes up first or actually picking up the sales order intentionally which is wrong in either case. Seems like a bug, did anyone every hear of this? The field list is restricted it seems to the document you are sending while setting up the message so it doesn't seem possible to select something wrong, but hard to tell since SO and Invoice have the same fields.
*This post is locked for comments