Available Custom Settings

The custom setting “GoMeddo Subscription Management 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

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 a portion of the orders should be invoiced, you can refer to a specific field on order to invoice only the orders where this field is true.

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

 

3

AUTOMATIC_INVOICE_CYCLE

SUPPORTS

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?)

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 automatically create invoices for orders that have been in the system for at least this number of days.

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 customers in a different country within the EU. This check will be applied when a contract or order is created.

TRUE

8

CLIENT_ARTICLE_FIELD

Custom field that can contain the name of the Article that should be used in Exact.

FALSE

9

CLIENT_BIC_FIELD

Copies the value from this custom field name to the GoMeddo Subscription Management BIC Field on Account

FALSE

10

CLIENT_COST_CENTER_FIELD

Custom field that can contain the cost center that is sent to Exact for this order item.

FALSE

11

CLIENT_IBAN_FIELD

Copies the value from this custom field name to the GoMeddo Subscription Management IBAN Field on Account

FALSE

12

CLIENT_SEPA_MANDATE_DATE_FIELD

Copies the value from this custom field name to the GoMeddo Subscription Management SEPA Mandate Field on Account

FALSE

13

CLIENT_VAT_NUMBER_FIELD

Copies the value from this custom field name to the GoMeddo Subscription Management VAT Field on Account

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

Number of months that is used to generate revenues for after the current contract end date.

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 set to true, the system will create credit orders by applying a negative quantity instead of a negative price.

FALSE

19

CRON_LOG_LEVEL

Default setting for the log level of the GoMeddo Subscription Management jobs

ERROR

20

CUSTOM_INVOICE_AGGREGATION_FIELD

Can contain a field name on order that will be used to apply custom aggregation when creating invoices.

 

21

DAILY_PRICE_FACTOR_APPLIED_TO

When using a product of cost type RECURRING_DAILY, this setting determines whether the unit price or the quantity is multiplied by the number of days in the period.

UnitPrice

22

DEFAULT_PAID_IN_ADVANCE

Default value for the Invoice field “Paid In Advance”.

FALSE

23

DEFAULT_PAYMENT_TERM

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

14

24

DISABLE_DIRECT_ADMIN_SYNC

This determines if we create the sync request for new invoices asynchronously or direct

FALSE

25

ENABLE_CONTRACT_REVENUES

If set to true, contract revenues will be created for all contract products.

TRUE

26

ENABLE_LIGHTNING_STYLES

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

TRUE

27

EXACT_TRANSITORY

If set to true, the order item start and end dates will be synchronized to Exact.

TRUE

28

EXCLUDE_LAST_MONTH_FROM_EXTRAPOLATION

If set to true, the system excludes the last month from an extrapolation to complete months (only applicable when EXTRAPOLATE_ORDERS_UNTIL_MONTH_END is set to true)

FALSE

29

EXTRAPOLATE_ORDERS_UNTIL_MONTH_END

If set to true, orders will always be extended to be synced up to the calendar months.

TRUE

30

HIDE_DEFAULT_TERMINATION

If set to to true, the current end date is not shown in the field “Termination Date” when using the Terminate Contract button. If set to false, the value is pre-populated.

FALSE

31

INCLUDE_ORDER_DESCRIPTION_ON_INVOICE

If set to true, the descriptions of all the orders on an invoice will be combined and put into the invoice description

FALSE

32

INTERFACE_LOG_LEVEL

The default value for the log level of the interfaces to external systems

ERROR

33

INTERFACE_XML_LOG_LEVEL

The default value for the log level of the requests and responses to the external systems.

ERROR

34

INVOICE_DATE_BASED_ON

Can be CREATION_DATE, MIN_ORDER_DATE or MAX_ORDER_DATE. This determines the invoice date of the invoice.

CREATION DATE means the invoice date is the date on which it is created.
MIN_ORDER_DATE means that the invoice date will be the earliest start date of the orders on the invoice (but never in the past),
MAX_ORDER_DATE means the latest start date of the orders on the invoice (also never in the past)

CREATION_DATE

35

INVOICE_ZERO_AMOUNT_ORDERS

Indicates if orders where the product amounts sum to 0 should be put on the invoice.

Please keep in mind if there are no order lines the order will not be invoiced!

FALSE

36

PRIVATE_INVOICE_ATTACHMENTS

If set to true, invoice PDFs will be created as private attachments. This feature is becoming obsolete since it is only relevant when USE_SALESFORCE_FILES_FOR_INVOICES is false.

FALSE

37

REDIRECT_TO_INVOICE_AFTER_CREATION

If enabled (set to true), the user will be redirected to the invoice after manually creating a single invoice for certain orders.

TRUE

38

USE_ACCOUNT_NAME_AS_TF_DESCRIPTION

When set to true, the account name will be synchronized in the description field of the Twinfield transaction.

TRUE

39

USE_CALENDAR_QUARTER

If the option is set to true, the invoice cycle of contracts with quarterly payments will be synced up to calendar quarters.

FALSE

40

USE_INVOICE_PAYMENT_METHOD_DEFAULT

If set to true, the default value of the Payment Method field on Invoice will be used as the default payment method (in favour of the corresponding field on Account).

FALSE

41

USE_NUMBER_OF_DAYS_IN_MONTH

If set to true, when calculating orders for parts of the month, the actual number of days in the month is used. If set to false, the system always uses 30 days per month.

TRUE

42

USE_ORDER_BILL_TO_CONTACT

If set to true, the Bill To Contact of orders will be used to aggregate the orders. This contact will also be used as the contact person on the invoice.

FALSE

43

USE_PAYMENT25_LINK

The boolean value indicates whether GoMeddo Payments is being used and if the generation of the PDF should be stopped until the payment link is generated.

FALSE

44

USE_PAYMENT_LINK_INVOICE_FIELD

String value representing a checkbox field related to the invoice (e.g. Invoice__c.Boolean__c). This indicates that if the field is set to false, the generation of the invoice PDF should wait until another process is completed and the checkbox is enabled.

 

45

USE_SALESFORCE_FILES_FOR_INVOICES

Indicates whether "Files" (checked) or "Notes/attachments" (unchecked) are being used. Salesforce recommends using files.

TRUE

46

IGNORE_ORDER_FIELD

If set to true, all triggers and validations are ignored for this order

FALSE

47

DISABLE_TRIGGER_CONTRACT_LOGIC

If set to true, triggers are ignored for contracts.

FALSE