Class PO_PurchaseOrder_Ui

Known SubClasses

PO_PurchaseOrderInquiry_ui

Properties

LOCAL cDetailObj$="PO_PurchaseOrderDetail_bus"  
LOCAL cDeleted=isFALSE  
LOCAL cFirstScreenID=PurchaseOrderNo.Ctl  
LOCAL cForm$="PO_PURCHASEORDER"  
LOCAL cFormGrid$="GD_LINES"  
LOCAL cGridViewPanel$="pLines"  
LOCAL cGridViewPanelExpand$="pLinesW"  
LOCAL cGridViewPanelNormal$="pLines"  
LOCAL cResetFolder$="pHeader"  
LOCAL cResetFolderID=FLDR.PHEADER.CTL  
LOCAL cResolvedGroups=isFALSE  
LOCAL cInquiryProgram  
LOCAL cEntityName$  

Methods

FUNCTION BT_Delete()  
FUNCTION BT_RowDel()  
FUNCTION GetOrderColumn(orderColumn$)  
FUNCTION LOCAL AssignTotalsPanelVars()  
FUNCTION LOCAL Browse()  
FUNCTION LOCAL BT_Cancel()  
FUNCTION LOCAL BT_Copy()  

Button press logic to launch the Copy From dialog

Returns [boolean] True
FUNCTION LOCAL BT_CopyCancel()  

Button press logic for the Cancel button on the Copy From dialog

Returns [boolean] True
FUNCTION LOCAL BT_CopyOK()  

Button press logic for the OK button on the Copy From dialog

Returns [boolean] True
FUNCTION LOCAL BT_Defaults()  
FUNCTION LOCAL BT_LotSerial()  

Button press logic for the Lot Serial button on the Copy From dialog

Returns [boolean] True for success, False for failure
FUNCTION LOCAL BT_NextNum()  
FUNCTION LOCAL BT_QuickPrint()  
FUNCTION LOCAL BT_Reorder()  
FUNCTION LOCAL BT_SO()  
FUNCTION LOCAL BT_TaxDetail()  
FUNCTION LOCAL ChangeCB_CopyMemo()  

Change logic for Copy Memo check box on 'dCopy' dialog

Returns [boolean] True for success
FUNCTION LOCAL ChangeCM_AllocateLandedCost(gridCtl)  
FUNCTION LOCAL ChangeCM_Reschedule(gridCtl)  
FUNCTION LOCAL ChangeCM_UseTax(gridCtl)  
FUNCTION LOCAL ChangeColumnHeadings()  
FUNCTION LOCAL ChangeDB_CopyFrom()  

Change logic for Copy From field on 'dCopy' dialog

Returns [boolean] True for success
FUNCTION LOCAL ChangeDB_CopyFromType()  

Change logic for Copy From Type field on 'dCopy' dialog

Returns [boolean] True for success
FUNCTION LOCAL ChangeHistoryCancelReasonCode()  

Change logic for HistoryCancelReasonCode$ field on 'dCancel' dialog

Returns [boolean] True for success, False for failure
FUNCTION LOCAL ChangeMasterOriginalQty(gridCtl)  
FUNCTION LOCAL ChangeMasterRepeatingOrderNo()  
FUNCTION LOCAL ChangeML_CopyFromNo()  

Change logic for Copy From Number field on 'dCopy' dialog

Returns [boolean] True for success, False for failure
FUNCTION LOCAL ChangeML_CopyFromReceipt()  

Change logic for Copy From Receipt Number field on 'dCopy' dialog

Returns [boolean] True for success, False for failure
FUNCTION LOCAL ChangeML_PurchasesAccount(gridtCtl)  
FUNCTION LOCAL ChangeML_SalesOrderNo(gridCtl)  
FUNCTION LOCAL ChangeML_Vendor()  
FUNCTION LOCAL ChangeOrderType()  
FUNCTION LOCAL ChangePurchaseAddressCode()  
FUNCTION LOCAL ChangePurchaseOrderNo()  
FUNCTION LOCAL ChangeQuantityBackOrdered(gridCtl)  
FUNCTION LOCAL ChangeQuantityOrdered(gridCtl)  
FUNCTION LOCAL ChangeRepeatingOrderNo()  
FUNCTION LOCAL ChangeSalesOrderNo()  
FUNCTION LOCAL ConfirmDelete()  

Confirm Delete, overridden from PO_CommonEntry_ui

Returns [boolean] True=continue with deleting, False=do not delete
FUNCTION LOCAL DropShip()  
FUNCTION LOCAL EnableOtherControls(gridCtl, row)  
FUNCTION LOCAL EnablepAddressControls()  
FUNCTION LOCAL EnablepHeaderControls()  
FUNCTION LOCAL EnablePTotalsControls()  
FUNCTION LOCAL IsPOMaterialRequisition()  
FUNCTION LOCAL KeyChange()  
FUNCTION LOCAL KeyChange(key$)  
FUNCTION LOCAL LoadGridDropBoxes(gridCtl, row)  
FUNCTION LOCAL OnExit()  

On Exit, overridden from PO_CommonEntry_ui

Returns [boolean] True for success, False for failure
FUNCTION LOCAL OnExitpHeader()  
FUNCTION LOCAL OnExitpHeaderW()  
FUNCTION LOCAL OnFocusBT_Accept()  
FUNCTION LOCAL OnFocusHistoryCancelReasonCode()  

HistoryCancelReasonCode On Focus method

Returns [boolean] True
FUNCTION LOCAL OnFocusML_Vendor()  
FUNCTION LOCAL PostLoad()  
FUNCTION LOCAL PostLoadpAddress()  
FUNCTION LOCAL PostLoadpAddressW()  
FUNCTION LOCAL PostLoadpHeader()  
FUNCTION LOCAL PostLoadpHeaderW()  
FUNCTION LOCAL PostLoadpLines()  
FUNCTION LOCAL PostLoadpLinesW()  
FUNCTION LOCAL PostLoadpTotals()  
FUNCTION LOCAL PostLoadpTotalsW()  
FUNCTION LOCAL PostReadRec()  
FUNCTION LOCAL PreLoad()  

Pre Load, overridden from PO_CommonEntry_ui

Returns [boolean] True
FUNCTION LOCAL PreLoadpHeader()  
FUNCTION LOCAL PreLoadpHeaderW()  
FUNCTION LOCAL PrevalidateSOEntry()  
FUNCTION LOCAL PrevalidateSOInquiry()  
FUNCTION LOCAL ResetColumnHeadings()  
FUNCTION LOCAL ResolveLineGroups()  
FUNCTION LOCAL SaveRow(gridCtl, row)  

Save Row in line detail grid method, overridden from PO_CommonEntry_ui

ParameterDescription
gridCtl [input, numeric] control value of grid
row [input, row] history row number in grid
Returns [boolean] True for success, False for failure
FUNCTION LOCAL PERFORM SetCopyMemosCheckbox()  
FUNCTION LOCAL SetGridColumns(gridCtl, row, editLine)  
FUNCTION LOCAL SetItemLookup()  
FUNCTION LOCAL ShowAlternateItem()  
FUNCTION LOCAL ShowAlternateWarehouse()  
FUNCTION LOCAL ShowPriceLevel()  
FUNCTION LOCAL ShowReorder()  
FUNCTION LOCAL StatusMsgQuantityBackordered()  
FUNCTION LOCAL StatusMsgQuantityOrdered()  
FUNCTION LOCAL TranslateColumns()