#781 ESR scan processing returns improper bpartner
Testcase to check if the bpartner in ESR scan process is set correctly.
-
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
-
Create a purchase invoice for G000X
-
Create an ESR payment string for this invoice, to use for scan (including the sum of the invoice, ESR no. of G000X and G000Y)
- In purchase invoice, click Gear, Zahlung einlesen:
- => window for ESR scan opens
- Copy paste your ESR payment string into field Payment String, then click Tab:
- => bpartner G000X is set, NOT G000Y!
- => G000X’s account no. is set
- => the sum is set
- Close the window without clicking OK, then go to Zahlung-Zuordnung and search for G000X:
- => your purchase invoice is displayed
- Select the invoice, then click Zahlung einlesen:
- => window for ESR scan opens
- Copy paste your ESR payment string into field Payment String, then click Tab:
- => bpartner G000X is set, NOT G000Y!
- => G000X’s account no. is set
- => the sum is set
Regression:
-
Set the ESR bank account for G000X inactive
-
Create another purchase invoice for G000X
-
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)
- In purchase invoice, click Gear, Zahlung einlesen:
- => window for ESR scan opens
- Copy paste your ESR payment string into field Payment String, then click Tab:
- => window pops up informing you there is no ESR account for this bpartner, but you can create one on-the-fly
- In the field for bpartner, enter G000X, tab:
- => field for bank account is filled, with an ESR account now created for usage
- Click OK, them check bpartner, bank account tab for G000X:
- => window for ESR payment string closes
- => new ESR account was created: same ESR account no., but this acct is active
- Check window Zahlung-Zuordnung, for G000X:
- => Summe Zahlschein is updated correctly, from your ESR payment string
- Check the on-the-fly creation in Zahlung-Zuordnung as well:
View source file on GitHub.com