So i have a piece of code below:
procedure OpenQuote(QuoteNotification: Notification)
var
QuoteRec: Record "Sales Header";
QuotePage: Page "Sales Quote";
QuoteNo: Text;
QuoteCode: Code[20];
begin
QuoteNo := QuoteNotification.GetData('QuoteNumber');
Evaluate(QuoteCode, QuoteNo);
if QuoteRec.Get(QuoteCode) then begin
QuotePage.SetRecord(QuoteRec);
QuotePage.Run();
end;
end;
So my goal is to open the sales quote from the number that is extracted through the QuoteNotification.GetData function. Now note that when i message the QuoteCode it is the acctual correct code from the quote i want to open so having the wrong code is out of question. Now for opening the quote i have the following problem. Let's say i'm working in quote number 1005 and from there i want to open quote number 1001. When i perform the action it just reopens / refeshes (the page blinks) the quote i'm working in, in this case quote number 1005 and it doesn't open quote number 1001. Is there a solution to this problem?
*This post is locked for comments
I have the same question (0)