Class AR_CommissionEditRegister_upd

Properties

LOCAL cReportFile$="AR_CommissionEditRegister.rpt"  
LOCAL cRegisterFile$="AR_CommissionRegisterWrk"  
LOCAL cDailyPostingWorkFile$="AR_DailyPostingWork"  
LOCAL cEarnMethodFIXED$="F"  

String-constant for Fixed Method Of Entry

LOCAL cEarnTypeEXEMPTTIPS$="E"  
String-constant for Earnings Type - Exempt Tips
LOCAL cLineTypeEARNING$="E"  
String-constant for Line Type - Earning
PROPERTY ReportCaption$="Commission Edit Register"  
PROPERTY PRLink  
PROPERTY APLink  
PROPERTY GLLink  
PROPERTY NLink  
PROPERTY ErrorLog  
PROPERTY AR_UpdateCommToOtherModules$  
current value of the Accounts Receivable Option Update Comm To Other Modules field
PROPERTY PayCycleToProcess$  
pay cycle to process commission records for

Methods

FUNCTION CheckForEmployeeLinkPayCycles$()  

Gets a list of pay cycles of employees who are linked to salespeople that can be selected for this register based on selections

Returns a list of single character pay cycles of employee links to sales people that can be selected for this register
FUNCTION GetSourceTables$(table$)  
FUNCTION ProcessAP()  
FUNCTION ProcessGL()  
FUNCTION ProcessPR(prPayrollBusObj)  

Logic to execute to create payroll data entry records for salesperson commissions

ParameterDescription
prPayrollBusObj [input, number] object handle to in instance of the PR Payroll business class
Returns [boolean] True if successful, False if method fails
FUNCTION SetPrintOptions(cNegativeBalance$, cPrintCOGSInfo$)  
FUNCTION SetWhereClause$(whereClause$)  

Properties inherited from: SY_Update

cGroup$, cDeferredAuditRegister$, CurrentPeriod$, PeriodEndingDate$, PeriodStartingDate$, Restart

Methods inherited from: CI_Employee_val

ClassValidateEmployee()

Methods inherited from: CI_NextNumber

FormatLotSerialNo$(), IncrementSerialNo(), NextNumber(), FindPrefix(), GetColumnInfo(), IncrementNumber()

Methods inherited from: SY_Update

GetCurrentRegister$(), PrintErrorLog(), ProcessReport(), SetPostingDate(), SetPrintComment(), Update(), PERFORM ClearDailyPostingWorkFile(), PERFORM ClearDrillDownWorkFile(), PERFORM ClearWorkFiles(), GetNextRegisterNo(), PERFORM PostTableReadSY_Update(), PERFORM PreNextRecordSY_Update(), PERFORM PreTableWriteSY_Update(), PERFORM SaveUnusedRegisterNo(), UpdateCleanup(), UpdateGLDailyPostingFile(), UpdateInit(), UpdateMain(), UpdateTempGLDaily(), WriteGLSummaryDrillDown(), WriteTempGLDrillDown()