Class CI_CommonInvoiceSelection_ui

Known SubClasses

AR_CashReceipts_ui

Properties

LOCAL cColumnSortText1$="{&O!GridSort1}"  

BT_ColumnSort bitmap when no selections have been made

LOCAL cColumnSortText2$="{&O!GridSort}"  

BT_ColumnSort bitmap when selections have been made

LOCAL cSelectShowZero$=isNO$  
LOCAL cSelectInvoiceMask$="#, ###, ###, ###.00-"  
LOCAL cAutoRecalcThreshold=1000  

When the number of invoices selected exceeds this number, the total amount calculation will be put on a timer or via the Calc button

Methods

FUNCTION LOCAL AdditionalFilter()  
FUNCTION LOCAL BT_Add()  
FUNCTION LOCAL BT_ColumnSort()  

Button press logic for the Column Sort button on the dSelect dialog

Returns [boolean] True for success
FUNCTION LOCAL BT_Ok()  
FUNCTION LOCAL BT_Recalc()  

Button press logic for the Recalculate Total Selected Amount button on the dSelect dialog

Returns [boolean] True for success
FUNCTION LOCAL BT_Select()  
FUNCTION LOCAL BT_SelectInv()  
FUNCTION LOCAL BT_Unselect()  
FUNCTION LOCAL ChangeCB_ShowZero()  
FUNCTION LOCAL ChangeLB_Invoice()  
FUNCTION LOCAL PostLoaddSelect()  
FUNCTION LOCAL Recalc(showProgress)  

Recalculates total selected amount

ParameterDescription
showProgress [input, numeric] non-zero to show progress bar
Returns [boolean] True for success
FUNCTION LOCAL PERFORM SelectWindowLoadInvoices()  
FUNCTION LOCAL SortListBox(listboxCtl, columnSort$)  

Method SortListBox will apply the user selected column sorts to the list box

ParameterDescription
listboxCtl [input, numeric] control value of list box
columnSort$ [input, string] list of column sort selections
Returns [boolean] True for success, False for failure