Hi
I am using Dataport & uploading Data in table 81 . I want if there are any records in that Journal Template Name , Journal Batch Name , those should be deleted & message should be displayed . If user wants to continue then those records should be deleted before UpLoading
Thanks
*This post is locked for comments
Hi
I have below code . I want if there is any record it should be deleted before Uploading. Message should be displayed. If yes the all existing records should be deleted then records Uploaded.
Gen. Journal Line - OnPreDataItem()
"Gen. Journal Line".SETRANGE("Journal Template Name",'GENERAL');
"Gen. Journal Line".SETRANGE("Journal Template Name",'TEST');
"Gen. Journal Line".DELETEALL;
COMMIT;
Thanks
Let us know what you tried so far
Sohail Ahmed
2
mmv
2
Amol Salvi
2