Versions Compared

Key

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

The custom setting “Subscription25 Settings” is used to set certain settings in the system. These settings can be overwritten to support your use case. The following list of values is available.

Value

Description

Default Value

1

AUTO_CREATE_UBL

Indicates if the UBL file should be created when the invoice file is created.

See more about the UBL here: http://www.datypic.com/sc/ubl21/e-ns39_Invoice.html

FALSE

2

AUTO_INVOICE_FILTER_FIELD

If only part of the orders should be invoiced you can reference the name of a field to only invoice the orders where this field is true.

Code Block
languagejava
String.format('AND {0} = true', new String[]{customFilter});

3

AUTOMATIC_INVOICE_CYCLE

SUPPORTS

Code Block
NONE, //don't invoice automatically
DAILY, //run invoice batch daily
WEEKLY, //run invoice batch on the given days of the week (0 = monday, 6 = sunday)
MONTHLY, //run invoice batch on the given days of the month (values 1-28 are allowed, 32 = last day of the month?)
QUARTERLY, //run invoice batch on the given days of a quarter (values 1-90 are allowed) 1 = jan 1st, apr 1st, jul 1st and oct 1st, so ignores leap
YEARLY //run invoice batch on the given days of the year (values 1-364 are allowed, ignores leap)

None

4

AUTOMATIC_INVOICE_DAYS

Linked with AUTOMATIC_INVOICE_CYCLE.
Allows a numeric value to specify a day on which we should run the job.

5

AUTOMATIC_INVOICE_DELAY

Only create invoices for orders that are older than this number.

7

6

CASCADE_VAT_EXEMPT

Indicates if the company VAT Exemption should be cascaded to all the contacts

TRUE

7

CHECK_VAT_NUMBER_ON_ACCOUNT_USAGE

Makes The VAT Number required for customer on which the administration country is different than the account country

TRUE

8

CLIENT_ARTICLE_FIELD

Field on OrderItem object if you are not using the default product field

FALSE

9

CLIENT_BIC_FIELD

Copies the value from this custom field name to the Subscription25 BIC Field

FALSE

10

CLIENT_COST_CENTER_FIELD

Field on OrderItem object if you are not using the default cost center field

FALSE

11

CLIENT_IBAN_FIELD

Copies the value from this custom field name to the Subscription25 IBAN Field

FALSE

12

CLIENT_SEPA_MANDATE_DATE_FIELD

Copies the value from this custom field name to the Subscription25 SEPA Mandate Field

FALSE

13

CLIENT_VAT_NUMBER_FIELD

Copies the value from this custom field name to the Subscription25 VAT Field

FALSE

14

COMPANY_LOGO_ID

Reference to a Document id in the system which holds an image to be used in the invoice.

ID of Document Record

15

CONTRACT_REVENUE_EXTENSION

Default contract extension revenue

12

16

CREATE_ORDER_ITEMS_PER_MONTH

Separate individual order lines over months (instead of the total period)

TRUE

17

CREATE_ORDER_PER_ORDER_ITEM

Creates individual Order per order line (instead of grouping the order lines in one order)

FALSE

18

CREDIT_QUANTITIES

If a credit is created we either multiple the price (unchecked, default) or the quantity (checked) with -1. So it becomes a negative amount

FALSE

19

CRON_LOG_LEVEL

Determines the log level that should send the emails

ERROR

20

CUSTOM_INVOICE_AGGREGATION_FIELD

Group the orders by a custom field

FALSE

21

DAILY_PRICE_FACTOR_APPLIED_TO

UnitPrice

22

DEFAULT_PAID_IN_ADVANCE

Are the order already paid in advanced than we can check this value

FALSE

23

DEFAULT_PAYMENT_TERM

The Standard Payment Term used as a fallback when an account does not have a payment term.

14

24

DEFAULT_PRICEBOOK

What is the Default Pricebook that we should use in the Contracts

STANDARD

25

DISABLE_DIRECT_ADMIN_SYNC

This determines if we create the invoice asynchronous or direct

FALSE

26

ENABLE_CONTRACT_REVENUES

Do you want the contract to create revenues to report on?

TRUE

27

ENABLE_LIGHTNING_STYLES

Indicate if the components should be styled according to the lightning design system

TRUE

28

EXACT_TRANSITORY

For Exact, if we need to create the invoices over period of time

TRUE

29

EXCLUDE_LAST_MONTH_FROM_EXTRAPOLATION

When there is a period of less than one month we can create an order over the whole period

FALSE

30

EXTRAPOLATE_ORDERS_UNTIL_MONTH_END

Should we only create order to the end of the month

TRUE

31

HIDE_DEFAULT_TERMINATION

Should we use the Current End Date or a termination date?

FALSE

32

HIDE_PAYMENT_METHOD

FALSE

33

INCLUDE_ORDER_DESCRIPTION_ON_INVOICE

Should we put the order description of the order on the invoice?

FALSE

34

INTERFACE_LOG_LEVEL

Which log level should we use for the external interfaces

ERROR

35

INTERFACE_XML_LOG_LEVEL

Which log level should we use for the external XML interfaces

ERROR

36

INVOICE_DATE_BASED_ON

CREATION_DATE

37

PRIVATE_INVOICE_ATTACHMENTS

Should the invoices be created privately (so only shared with the owner)?

FALSE

38

REDIRECT_TO_INVOICE_AFTER_CREATION

When you manual invoice the orders we can redirect if there is a single invoice being created

TRUE

39

SCHEDULE_TIME_ZONE

The timezone used in the scheduled jobs

Europe/Amsterdam

40

USE_ACCOUNT_NAME_AS_TF_DESCRIPTION

Should we use the Account name in the Twinfield transaction line

TRUE

41

USE_CALENDAR_QUARTER

FALSE

42

USE_INVOICE_PAYMENT_METHOD_DEFAULT

Should we use the Invoice payment method or the account payment method by default?

FALSE

43

USE_NUMBER_OF_DAYS_IN_MONTH

Divide the order per day

TRUE

44

USE_ORDER_BILL_TO_CONTACT

Group order by BillToContact field

FALSE

45

USE_SALESFORCE_FILES_FOR_INVOICES

Indicates if Files (checked) or Notes/attachments (unchecked) is used. Salesforce advises to use files.

TRUE