Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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. 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 Accrual from the related Account Document.documentLine.account is used.

Accrual

...

Receivable

If Document.documentLine is a various cost/revenue, meaning DocumentLine.variousText is set. And Document.documentAmount < 0. Asset Account Accrual from the related Various Text is used.

If Document.documentLine is a various cost/revenue, meaning DocumentLine.variousText is set. And Document.documentAmount > 0. Liability Account Accrual from the related Various Text is used.

If Document.documentLine is a port cost, meaning DocumentLine.portCostCode is set. And Document.documentAmount < 0. Asset Account Accrual from the related Port Cost Code is used.

If Document.documentLine is a port cost, meaning DocumentLine.portCostCode is set. And Document.documentAmount > 0. Liability Account Accrual from the related Port Cost Code is used.

If Document.documentLine is a handling cost, meaning DocumentLine.handlingCostCode is set. And Document.documentAmount < 0. Asset Account Accrual from the related Handling Cost Code is used.

If Document.documentLine is a handling cost, meaning 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 is not a various, port cost or handling cost.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 is not a various, port cost or handling cost.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

Invoice In, Credit In, Invoice Out and Credit Out

If DocumentLine is a various cost/revenue, meaning DocumentLine.variousText is set. Profit/ Loss Account from the related Various Text account is used.

If DocumentLine is a port cost, meaning DocumentLine.portCostCode is set. Profit/ Loss Account from the related Port Cost Code account is used.

If DocumentLine is a handling cost, meaning DocumentLine.handlingCostCode is set. Profit/ Loss Account from the related Handling Cost Code account is used.

If none of the above is set then Account form DocumentLine.variousText is null DocumentLine.portCostCode is null and DocumentLine.handlingCostCode is null. Profit / Loss Account from DocumentLine.account is used.

...

Accrual Posted, Accrual Reversed, Bunker Adjustment Posted and Bunker Adjustment Reversal

If DocumentLine is a various cost/revenue, meaning DocumentLine.variousText is set. Accrual Profit/ Loss Account from the related Various Text account is used.

If DocumentLine is a port cost, meaning DocumentLine.portCostCode is set. Accrual Profit/ Loss Account from the related Port Cost Code account is used.

If DocumentLine is a handling cost, meaning DocumentLine.handlingCostCode is set. Accrual Profit/ Loss Account from the related Handling Cost Code account is used.

If DocumentLine has no variousText, portCostCode or handlingCostCode.variousText is null DocumentLine.portCostCode is null and DocumentLine.handlingCostCode is null. Accrual Profit/ Loss Account from the related Account DocumentLine.account is used.

Commission deducted from hire payable

...