#367 Invoice candidates invoicing Pricelist not found
Testcase to check if pricelist works without errors for returnables when you want to invoice
-
Make sure that bpartner G000X has iscustomer = Y and isvendor = Y
-
Also set a Vendor Pricing System and leave Customer Pricing System empty
-
Create a customer Returns Document (inout, kundenrücklieferung)
-
add bpartner G000X, HU P0001, complete
- zoom in to invoice candidates
- => new one created, with Pricing System set to the Vendor Pricing System and IsSOTrx = Y
- => no errors
- gear - create invoice
- => invoice created ok, no errors
- => Pricing System set to the Vendor Pricing System and IsSOTrx = Y (credit memo)
-
set a Customer Pricing System for G000X
- create another customer Returns Document (inout, kundenrücklieferung), complete
- => invoice candidate crated with Customer Pricing System and IsSOTrx = Y, no errors
- create invoice from invoice candidates = gear
- => invoice created ok, no errors
- => Pricing System set to the Customer Pricing System and IsSOTrx = Y (credit memo)
-
set Vendor Pricing System empty for G000X
-
Create a vendor Returns Document (inout, lieferantenrücklieferung)
-
add bpartner G000X, HU P0001, complete
- zoom in to invoice candidates
- => new one created, with Pricing System set to the Customer Pricing System and IsSOTrx = N
- => no errors
- gear - create invoice
- => invoice created ok, no errors
- => Pricing System set to the Customer Pricing System and IsSOTrx = N (credit memo)
-
set a Vendor Pricing System for G000X
- create another vendor Returns Document (inout, lieferantenrücklieferung), complete
- => invoice candidate crated with Vendor Pricing System and IsSOTrx = N, no errors
- create invoice from invoice candidates = gear
- => invoice created ok, no errors
- => Pricing System set to the Vendor Pricing System and IsSOTrx = N (credit memo)
View source file on GitHub.com