metafresh logo and link to homepage

IT gh#781

#781 ESR scan processing returns improper bpartner

Testcase to check if the bpartner in ESR scan process is set correctly.

  1. Make sure both G000X and G000Y have a bank account used for ESR, and the same ESR no. and account no.! => copy the one from G000Y to use also for G000X, so it was used first for G000Y

  2. Create a purchase invoice for G000X

  3. Create an ESR payment string for this invoice, to use for scan (including the sum of the invoice, ESR no. of G000X and G000Y)

  4. In purchase invoice, click Gear, Zahlung einlesen:
  5. Copy paste your ESR payment string into field Payment String, then click Tab:
  6. Close the window without clicking OK, then go to Zahlung-Zuordnung and search for G000X:
  7. Select the invoice, then click Zahlung einlesen:
  8. Copy paste your ESR payment string into field Payment String, then click Tab:

Regression:

  1. Set the ESR bank account for G000X inactive

  2. Create another purchase invoice for G000X

  3. Create an ESR payment string for this invoice, to use for scan (including the sum of the new invoice, and the ESR no. of G000X)

  4. In purchase invoice, click Gear, Zahlung einlesen:
  5. Copy paste your ESR payment string into field Payment String, then click Tab:
  6. In the field for bpartner, enter G000X, tab:
  7. Click OK, them check bpartner, bank account tab for G000X:
  8. Check window Zahlung-Zuordnung, for G000X:
  9. Check the on-the-fly creation in Zahlung-Zuordnung as well:

Zur Quelldatei auf github.com