Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

delete the value in a column where date is before 30

$
0
0

Hi,

I have one table 'Transaction header'.

I need code that will delete all entries in this table where the date is earlier than 30 days ( as compared to current date).

ex: 

SQL code looks like this.

delete * frm Transaction Header

where Date < (GETDATE()-30)

.

 

Any body help me on how can I write in Navision code ?

 


Viewing all articles
Browse latest Browse all 15740

Trending Articles