Custom Scripts
If a custom script is written to override a standard NetSuite function, the script can trigger a cost recalculation. This can cause errors for costing and general ledger postings for transactions associated with the custom script.
Important:
If your custom script accesses or updates inventory related transactions in a manner that cannot be accomplished through the user interface, please use extreme caution. The script can negatively impact your inventory costing.
Best Practice
For the preference Allow Transaction Date Outside of Posting Period, select Disallow. For more information, see General Accounting Preferences.