OneCore Docs
Breadcrumbs

Mass Invoice Payment

Posting Payments by Task API Post Financing Payment (402640)

A user can start mass payment posting by periodic task – Post Financing Payments (Without Services).

The system opens a dialog window in which the user can filter e.g. the customer number on the Financing Contract Header tab and filter the period by posting date on the Financing Contract Lines tab.

The system will charge according to the set filters if the following applies:

  • These contracts are marked Financing with Services = NO.

  • On the detailed contract status, "Accounting from the T&C" is enabled.

  • It is not possible to charge if there is a change copy for the contract or if the contract is a change copy.

  • It is also not possible to charge from the Financing Contract Variant

The system also changes the value of the Reference Date field in the contract header to the current system date.


Posting Payments via Planner

Task Setup

A task can be used for automatic posting via the scheduler.

For the task, you need to set up:

OneCore settings (a detailed description of the fields is in the Nastavení OneCore ):

  • Paym. Posting Selection Method

  • Determ. Day for Payments Batch Posting

Batch Contract Posting Setup:

In the table, the user defines which day the system will post which types of contract lines via the scheduler:

  • No. of Day

    • Calendar day in month 1-31 is recorded

  • Contract Line Type Filter

    • Entering a number for the payment type filter

      • 0 = Payment

      • 1 = Revenue

      • 2 = Advance

      • 3 = Insurance – insurance outside the payment schedule

Batch Payment Posting job

The task can be run:

  • From the Role of the OneCore - Financing (All products) center, option Posting.

!! After starting, the task runs without warning, it charges installments right away!!

The task works with the user's Work Date

  • Via the codeunit planner 4026414 "API Batch Contr. Posting"

The task works with the system date

After the job starts:

  • It goes through contracts that:

    • Financing Product Types, Contract wit Services = NO

    • Variant = NO

    • Change Copy = NO

    • Detailed contract status has Allow Posting from Payment Cal.=YES

    • It filters payments with Posting Date according to the job settings vid point above.

    • It posts all payments up to the calculated date from the settings, i.e. if the payment was not posted in the previous month, the system will post the previous payment as well.   

A task can be used for automatic posting via the scheduler. Batch posting must be set up for the job.

The user defines which day the system will post which types of contract lines via the scheduler.

Running a batch Payment Posting Job (Planner Without Services) (CU 4026414) does not open a dialog box, but reads the parameter settings for posting and directly posts the contracts if the following applies:

  • The contracts are marked Financing with Services = NO

  • On the detailed contract status there is Allow Posting from Payment Statement = YES

  • It is not possible to charge if there is a change copy for the contract or if the contract is a change copy

  • It is also not possible to charge from the Financing Contract Variant

The system also changes the value of the Reference Date field in the contract header to the current system date.


After sending:

  • On the

    • Document Status: Complete

    • Sending Status - Mail: Sent

  • In the appendices

    • Attachment with attachment type Sales Invoice



Posting Operating Lease Payments Without Services by Task API Mass Invoicing - Complete (4046892)

For mass aggregated posting of installments of contracts with financing type (Financing Type (19007, Option) = Operative leasing Tagged Financing with Services = NO The standard task for operating lease invoicing has been extended API Mass Invoicing - Complete (4046892). According to the settings on the customer card, this task aggregates and invoices operating lease payments. Depending on the Role of the Center from which the task is started, or by manually switching the user in the task dialog, the task can invoice contracts with services, without services or all in bulk. Task detail is described in PD Hromadná fakturace splátek_Invoicing sales .