---
title: "SOPInvMth"
canonical: "https://kb.myframeworks.com.au/space/FSS/13177414/SOPInvMth"
format: markdown
---
**Flag/Setting Purpose: **Enforce S/O Invoice Release Date in Current Month

- When enabled, Frameworks enforces the Sales Order invoice date when releasing an order to be within the current month only when the transaction is being made, regardless of the number of days maintained in the **Days Can Post Date Invoices **field in the **Company Maintenance**.
- When disabled, Frameworks does NOT enforce the Sales Order invoice date when releasing an order to be within the current month only when the transaction is being made.

> 📝 **For Example**: If a user is allowed to pre or post date invoices and the** SopInvMth **system flag is activated and the user attempts to modify the** Invoice Date** field outside the current calendar month, an error message is displayed: *"Invoice Date must be within the current calendar month".*