closes #983
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
- #954
|
- #954
|
||||||
- #947
|
- #947
|
||||||
- #969
|
- #969
|
||||||
|
- #984
|
||||||
|
- #983
|
||||||
|
|
||||||
2.20.0
|
2.20.0
|
||||||
=======
|
=======
|
||||||
|
|||||||
@@ -194,6 +194,12 @@ public class Invoice implements IExportableTransaction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Invoice setCreditNote() {
|
public Invoice setCreditNote() {
|
||||||
|
documentCode = DocumentCodeTypeConstants.CREDITNOTE; // this value should somewhen be changed to Selfbilling
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Invoice setCreditNote(String number) {
|
||||||
|
setInvoiceReferencedDocumentID(number);
|
||||||
documentCode = DocumentCodeTypeConstants.CREDITNOTE;
|
documentCode = DocumentCodeTypeConstants.CREDITNOTE;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user