...
Save the voyage with the configuration flag CFGCacheVoyPnl enabled.
To allow auditing changes to the current snapshot, enable the configuration flag CFGEnablePnlSnapshotAudit.
Run a scheduled task through a message service that takes nightly snapshots.
When the configuration flag CFGAutoPnlSnapshot is enabled, VIP will take a snapshot when the financials of the voyage change, for example, when new invoices are added or if there are interface imports of port expenses.
There can only be a single instance of a current PNL snapshot Voyage PNL snapshot in the database. The current PNL snapshot is identified as Current in the Snapshot Type field.
...