Hello guys,
I know the subject is not enough to make you understand. Well here it is -
THE SITUATION - in Reversal Entry table (while reversing an entry) the REPLACE ALL function for POSTING DATE is disabled.
THE SOLUTION - I thought of making a Menu Item which will pop up a INPUT dialog box where I can ask the user to provide the new POSTING DATE so that I can replace all entries in REVERSAL ENTRY table with that new POSTING DATE.
THE C/AL CODE -
Window.OPEN('Enter Text ##############1##',gdt_Date);
Window.INPUT(1,gdt_Date);
Window.CLOSE;
grc_ReversalEntry.SETRANGE("Document No.","Document No.");
IF grc_ReversalEntry.FINDFIRST THEN REPEAT
grc_ReversalEntry."Posting Date" := gdt_Date;
grc_ReversalEntry.MODIFY
UNTIL grc_ReversalEntry.NEXT = 0;
THE ERROR - "The Reversal Entry Table is Empty"
ANy help?
0
Answers
reset it before filtering.
I guess you are getting error message from some where else.
please activate the debugger and check..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Is this default?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav