Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

There is a (hidden) page that allows you to schedule the jobs. This page explains what the jobs are doing.

This

job

takes

care

of

time

-dependent

actions

on

contracts.

This

means:

-

  • contracts

  • will

  • be

  • activated

  • if

  • the

  • start

  • date

  • is

  • passed

  • and

  • the

  • contract

  • is

  • ready

-
  • contracts

  • will

  • be

  • terminated

  • when

  • the

  • termination

  • date

  • is

  • passed

-
  • contracts

  • will

  • be

  • extended

  • when

  • the

  • notice

  • date

  • is

  • passed

Map<Util_Enums.ContractAction, Integer> actionCount;

The

jobs

will

create

exact

queue

items

to

sync

accounts,

debtors,

creditors,

ledgersaccounts

ledger accounts and

get

open

amounts

Job_ContractManagement

Code Block

Job_EmailInvoice

code

This

job

emails

the

invoices,

this

should

only

run

after

the

Job_InvoiceCreation

+

Job_InvoicePDFCreation

has

run.

Job_ExactQueue

Code Block

Job_InvoiceCreation

code

This

batch

creates

invoices

for

all

Draft

orders

that

are

older

than

the

cooldown

period

Job_InvoicePDFCreation

code

This

creates

the

actual

PDF,

needs

to

run

after

the

Job_InvoiceCreation

job

Job_RecurringOrderApplication

code

This

job

takes

care

of

the

application

of

recurring

orders

(ie

orders

will

be

generated)

Job_RecurringOrderManagement

code

This

job

takes

care

of

time

-dependent

actions

on

recurring

orders,

this

means - recurring orders will be set to inactive if the end date is

means:

  • Recurring orders will be set to inactive if the end date is passed.

Job_Synchronisation

code

This

job

handles

account

synchronisation,

this

means

that

all

accounts

that

were

changed

since

the

last

run

will

be

synchronised

to

administrations

they

are

related

to

and

all

debtors

that

were

changed

will

be

upserted

in

Salesforce.

From

the

finish

method

, the

administration

queue

batches

will

be

started

Image RemovedImage Added