My App

Edge Cases and Limitations

Special handling rules and out-of-scope behavior.

Edge Cases

Cross-Branch Payment That Would Close a Transaction

  • Scenario: Payment is collected in a non-owning branch and the amount would fully close the transaction.
  • Expected behavior: System must reject closure from non-owning branch.
  • Action: Route customer to owning branch for final closure.

Blocked Customer With Existing Active Loans

  • Scenario: Customer is blocked after one or more transactions were already active.
  • Expected behavior: New transactions are not allowed, but repayment and closure on existing transactions are allowed.

Early Closure in First 30 Days

  • Full closure day 1 to 15: minimum 15-day interest.
  • Full closure day 16 to 30: full 30-day interest.
  • Partial payment within first month: daily interest up to payment date.

Missing Daily Gold Price

  • Scenario: Branch has not entered gold price for the business date.
  • Impact: Risk valuation and release valuation may be blocked or inaccurate.
  • Action: Enter daily gold price before release or risk operations.

Duplicate Civil ID Attempt

  • Scenario: User tries to create a new customer with an existing civil ID.
  • Expected behavior: System prevents duplicate creation.
  • Action: Search and use existing customer profile.

Post-Creation Civil ID Change

  • Scenario: Civil ID requires correction after customer creation.
  • Expected behavior: Only Head role can update civil ID.
  • Action: Escalate the request to Head for controlled update.

Limitations and Scope Boundaries

  • Auction processing logic is out of scope; only AUCTION status marking is supported.
  • Automated legal notices are out of scope.
  • SMS and WhatsApp integration are not included in current scope.
  • Mobile app is out of scope for this phase.
  • Gold barcode tagging is not included.

Resolved Policy Decisions

  • Customer creation authority:

    • Head: allowed
    • Branch Manager: allowed
    • Staff: allowed
  • Block customer authority:

    • Head and Branch Manager
  • Payment entry authority:

    • Head, Branch Manager, and Staff are all allowed
  • AUCTION status authority:

    • Head, Branch Manager, and Staff are all allowed
  • Civil ID evidence requirement:

    • Civil ID front and back images are required in operational onboarding
  • Gold release eligibility rule:

    • Release is allowed only when released gold value does not exceed outstanding principal
  • Gold valuation formula (single standard):

    • value = net weight x (purity / 100) x daily gold rate
    • This same formula must be used in release, risk, and valuation safeguards
  • Discount alert visibility:

    • Branch Manager and Head must both receive discount alerts
  • Top-up workflow scope:

    • Treated as supported only through closure and re-issue workflow

Operational Warnings

  • Payment deletion is not allowed.
  • Financial and status changes are audit-logged and immutable.
  • Internal financial precision is 3 decimals; displayed values round to 2 decimals.
  • Interest model is simple interest only; no compounding.

Workflow Prerequisite Checklist

Use this quick check before sensitive operations:

  1. Customer is active and valid.
  2. Transaction status is ACTIVE.
  3. Daily gold rate is present.
  4. Branch ownership rules are respected.
  5. Required reason fields are completed (for discount or blocking actions).

On this page