on 12-20-2023 2:58 AM
Hi,
I'm attempting to create a query to retrieve the first day of the following month. I intend to use this query as FMS in the Posting Date field under Sales Quotation, but I'm encountering an error.
---------
SELECT
DATEADD(MONTH, DATEDIFF(MONTH, -1, GETDATE()), 0) AS FirstDayOfSucceedingMonth
---------
Thank you.
Hi Taira,
it works fine for me. Which error do you receive?
Is it possible, that you did not activated the new periods for next year?
regards Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.