Home > Requirements > Regla De Transferencia De Monto Maximo Por Bloque
Report generated

Feature: [OEO-280] Regla De Transferencia De Monto Maximo Por Bloque

YO como crédito
QUIERO limitar el valor máximo a incrementar sobre cada bloque
PARA controlar las transformaciones que se pueden realizar en ADN.

Variables Generales:

  • Monto Disponible: @{available}
  • Monto Maximo a Transferir: @{amount-to-transfer}=$(@{increment})
  • Monto Nivel de Exposicion maximo: @{max-level}=$(@{increment})
  • Monto TOTAL a Transferir: @{total-amount}=$(@{increment})
  • Monto PARCIAL a Transferir: @{partial-amount}=$(@{increment}*@{DEC.X%})
  • Monto RESTANTE no Transferido: @{remaining-amount}=$(@{increment}*(1-@{DEC.X%}))
  • Porcentaje a transferir : @{DEC.X%}

Scenarios

Scenario details

Dado que Peter_Parker_Inc esta en el siguiente estado

isAvalCustomer{AVAL}
blockOrigin{BLOQUE_ORIGEN}
blockTarget{BLOQUE_DESTINO}
availableAmount{MONTO_DISPONIBLE}
amountToTransfer{MONTO_A_TRANSFERIR}
availableLevel{BLOQUE_ORIGEN}@{available}
availableLevel{BLOQUE_DESTINO}0
currentlyTransferredLIQUIDEZ0
currentlyTransferredSOBREGIRO0
currentlyTransferredTARJETA0
currentlyTransferredFACTORING0
currentlyTransferredCAPITAL0
currentlyTransferredLEASING0
currentlyTransferredEXPOSICION0
currentlyTransferredFILIALES0
committeeJDB
maxTotalExposure@{max-level}

Cuando se evaluan las reglas de negocio

Entonces el traslado aprobado tiene las siguientes caracteristicas

newLevel{BLOQUE_ORIGEN}{MONTO_FINAL}

Ejemplos:

AVALBLOQUE_ORIGENBLOQUE_DESTINOMONTO_DISPONIBLEMONTO_A_TRANSFERIRMONTO_FINAL
falseCAPITALLIQUIDEZ@{available}$(@{EQ.CAPITAL.LIQUIDEZ}*@{total-amount})$(@{available}-@{total-amount}) 
falseCAPITALLIQUIDEZ@{available}$(@{EQ.CAPITAL.LIQUIDEZ}*@{partial-amount})$(@{available}-@{partial-amount}) 
falseFACTORINGLEASING@{available}$(@{EQ.FACTORING.LEASING}*@{total-amount})$(@{available}-@{total-amount}) 
falseFACTORINGLEASING@{available}$(@{EQ.FACTORING.LEASING}*@{partial-amount})$(@{available}-@{partial-amount}) 

Scenario Results (including rows of test data) Automated
 Passing 0
 Pending 0
 Ignored 0
 Skipped 0
 Unsuccessful
 Failed 0
 Broken 0
 Compromised 0
Total 0
Execution Time Clock Time Fastest Test Slowest Test Average Execution Time
0ms 0ms 0ms 0ms 0ms

Automated Tests

Scenario Steps Start Time Duration Result
[Cliente AVAL:<AVAL>] Trasferencia de MONTO TOTAL de <BLOQUE_ORIGEN> a <BLOQUE_DESTINO> cuando el monto de exposicion SI LIMITA el valor maximo a transferir (4 examples) 3

Manual Tests

No manual tests were recorded
Serenity BDD version 2.3.7