Invoice timeline
It is now possible to see the timeline for an invoice, the timeline is presented by using the invoice timeline button in import form and document form.
The log is created and presented as timeline during certain events like when importing invoice, post invoice to document form, final posting, cancel invoice, copy to import from cancel and status updates of invoices in document form.
Setup
No setup is needed for basic timeline logging.
For an invoice the following events is displayed as a timeline event;
- Creating the invoice (import ocr, from invoice cancellation).
- Will show an 'Invoice imported' log with a function button showing more details.
- Posting the invoice from import
- Will show an 'Invoice posted to document form' log.
- Final Posted
- Will show an 'Invoice posted' log.
- Canceled
- Will show an 'Invoice cancelled' log.
- If the invoice was copied to import this will be shown in the body of the timeline entry.
- Status Update
- Will show a 'Document status updated' log every time the status is updated.
- The details will show from and to status. Process time is not shown for this timeline event.
Setup Groups for log details
It is possible to log details on the events by setting up group and select the details from a list of actions you want to log from import history and invoice journal.

- Go to ExFlow | Setup | Resources | Logging | Timeline fields | Groups
a) Create a group, name it and set an event (currently invoice imported and invoice cancelled is supported).
b) Assign the table that is to be logged.
- Select “Add” and choose the table to use.
Import head log – Fields from Import history.
Journal lines – Fields from invoice register journal.
c) Then assign field(s) from that table under fields.
- Select “Add” and choose the fields to log.

- Go to ExFlow | Setup | Resources | Logging | Timeline fields | Setup
a) Assign the group to a single company or all companies (Table or All).
b) Select the earlier created Timeline field group.

- On the time line event there will be a button “Show details” that will present the field data collected.


Process/Functionality
The log is created from import of the invoice and displayed as a timeline event for following;
Creating the invoice (import ocr, from invoice cancel), posting the invoice from import, final posted, canceled and status updates.
The buttons “Timeline” and “Invoice Timeline” exists;
- in the import list page, under General tab > History > Invoice timeline.
- on the invoice in import, under Manage > Inquiries > Timeline.
- in the document list page, under General tab > History > Invoice timeline.
- on the invoice in document, under General tab > History > Invoice timeline.
Note! The timeline is the same regardless of where you click on the timeline.


Posting Error handling in timeline from ExFlow version 2.19
The purpose of this feature is to improve handling of invoice posting errors in ExFlow by saving posting errors directly in the invoice timeline. Users can clearly see why an invoice failed to post, including during batch posting, and can more easily review, correct, and repost the invoice.
The solution is for both invoice register and direct posting flows.
Setup
Parameters
In ExFlow parameters in the Posting Logic tab under the Invoice parameters section, a new parameter of the type Boolean has been added called Use In journal status for PO invoices. Default value is No.
This enables status In journal for PO invoices.

Changes to forms
In the document form in details mode, if the invoice is a PO invoice, a new menu item called Remove PO invoice from In Journal has been created in the general menu in the Other section, above Change Status.

Changes to workspaces
In the ExFlow workspaces (both for Direct posting and Invoice register process) the following detail lines have been added in the open invoices sections;
- Purchase invoices in Journal
- Filtered on all PO invoices with status "In journal".
- Purchase invoices with posting errors
- Filtered on all PO invoices with status "In journal" and "Has posting errors" = Yes, UNION all PO invoices with status "Approved" and "Has posting errors" = Yes.
- Cost invoices with posting errors
- Filtered on all Cost invoices with status "In journal" and "Has posting errors" = Yes, UNION all Cost invoices with status "Approved" and "Has posting errors" = Yes.

Changes to timeline logging
A new logging type, Posting error, has been created. The posting error type has a detail part, like for example approval logging of position hierarchy.


Process/Functionality
Pending vendor invoice process
When an invoice fails to post, ExFlow will save the posting errors in the invoice timeline and set the Has posting errors indicator to Yes. If enabled by parameter, the invoice status will also change to In journal. If no specific error is returned, an "Unknown PO posting error occurred" message will be logged. This applies to both manual and batch posting.
Approval and Invoice journal posting
When a journal fails to post, ExFlow will set the Has posting errors indicator to Yes for the affected invoices and save the related posting errors in the invoice timeline. This applies to both manual and batch journal posting.