Payment Terms Pricing Rules
Payment Terms pricing rules define when the product is to be paid for. Payment Terms can be negotiated between the end user and the pharmacist. Payment Terms can be defined on the product (SKU), total order, brand, or product group level.
Payment Terms can be defined using Payment Terms pricing rules and the value of the payment_values__v Veeva Setting.
- If there is a matching Payment Terms pricing rule, Payment Term is set based on the pricing rule
- If the payment_max__v field for the Payment Terms pricing rule contains a value, the user is able to edit the set value to one of the values listed in the field
- If the payment_max__v field for the Payment Terms pricing rule, does not contain a value but the payment_values__v Veeva Setting contains a value, the user is able to select a Payment Term from the values listed in the Veeva Setting
- If the payment_max__v field for the Payment Terms pricing rule, does not contain a value and the payment_values__v Veeva Setting does not contain a value, the user is able to enter free text value as the Payment Term
- If there is not a matching Payment Terms pricing rule, Payment Term is not set
- If the payment_values__v Veeva Setting contains a value, the user is able to select a Payment Term from the values listed in the Veeva Setting
- If the payment_values__v Veeva Setting does not contain a value, the user is able to enter free text value as the Payment Term
Payment Terms Pricing Rule applied? |
Payment Terms Pricing Rule applied has Payment Max defined? |
Veeva Settings Payment Value is defined? |
Default Payment Term |
Available Payment Terms |
---|---|---|---|---|
Yes |
Yes |
n/a |
payment__v field on the pricing_rule__v object |
payment_max__v field on the pricing_rule__v object |
Yes |
No |
Yes |
payment__v on the pricing_rule__v object |
payment_values__v Veeva Setting |
Yes |
No |
No |
payment__v on the pricing_rule__v object |
Free text |
No |
n/a |
Yes |
None |
payment_values__v Veeva Setting |
No |
n/a |
No |
None |
Free text |
The payment_priority_bottomtotop__v Veeva Setting determines the priority of choosing a winning payment term to set as total_payment__v when payment terms are set on the product, total order, brand, and product group level.
- If the payment_priority_bottomtotop__v check box is deselected, Payment Term priority is set to order level, product group level, brand level, and then product level
- If the payment_priority_bottomtotop__v check box is selected, Payment Term priority is set to product level, brand level, product group level, and then order level
Who can use this feature?
- iPad, Windows Users (Browser coming soon)
- Users do not require an additional license
- End Users, Order Admins
Configuring Payment Terms Pricing Rules for

Payment Terms pricing rules are not required to use payment terms. The payment_values__v Veeva Setting and be used to set payment term values across all products and conditions. Free text Payment Terms can be entered if the payment_values__v Veeva Setting does not contain a value.
To configure this feature:
- Ensure Configuring Order Management is complete.
- Navigate to Admin > Users & Groups > Permission Sets.
- Select the appropriate permission set.
- Select Objects.
- Select the veeva_settings__v object.
- Enter values for payment_values__v separated by a semicolon to disable free text entry of Payment Terms. For example: 30 Days;60 Days;90 Days
- Deselect the payment_priority_bottomtotop__v check box to set Payment Term priority to order level, product group level, brand level, and then product level.
- Select the payment_priority_bottomtotop__v check box to set Payment Term priority to product level, brand level, product group level, and then order level.
Creating Payment Terms Pricing Rules as

To create a Payment Terms Pricing Rule:
- Navigate to Home > Pricing Rules tab.
- Select Create.
- Select Payment Terms in the Object Type Selector.
- Select Continue.
- Complete the following fields:
- name__v
- product__v (must be null, or product_type__v is order__v, detail__v, product_group__v)
- start_date__v
- end_date__v
- comparison_type__v
- minimum_quantity__v
- maximum_quantity__v (optional)
- payment_terms__v
- payment_terms_max__v (optional) (values separated by a semicolon)
- Select Save.
Using Payment Terms Pricing Rules as

After all discounts are calculated and applied, Payment Terms pricing rules can set the payment terms on the line level, order level, brand level, and product group level. If payment terms are not set by Payment Terms pricing rules, users can select from the values in the payment_values__v Veeva Setting. If the payment_values__v Veeva Setting does not contain any values, users can enter free text.
If the payment__v, payment_brand__v, and/or payment_group__v fields are on the layout for order_line__v and/or the payment__v field is on the layout for order__v, the user can manually override the payment terms determined by the pricing rules with values either from the payment_terms_max__v field on the pricing rules, values from the payment_values__v Veeva Setting, or with free text.
If payment_brand__v is edited, the override value is applied to payment_brand__v for all products in the brand.
The payment_group__v field can only be edited if a product group is defined for the order line in the product_group__v field. The override value is applied to payment_group__v for all products with the same product_group__v value defined on the order line.
Comparison Type
- If Payment Term comparison_type__v equals the product_quantity__v, quantity__v is considered to determine if the payment term applies
- If Limit Rule comparison_type__v equals the list_value__v, quantity__v multiplied by list_amount__v is considered to determine if the payment term applies
- If Limit Rule comparison_type__v equals the net_value__v, quantity__v multiplied by net_amount__v is considered to determine if the payment term applies
Product Type
- If Payment Term product product_type__v equals order__v, only the product is considered to determine if the payment term applies. The Payment Term pricing rule sets the payment__v field on the order line.
- If Payment Term product product_type__v equals null, all products on the order are considered to determine if the payment term applies. The Payment Term pricing rule sets the payment__v field on the order.
- If Payment Term product product_type__v equals detail__v, all products in the brand are considered to determine if the payment term applies. The Payment Term pricing rule sets the payment_brand__v field on the order line.
- If Payment Term product product_type__v equals group__v, all products in the product group are considered to determine if the payment term applies. The Payment Term pricing rule sets the payment_group__v field on the order line.
- If a product group is defined for the order line in the product_group__v field, only Payment Term pricing rules for that product group are considered
- If a product group is not defined for the order line in the product_group__v field and there is only one Payment Term pricing rule that could apply to the product on the product group level, that Payment Term pricing rule is considered
- If a product group is not defined for the order line in the product_group__v field and there are multiple Payment Term pricing ruless that could apply to the product on the product group level, no Payment Term pricing rules are considered and payment_group__v is not set for the order line
A product is considered towards all Product Groups it belongs to, even if a Product Group is defined on the product order line.