Class AP_Invoice_ui

Known SubClasses

AP_InvoiceInquiry_ui

Properties

LOCAL cDocumentType$="IN"  
LOCAL cEntityName$  
LOCAL cFirstTime  
LOCAL cForm$="AP_INVOICE"  
LOCAL cNewRecordFolderNames$="pHeader"+SEP+"pLines"  
LOCAL cBT_PrintTask$  
LOCAL cDetailBusObj$="AP_InvoiceDetail_bus"  

Methods

FUNCTION LOCAL BT_Accept()  
FUNCTION LOCAL BT_Adjust()  
FUNCTION LOCAL BT_Batch()  
FUNCTION LOCAL BT_BatchTransfer()  

Transfer current document from this batch to another batch

Returns [boolean] True = success
FUNCTION LOCAL BT_Cancel()  
FUNCTION LOCAL BT_Duplicate()  
FUNCTION LOCAL BT_RecalcTax()  
FUNCTION LOCAL BT_TaxDet()  
FUNCTION LOCAL ChangeInvoiceAmt()  

Logic to execute on change of invoice amount

Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL ChangeML_InvoiceNo()  
FUNCTION LOCAL ChangeML_StepNo(gridCtl)  

Function performed when the Step Number field is changed. This will set the StepLineKey value in the business object.

ParameterDescription
gridCtl [input, numeric] NOMADs control value for the grid that contains Step No column.
Returns [boolean]
ValueDescription
retSUCCESS(1) If Step Number was changed successfully
retFAILURE(0) If Step Number was invalid.
FUNCTION LOCAL ChangeML_WorkTicketNo(gridCtl)  

Function performed when the Work Ticket number is changed in the grid.

ParameterDescription
gridCtl [input, numeric] NOMADs control value for the grid that contains the Work Ticket number column.
Returns [boolean]
ValueDescription
retSUCCESS(1) If Work Ticket number was changed successfully.
retFAILURE(0) If Work Ticket number was invalid.
FUNCTION LOCAL ChangePrepaidApplyToInvoiceNo()  
FUNCTION LOCAL CheckForEnablePM(gridCtl, rowNo)  

Function performed to properly set the state of the PM controls in the grid.

ParameterDescription
gridCtl [input, numeric] library control value of attachment category code grid control
rowNo [input, numeric] current grid row being displayed or edited
Returns [boolean] Always returns success(1)
FUNCTION LOCAL ClassOnfocusGrid(gridCtl)  
FUNCTION LOCAL ConfirmWrite()  
FUNCTION LOCAL EnableControls()  
FUNCTION LOCAL GetOpenInvoiceInfo(Invoice$)  
FUNCTION LOCAL GetOpenInvoiceInfo(Invoice$, setAdjustment)  
FUNCTION LOCAL OnExit()  
FUNCTION LOCAL PostLoad()  
FUNCTION LOCAL PostLoadPheader()  
FUNCTION LOCAL PostLoadPheaderw()  
FUNCTION LOCAL PostReadRec()  
FUNCTION LOCAL RowMods(gridCtl, rowNo)  

Logic to execute after loading a row in the detail grid

ParameterDescription
gridCtl [input, numeric] library control value of attachment category code grid control
rowNo [input, numeric] current grid row being displayed or edited
Returns [boolean] Always returns success(1)
FUNCTION LOCAL TranslateColumns()  

Translates data values to screen values, also populates display-only values. This function gets called after a successful read of a record.

Returns Always returns retSUCCESS(1)

Properties inherited from: AP_CommonEntry_UI

cDefaultTermsCode$, cFirst_ID, cFormGrid$, cGridViewPanel$, cMaintainVendor, cNewRecordFolderID, cOrgIol$, cResetFolder$, cResetFolderID, cCompositeSPCtl

Methods inherited from: AP_CommonEntry_UI

ClassChangeAddlGrid(), SaveRow(), AccumulateTotals(), BT_Accept(), BT_CCSearch(), BT_NetBalance(), BT_Print(), BT_RowDel(), Bt_RowReset(), Bt_RowResetAll(), BT_TaxDet(), BT_Vendor(), BuildCostTypeList$(), ChangeCostCode(), ChangeDB_CostType(), ChangeDistributionAmt(), ChangeDistributionPercentage(), ChangeForm1099(), ChangeFreightAmt(), ChangeInvoiceAmt(), ChangeJobNo(), ChangeML_Vendor(), ChangeQuantityDistributed(), ChangeTaxClass(), ChangeTaxSchedule(), ChangeUnitCost(), CheckTaxSchedule(), ClearTotals(), ConfirmDelete(), ConfirmWrite(), EnableControls(), GetControlID(), GetLineRecord(), LoadGridDropBoxes(), LoadRow(), OnExitPheader(), OnExitPheaderw(), OnExitpJCLines(), OnExitpJCLinesw(), OnExitpLines(), OnExitpLinesw(), OnFocusBT_Accept(), OnFocusJobNo(), PostLoad(), PostLoadPheader(), PostLoadpJCLines(), PostLoadpJCLinesw(), PostLoadpLines(), PostLoadpLinesw(), PostLookup(), PostReadRec(), PreLoadpLines(), PreLoadpLinesw(), ResetJobDetails(), RowMods(), SetButtonState(), SetDistribution(), SetGridColumns(), SetUITotals(), TranslateColumns(), UpdateUITotals()

Methods inherited from: CI_InvoiceUI_val

BubbleUpInvoiceBusObjError(), ClassChangeInvoice()

Methods inherited from: CI_WorkTicketUI_Val

ClassChangeWorkTicket(), ClassOnFocusWorkTicket()