fix sammelgutschrift
This commit is contained in:
parent
625adb3aa5
commit
4178b8e4c4
1 changed files with 7 additions and 2 deletions
|
|
@ -674,14 +674,19 @@ public class CargosoftXMLInvoiceImportService {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bei G = Gutschrift oder SR = Stornorechnung müssen wir das vorzeichen ändern
|
* G = Gutschrift
|
||||||
|
* SR = Stornorechnung
|
||||||
|
* GK = Sammelgutschrift
|
||||||
|
* SS = Sammelrechnung Storno
|
||||||
|
*
|
||||||
|
* müssen wir das vorzeichen ändern
|
||||||
* dies wird über den Invoice.Type geprüft
|
* dies wird über den Invoice.Type geprüft
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private boolean isGutschrift(ItemCollection workitem) {
|
private boolean isGutschrift(ItemCollection workitem) {
|
||||||
String type = workitem.getItemValueString("invoice.type");
|
String type = workitem.getItemValueString("invoice.type");
|
||||||
return ("G".equals(type) || "SR".equals(type));
|
return ("G".equals(type) || "SR".equals(type) || "GK".equals(type) || "SS".equals(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue