Calculates the proper values for the Subscription's EffectiveDate, PaidThruDate, and MonthsPaid
Namespace: Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public void CalcCashDuesDates( ref DateTime effectiveDate, ref DateTime paidThruDate, ref int monthsPaid ) |
| Visual Basic |
|---|
Public Sub CalcCashDuesDates ( _ ByRef effectiveDate As DateTime, _ ByRef paidThruDate As DateTime, _ ByRef monthsPaid As Integer _ ) |
| Visual C++ |
|---|
public: void CalcCashDuesDates( DateTime% effectiveDate, DateTime% paidThruDate, int% monthsPaid ) |
Parameters
- effectiveDate
- Type: System..::..DateTime%
The date that the subscription becomes effective
- paidThruDate
- Type: System..::..DateTime%
The date through which the subscription is paid
- monthsPaid
- Type: System..::..Int32%
The number of months between the effectiveDate and the paidThruDate
Remarks
If IsDuesSynced is set and either JoinDate or
PaidThroughDate are not set for the SubscribedContact an error is generated.