public void PostOptionalCopy(Rtxn rtxn, long deductSchedNbr, long clearingAcctNbr, DateTime? effDate, bool isCopy, bool isForcePost, long? submNbrToCopy)
{
this._rtxn = rtxn;
this._deductSchedNbr = deductSchedNbr;
this._clearingAcctNbr = clearingAcctNbr;
//判断方法参数effdate是否有值
if (effDate.HasValue)
{
this._effDate = effDate.Value;
}
else
{
this._effDate = DateTime.MinValue;
}
if (submNbrToCopy.HasValue)
{
this._submNbrToCopy = submNbrToCopy.Value;
}
this._isCopyOn = isCopy;
this._isForcePost = isForcePost;
this._saveType = DeductSchedSubmOption.PostWithOptionalCopy;
base.MarkAsDirty();
}