Class AP_OpenInvoice_svc

Properties

LOCAL cMainTable$="AP_OpenInvoice"  
LOCAL cIsSysDB=isFALSE  

Methods

FUNCTION GetAccountsPayableAmounts(cAPIntegration$, cPeriodEndDate1$, cPeriodEndDate2$, cPeriodEndDate3$, cPeriodEndDate4$, cPayableDiscountOption$, cCashRequiredProjectionFormat$, wrk.AccountsPayablePeriod1, wrk.AccountsPayablePeriod2, wrk.AccountsPayablePeriod3, wrk.AccountsPayablePeriod4)  
FUNCTION GetDiscountAmount(key$, value)  
FUNCTION ResetPaidToday(tmpAPDivisionNo$, tmpVendorNo$, tmpInvoiceNo$, oDtl, tmpHdrKey$, tmpPaidToday$)  

Reset AP Open Invoice PaidToday Y/N flag for a vendor / invoice

ParameterDescription
tmpAPDivisionNo$ [input, string] AP Division Number
tmpVendorNo$ [input, string] AP Vendor Number
tmpInvoiceNo$ [input, string] Invoice Number
oDtl [input, objhandle] object handle to source detail (Lines) class
tmpHdrKey$ [input, string] key of current source header record
tmpPaidToday$ [output, string] reset paid today flag (Y/N)
Returns [boolean] True = success, False = failure
ValueDescription
retFAILURE(0) If reset failed
retSUCCESS(1) If reset completed successfully
FUNCTION UpdatePaidToday(tmpAPDivisionNo$, tmpVendorNo$, tmpInvoiceNo$, tmpPaidToday$)  

Update AP Open Invoice PaidToday Y/N flag for a specific check, manual check or invoice (transfer vendor) detail entry

ParameterDescription
tmpAPDivisionNo$ [input, string] AP Division Number
tmpVendorNo$ [input, string] AP Vendor Number
tmpInvoiceNo$ [input, string] Invoice Number
tmpPaidToday$ [input, string] Y/N value to update PaidToday$
Returns [boolean] True = success, False = failure
ValueDescription
retFAILURE(0) If update failed
retSUCCESS(1) If update completed successfully

Properties inherited from: SY_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: SY_FunctionHook

PostTableRead(), PreNextRecord(), PreTableWrite()

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()