Class RA_CommonEntry_UI

Inherits

CI_AccountUi_Val, CI_ARTermsUI_Val, CI_Constant, CI_CostCodeUI_val, CI_CountryUI_Val, CI_CustomerUI_val, CI_ExtendedDescription_ui, CI_InvoiceUI_Val, CI_ItemCodeUi_Val, CI_ReturnReasonCodeUi_Val, CI_RMAConstant, CI_SalesPersonUI_Val, CI_Security_UI, CI_ShipToUI_val, CI_TaxScheduleUI_Val, CI_VendorUI_Val, CI_WarehouseUI_Val, CI_WarrantyCodeUI_val, CI_ZipCodeUI_Val, SY_LineEntryTier_ui

Known SubClasses

RA_Receipts_UI

Properties

LOCAL cBillOptionIOL$=CPL("IOLIST BillOption1$, BillOption2$, BillOption3$, BillOption4$, BillOption5$, BillOption6$, "+"BillOption7$, BillOption8$, BillOption9$")  
LOCAL cGridViewPanel$="pLines"  
LOCAL cItemLookup$  
LOCAL cKitPostExplode=isFALSE  
LOCAL cReplacementItemLookup$="CI_ItemAllExtSO"  
LOCAL cReplacementBillOptionIOL$=CPL("IOLIST ReplacementRepairBillOption1$, ReplacementRepairBillOption2$, ReplacementRepairBillOption3$, "+"ReplacementRepairBillOption4$, ReplacementRepairBillOption5$, ReplacementRepairBillOption6$, "+"ReplacementRepairBillOption7$, ReplacementRepairBillOption8$, ReplacementRepairBillOption9$")  
LOCAL cResetFolder$="pHeader"  
LOCAL cResetFolderID=fldr.pHeader.ctl  
LOCAL billCATEGORYNUM=9  
LOCAL cAllowItemOTF  
LOCAL cAutoDisplayExtendedDescription=isFALSE  
LOCAL cHasInvOTFRights=isFALSE  
LOCAL cNewRecordFolderNames$="pHeader"+SEP+"pAddress"+SEP+"pLines"  
LOCAL cOTFSecurityEvent$  
LOCAL cRefreshLineColumn$="ItemCode$"  
PROPERTY cMaintainCustomer   * Read Only *

Methods

FUNCTION BillToMatchesInvoices()  

Call when validating a BillToCustomer to find out if it matches the BillToCustomer on the history records associated with the invoices on the lines. The user will be prompted with a Yes/No question if there are any mismatches.

Returns [boolean] success if there is no associated history, if the BillTos match, or if there are mismatches and the user says Yes, it's okay. Failure otherwise.
FUNCTION ClassChangeGrid(gridCtl)  
FUNCTION InvoiceMatchesBillTo()  
FUNCTION InvoiceMatchesBillTo(billToDiv$, billToCust$)  

Call when validating an InvoiceNo on a line to find out if its associated history matches the BillToCustomer on the RMA header. The user will be prompted with a Yes/No question if there is a mismatch.

ParameterDescription
billToDiv${optional} [input, string] Optionally provide the division of the BillTo customer so we don't have to look it up.
billToCust${optional} [input, string] Optionally provide the BillTo customer number (without division) so we don't have to look it up.
Returns [boolean] success if there is no associated history, if the BillTos match or if the user answers Yes to ignore a mismatch. Failure otherwise.
FUNCTION MessagePrompt(status$)  
FUNCTION SecurityOverride(event$, errorMsg$)  
FUNCTION LOCAL BT_Accept()  
FUNCTION LOCAL BT_AcceptClose()  
FUNCTION LOCAL BT_Alias()  
FUNCTION LOCAL BT_Cancel()  
FUNCTION LOCAL BT_CancelClose()  
FUNCTION LOCAL BT_Comment()  
FUNCTION LOCAL BT_CopyShip()  
FUNCTION LOCAL BT_Credit()  
FUNCTION LOCAL BT_Customer()  
FUNCTION LOCAL BT_InvoiceSearch()  
FUNCTION LOCAL BT_InvoiceZoom()  
FUNCTION LOCAL BT_ItemSelection()  
FUNCTION LOCAL BT_ItemVendor()  
FUNCTION LOCAL BT_KitItems()  
FUNCTION LOCAL BT_OKView()  
FUNCTION LOCAL BT_Options()  
FUNCTION LOCAL BT_Options(rowNo)  
FUNCTION LOCAL BT_Return_Addr()  
FUNCTION LOCAL BT_RowDel()  
FUNCTION LOCAL BT_RowDown()  
FUNCTION LOCAL BT_RowReset()  
FUNCTION LOCAL BT_RowUp()  
FUNCTION LOCAL BT_SelectAll()  
FUNCTION LOCAL BT_UnselectAll()  
FUNCTION LOCAL Cancel()  
FUNCTION LOCAL ChangeApplyCommentsToAll()  
FUNCTION LOCAL ChangeApplyToCreditMemo()  
FUNCTION LOCAL ChangeApplyToCustomerRMA()  
FUNCTION LOCAL ChangeApplyToRMAReceiver()  
FUNCTION LOCAL ChangeApplyToSalesOrder()  
FUNCTION LOCAL ChangeCB_CreditFreight()  
FUNCTION LOCAL ChangeCB_CrossShip()  
FUNCTION LOCAL ChangeCM_CreditFreight(gridCtl)  
FUNCTION LOCAL ChangeCM_CrossShip(gridCtl)  
FUNCTION LOCAL ChangeCM_DropShip(gridCtl)  
FUNCTION LOCAL ChangeDB_CustAction()  
FUNCTION LOCAL ChangeDB_CustomerAction(gridCtl)  
FUNCTION LOCAL ChangeDB_ItemAction(gridCtl)  
FUNCTION LOCAL ChangeDB_ItmAction()  
FUNCTION LOCAL ChangeDB_VendAction()  
FUNCTION LOCAL ChangeDB_VendorAction(gridCtl)  
FUNCTION LOCAL ChangeFaxNo()  
FUNCTION LOCAL ChangeInvoiceNo(gridCtl)  
FUNCTION LOCAL ChangeInvoiceUnitCost(gridCtl)  
FUNCTION LOCAL ChangeInvoiceUnitPrice(gridCtl)  
FUNCTION LOCAL ChangeItemCode(gridCtl)  
FUNCTION LOCAL ChangeLB_Item()  
FUNCTION LOCAL ChangeML_BillToCustomerNo()  
FUNCTION LOCAL ChangeML_Customer()  
FUNCTION LOCAL ChangeML_InvoiceNo(gridCtl)  
FUNCTION LOCAL ChangeML_Options()  
FUNCTION LOCAL ChangeML_ReplacementOptions()  
FUNCTION LOCAL ChangeML_Vendor(gridCtl)  
FUNCTION LOCAL ChangeQuantityRemaining(gridCtl)  
FUNCTION LOCAL ChangeReplacementItemCode(gridCtl)  
FUNCTION LOCAL ChangeRestockingCharge(gridCtl)  
FUNCTION LOCAL ChangeReturnToAddressCode()  
FUNCTION LOCAL ChangeShipToState()  
FUNCTION LOCAL ChangeShipToZipCode()  
FUNCTION LOCAL ChangeUnitOfMeasure(gridCtl)  
FUNCTION LOCAL PERFORM CheckForEnable()  
FUNCTION LOCAL PERFORM CheckForMessages()  
FUNCTION LOCAL CheckMissingWarehouse()  

Check missing warehouse on lines

Returns [boolean] Success if no missing warehouse in the entry, Failure if warehouse is missing on one or more inventory item lines
FUNCTION LOCAL CheckSelectedItems(numberSelected)  
FUNCTION LOCAL ClassDragGridClassDropGrid$(g1$, g2$)  
FUNCTION LOCAL ClassOnFocusAddlGrid(gridCtl)  
FUNCTION LOCAL ClearTotals()  
FUNCTION LOCAL DisplayStatusMsg(column$)  
FUNCTION LOCAL DoCancel()  
FUNCTION LOCAL EnableControls()  
FUNCTION LOCAL EnableOtherControls(gridCtl, row)  
FUNCTION LOCAL EnablepHeaderControls()  
FUNCTION LOCAL EnablepLinesControls()  
FUNCTION LOCAL GenerateFormatMask$(mask$, decimals)  
FUNCTION LOCAL GetAliasDesc()  
FUNCTION LOCAL GetCurrentBillOptions$()  
FUNCTION LOCAL GetLineRecord(gridCtl, row)  
FUNCTION LOCAL InitializeDB_ItmAction()  
FUNCTION LOCAL ItemSelectCheckWarehouse()  

Check status of item action default warehouse when user leaves the item selection window

Returns [boolean] Success default warehouse is active, Failure if default warehouse is restricted
FUNCTION LOCAL LoadGridDropBoxes(gridCtl, row)  
FUNCTION LOCAL LoadItemAction(validItemActions$)  
FUNCTION LOCAL OnExit()  
FUNCTION LOCAL OnExitFolder()  
FUNCTION LOCAL OnExitPaddress()  
FUNCTION LOCAL OnExitPaddressW()  
FUNCTION LOCAL OnExitPheader()  
FUNCTION LOCAL OnExitPheaderW()  
FUNCTION LOCAL OnExitPlines()  
FUNCTION LOCAL OnExitPlinesW()  
FUNCTION LOCAL OnFocusBT_Accept()  
FUNCTION LOCAL OnFocusInvoiceNo()  
FUNCTION LOCAL OnFocusInvoiceNo(gridCtl)  
FUNCTION LOCAL OnFocusML_Vendor(gridCtl)  
FUNCTION LOCAL PostLoad()  
FUNCTION LOCAL PostLoadpAddress()  
FUNCTION LOCAL PostLoadpAddressW()  
FUNCTION LOCAL PostLoadpHeader()  
FUNCTION LOCAL PostLoadpHeaderW()  
FUNCTION LOCAL PostLoadpLines()  
FUNCTION LOCAL PostLoadpLinesW()  
FUNCTION LOCAL PostReadRec()  
FUNCTION LOCAL RowMods(gridCtl, row)  
FUNCTION LOCAL SaveRow(gridCtl, row)  
FUNCTION LOCAL SetCostCellMask(gridCtl, row)  
FUNCTION LOCAL SetCustomerActionGridCols(gridCtl, row)  
FUNCTION LOCAL SetGridColumns(gridCtl, row)  
FUNCTION LOCAL SetItemActionGridCols(gridCtl, row)  
FUNCTION LOCAL SetupGrid(mainGrid, form$, grid$, option, secGrid)  
FUNCTION LOCAL SetVendorActionGridCols(gridCtl, row)  
FUNCTION LOCAL ShowRow(gridCtl, row)  
FUNCTION LOCAL StatusMsgInvoiceUnitPrice()  
FUNCTION LOCAL TranslateColumns()  

Properties inherited from: CI_CustomerUI_Val

cAllowCustOTF, cSaveSecurityAccess, cAllowCRMProspectCustomer, IgnoreDocTotalInCreditWarning

Properties inherited from: CI_ShipToUI_Val

cAllowShipToOTF

Methods inherited from: CI_CustomerUI_Val

BT_Credit(), BT_NextCustomer(), BT_NextCustomerState(), ChangeCB_PrintFormattedCreditCard(), CheckCreditLimit(), ClassChangeCustomer(), ClassFormatterCustomer$(), ClassOnFocusCustomer(), ClassValidateCustomer$(), InvoiceHistoryInquiry(), PostReadRec(), PrevalidateRMAInquiry(), PERFORM ResetCustomer()

Methods inherited from: CI_ShipToUI_Val

BT_ShipTo(), ClassChangeShipTo(), ClassOnFocusShipTo()