on 06-12-2017 12:24 PM - last edited on 02-03-2024 11:42 PM by postmig_api_4
I have a A/R Invoice with dates like this:
Docdate: 2017.04.20
DocDueDate: 2017.05.05
TaxDate: 2017.04.20
VatDate: 2017.04.20
I'm trying to add a correction invoice from it, but when I set either the DocDueDate or the "ExtraDays" field from DI API, it won't do nothing:
Calendar newDueDate = Calendar.getInstance();
newDueDate.add(Calendar.DAY_OF_MONTH, 12);
correction.setDocDueDate(newDueDate.getTime());
correction.setExtraDays(12);
After I add the document, the docduedate on the new invoice is 15 extra days, like on the original Invoice.
Docdate: 2017.06.12
DocDueDate: 2017.06.27 (???)
TaxDate: 2017.06.12
VatDate: 2017.06.12
Is this a DI API problem, or do I need to set somehting else?
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.