Hello! We often have projects that are paid out in foreign currency and need to include foreign exchange revaluations when we calculate how much we've paid in USD. Today, the calculation is made based on a saved search that aggregates all transactions that are related to a specific project. This was working fine until the NetSuite 2021.1 release changed how foreign exchange revaluations were handled. Now, foreign exchange revaluations are completely separate transactions and are no longer being included in our calculations because the transactions are not being assigned to the project (even though the bill they are created from is assigned).
I'm trying to figure out a way to automatically assign these transactions to a project. From the documentation, it looks like these records aren't supported in workflows, suitescripts, or even bulk imports. I tried a recommendation from this blog to use a scheduled script (
https://netsuiteguru.blogspot.com/2020/10/currency-revaluation-record-update.html?showComment=1642781310004#c1684343222056384739), however, it failed when I tried to use record.submitFields because the operation is invalid for fxreval record types.
Does anyone have any recommendations for how I can work around this issue? The only other option I would try is to handle the issue in journal entries since we can assign them to projects.