Hello
Could you help me? I have 3 dates in Purchase order:
- Order date
- Validation date
- Expected realisation date
Validation date
is clear to me, but Order date
& Expected realisation date
is not.
What should I write there? Could you give some example?
Thanks
dtneo
#2
API is cool when you can handle it.
I just copy every " date " on a simple SaleOrder I create just now
all date you can find on a document
« expectedRealisationDate »: null,
« nextInvoicingEndPeriodDate »: null,
« updatedOn »: « 2023-03-22T17:11:57.776Z »,
« invoicedFirstDate »: null,
« currentContractPeriodEndDate »: null,
« confirmationDateTime »: null,
« computationDate »: null,
« deliveryDate »: null,
« updatedBy »: {
« contractStartDate »: null,
« nextInvoicingDate »: null,
« creationDate »: « 2023-03-22 »,
« endOfValidityDate »: « 2023-06-20 »,
« orderDate »: null,
« nextInvPeriodStartDate »: null,
« shipmentDate »: null,
« nextInvoicingStartPeriodDate »: null,
« contractEndDate »: null,
dtneo
#3
So :
order date, for me it’s when you create it, or update it. both existe
Expected realisation will be the date you can define for the delivery date
dtneo
#4
Sorry you ask for purchase.
So same thing here :
« expectedRealisationDate »: null,
« validationDate »: null,
« updatedBy »: {
« updatedOn »: « 2023-03-22T17:15:39.496Z »,
« orderDate »: « 2023-03-22 »,
« validatedByUser »: null,
« deliveryDate »: null,
with my n8n app

What is it? Is it date when I confirmed the order?
dtneo
#6
Probably the calcul of the delivery date, when manufacturer or supplier will be able to delivery you first before doing the expedition.
in the code of axelor, this is some « action » about this field
field name=« computationDate »
onChange=« action-sale-order-method-apply-timetable-template,action-sale-order-method-update-amount-to-be-spread-over-the-timetable »/
code here : https://github.com/axelor/axelor-open-suite/blob/master/axelor-sale/src/main/resources/views/SaleOrder.xml
Sorry I don’t have more info