can we define a validation rule where production date should not be more than 31 days from the day of posting date.
EX: if posting date is 01/12/2023 the production date should be within 12/31/2023 for document type KC.
Thanks & Regards
I am assuming you want to place a validation on accounting documents.
Please refer below blogs to understand how such validations can be placed.
In your case, you can keep the prerequisite as
Company code = '1001' AND Document Type = 'KC'.