cancel
Showing results for 
Search instead for 
Did you mean: 

Block creation of an A/R invoice

Former Member
0 Kudos

Hello everyone,

I have a doubt; during my operation itu2019s common to change the a/r invoice posting date, to create an Invoice. Do you know if thereu2019s a way for asking authorization in the creation of this kind of documents. If the date of creation differs from the posting date.

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try this one:

IF DateDiff(DD, $[$10.0.0\], GetDate()) != 0

SELECT 'true'

Former Member
0 Kudos

Thanks Gordon, it works Ok

Answers (1)

Answers (1)

Former Member
0 Kudos

This could be done through user query approval template. You have to create an alert query first starting with SELECT Distinct 'true'.

Thanks,

Gordon

Former Member
0 Kudos

Hello, I try buy doing this queries but they do not work,

1) SELECT DISTINCT 'TRUE' From OINV T0 Where T0.[Docdate] <> T0.[CreateDate]

2) If $[$10.0.0] <> $[$??.0.0] SELECT DISTINCT 'TRUE'

The second one is almost working but I donu2019t know how to obtain the Item id of the T0.[CreateDate]

Thanks