| idBankStateClosingBalance | input | decimal | Closing Balance of Bank State |
| idBankStateOpeningBalance | input | decimal | Opening Balance of Bank State |
| odBankStateMovement | output | decimal | Movement of Bank State |
| oiReturnStatus | output | integer | Return status of the method. |
/* ====================== */
/* replace unknown values */
/* ====================== */
if idBankStateClosingBalance = ? then assign idBankStateClosingBalance = 0.
if idBankStateOpeningBalance = ? then assign idBankStateOpeningBalance = 0.
/* ==================================== */
/* movement is always closing - opening */
/* ==================================== */
assign odBankStateMovement = idBankStateClosingBalance - idBankStateOpeningBalance.