Skip to Content
0
Jan 26, 2017 at 04:08 PM

Validation for Document Date

182 Views

Hello experts,

Our client has the following requirement and requires a validation for the same.

According to local laws, if Invoice date is greater than 3 months, any taxes on such invoices cannot be claimed as Input. In such cases, Tax on such invoices will be included in the cost of the material.

We have created different tax codes, based on which the posting happens either to Input Tax account (I1) or will be added to the material (I2).

The requirement now is, in case if the Document Date is greater than 3 months of the entry date, then the transaction should not allow the usage of Tax code I1.

How can we write a validation for this situation.

Thanks in Advance