SBX - Search With Button

SBX - Forum Post Title

In sales return order page "Reopen" button is not working

Microsoft Dynamics NAV Forum

NAV Beginners asked a question on 14 Jun 2019 1:49 AM
My Badges

Question Status

Suggested Answer

Dear Experts,
In our navision 2016. we are using the approval process but in sales return order not using approval process so thats reason "Reopen" btn is not working. How can I enable in sales return order page. I have write the code in "Reopen" btn but it is not working. Please suggest me, how it will work. My written code is below:

IF SalesHeader."Document Type"=SalesHeader."Document Type"::"Credit Memo" THEN
SalesHeader.Status:=SalesHeader.Status::Open;


Also I have write the same code in codeunit 414 but there is no effect. What I am doing wrong. Please suggest me the solution

Reply
Teddy Herryanto responded on 16 Jun 2019 5:30 AM
My Badges
Suggested Answer

Can you explain more about what you mean by not working ?

The standard NAV - codeunit 414 - should be able to handle it.

ReleaseSalesDoc.PerformManualReopen(Rec)

Reply
Teddy Herryanto responded on 16 Jun 2019 5:30 AM
My Badges
Suggested Answer

Can you explain more about what you mean by not working ?

The standard NAV - codeunit 414 - should be able to handle it.

ReleaseSalesDoc.PerformManualReopen(Rec)

Reply

SBX - Two Col Forum

SBX - Migrated JS