...
GL Account from the Account set on Document.account
Accrual
...
Payable
If Document.documentLine.variousText is set. And Document.documentAmount > 0. Asset Account Accrual from the related Various Text is used.
If Document.documentLine.variousText is set. And Document.documentAmount < 0. Liability Account Accrual from the related Various Text is used.
If Document.documentLine.portCostCode is set. And Document.documentAmount > 0. Asset Account Accrual from the related Port Cost Code is used.
If Document.documentLine.portCostCode is set. And Document.documentAmount < 0. Liability Account Accrual from the related Port Cost Code is used.
If Document.documentLine.handlingCostCode is set. And Document.documentAmount > 0. Asset Account Accrual from the related Handling Cost Code is used.
If Document.documentLine.handlingCostCode is set. And Document.documentAmount < 0. Liability Account Accrual from the related Handling Cost Code is used.
...
If Document.documentLine.variousText is null and Document.documentLine.portCostCode is null and Document.documentLine.handlingCostCode is null. And Document.documentAmount < 0. Liability Account Accrual from the Document.documentLine.account is used.
Accrual
...
Receivable
If Document.documentLine.variousText is set. And Document.documentAmount < 0. Asset Account Accrual from the related Various Text is used.
If Document.documentLine.variousText is set. And Document.documentAmount > 0. Liability Account Accrual from the related Various Text is used.
If Document.documentLine.portCostCode is set. And Document.documentAmount < 0. Asset Account Accrual from the related Port Cost Code is used.
If Document.documentLine.portCostCode is set. And Document.documentAmount > 0. Liability Account Accrual from the related Port Cost Code is used.
If Document.documentLine.handlingCostCode is set. And Document.documentAmount < 0. Asset Account Accrual from the related Handling Cost Code is used.
If Document.documentLine.handlingCostCode is set. And Document.documentAmount > 0. Liability Account Accrual from the related Handling Cost Code is used.
If Document.documentLine.variousText is null and Document.documentLine.portCostCode is null and Document.documentLine.handlingCostCode is null. And Document.documentAmount < 0. Asset Account Accrual from the related Account Document.documentLine.account is used.
If Document.documentLine.variousText is null and Document.documentLine.portCostCode is null and Document.documentLine.handlingCostCode is null. And Document.documentAmount > 0. Liability Account from the related Account Document.documentLine.account is used.
Bunker Adjustment Posted
If Document.documentAmount > 0. Asset Account Accrual from the related Account Document.documentLine.account is used.
If Document.documentAmount < 0. Liability Account Accrual from the related Account Document.documentLine.account is used.
Bunker Adjustment Reversal
If Document.documentAmount < 0. Asset Account Accrual from the related Account Document.documentLine.account is used.
If Document.documentAmount > 0. Liability Account from the related Account Document.documentLine.account is used.
GL Account on DocumentLine
...
If DocumentLine.variousText is set. Profit/ Loss Account from the related Various Text account is used.
If DocumentLine.portCostCode is set. Profit/ Loss Account from the related Port Cost Code account is used.
If DocumentLine.handlingCostCode is set. Profit/ Loss Account from the related Handling Cost Code account is used.
If DocumentLine.variousText is null DocumentLine.portCostCode is null and DocumentLine.handlingCostCode is null. Profit / Loss Account from DocumentLine.account is used.
...
If DocumentLine.variousText is set. Accrual Profit/ Loss Account from the related Various Text account is used.
If DocumentLine.portCostCode is set. Accrual Profit/ Loss Account from the related Port Cost Code account is used.
If DocumentLine.handlingCostCode is set. Accrual Profit/ Loss Account from the related Handling Cost Code account is used.
If DocumentLine.variousText is null DocumentLine.portCostCode is null and DocumentLine.handlingCostCode is null. Accrual Profit/ Loss Account from DocumentLine.account is used.
...