📚 SAP Business One SDK Help

DueDatesType Property
See Also 

Description

Determines whether the payment due dates are based on ddtAfterTimePeriod (after number of days and months) or ddtByDates (voucher date of receipt).

Field name: TERM_TYPE.

Property type

Read-write property

Syntax

Visual Basic
Public Property DueDatesType() As DueDateTypesEnum

Remarks

If you set ddtAfterTimePeriod (default), then you must set the PaymentAfterDays (PaymentAfterMonths is not mandatory).

If you set ddtByDates, then you must set the due dates for payment from day 1 to day 31 of the month. You can split the month period to maximum four periods. The payment day must be within the period.

For example:

Voucher Date of Receipt Payment On Day
FromDay1 = 1, ToDay1 = 7, PaymentDate1 = 10, (NoofMonths1 is not mandatory).
FromDay2 = 8, ToDay2 = 15, PaymentDate2 = 20, (NoofMonths2 is not mandatory).
FromDay3 = 16, ToDay3 = 23, PaymentDate3 = 25, (NoofMonths3 is not mandatory).
FromDay4 = 24, ToDay4 = 31, PaymentDate4 = 30, (NoofMonths4 is not mandatory).

See Also