When you enable the configuration flag CFGPreserveBunkerRequirementsOnVoyageDelete, deleting a voyage does not automatically delete its Bunker Requirements. Instead, the system prompts you to choose which requirements to keep and which to delete along with the voyage. A requirement that you keep is unlinked from the voyage, so you can reassign it to another vessel or voyage.
Flag details
|
Field |
Value |
|---|---|
|
Name |
Preserve Bunker Requirements On Voyage Delete |
|
Flag |
CFGPreserveBunkerRequirementsOnVoyageDelete |
|
Description |
When enabled, deleting a voyage that has Bunker Requirements opens the Unlink or Delete Bunker Requirements? dialog. For each requirement, you choose whether to keep it and unlink it from the voyage, or delete it with the voyage. |
|
Data Type |
Boolean |
|
Default Value |
N |
|
Possible Values |
Y, N |
How the flag works
-
If the flag is disabled, no dialog appears, and the voyage’s Bunker Requirements are deleted with the voyage.
-
If the flag is enabled and the voyage has Bunker Requirements, the Unlink or Delete Bunker Requirements? dialog appears after you confirm that you want to delete the voyage.
-
The dialog does not appear if the voyage has no Bunker Requirements or has not been saved.
Delete a voyage that has Bunker Requirements
-
Delete the voyage, and then click Yes at the Delete Voyage? prompt.
-
In the Unlink or Delete Bunker Requirements? dialog, review the list. Each row shows a requirement and its port.
-
For each requirement, do one of the following:
-
To keep the requirement, leave the Unlink checkbox selected.
-
To delete the requirement with the voyage, clear the Unlink checkbox.
-
-
Do one of the following:
-
To delete the voyage and apply your selections, click Yes.
-
To stop deleting the voyage, click Cancel or press Esc. The voyage and its Bunker Requirements remain unchanged.
-
All Unlink checkboxes are selected by default. If you leave them selected, only the voyage is deleted.
What happens to each requirement
|
Unlink checkbox |
Result |
|---|---|
|
Selected |
The requirement remains in the Bunker Requirement List. Its voyage number is cleared, and its vessel and port do not change. Its inquiry and purchase lines are also unlinked from the voyage. |
|
Cleared |
The requirement is deleted with the voyage, along with its inquiry and purchase lines. |