Class SO_CommonEntry_UI

Inherits

AR_CreditCardCommonEntry_ui, CI_AccountUi_Val, CI_ARTermsUI_Val, CI_CommodityCodeUI_Val, CI_Constant, CI_CostCodeFormatter, CI_CostCodeUI_val, CI_CountryUI_Val, CI_CustomerUI_val, CI_ExtendedDescription_ui, CI_ItemCodeUi_Val, CI_JobNoUI_Val, 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

Properties

LOCAL cCompositeSPCtl=isFALSE  
LOCAL cFromExtDescButton=isFALSE  
LOCAL cGridViewPanel$="pLines"  
LOCAL cJobNoLookup$="JC_JobCust"  
LOCAL cItemLookup$="CI_ItemAllExtSO"  
LOCAL cKitPostExplode=isFALSE  
LOCAL cMissingJob=isFALSE  
LOCAL cMissingCostCode=isFALSE  
LOCAL cMissingCostCodes$  
LOCAL cResetFolder$="pHeader"  
LOCAL cResetFolderID=fldr.pHeader.ctl  
LOCAL cShipViaQuery$  
LOCAL cUpdateExtDesc=isFALSE  
LOCAL billCATEGORYNUM=9  
LOCAL cBillOptionIOL$=CPL("IOLIST BillOption1$, BillOption2$, BillOption3$, BillOption4$, BillOption5$, BillOption6$, "+"BillOption7$, BillOption8$, BillOption9$")  
LOCAL cAllowVendOTF  
LOCAL cAutoDisplayExtendedDescription=isFALSE  
LOCAL cNewRecordFolderNames$="pHeader"+SEP+"pAddress"+SEP+"pLines"+SEP+"pTotals"+SEP+"pCreditCard"  
LOCAL cOTFSecurityEvent$  
LOCAL isCredit$="Credit"  

Corporate Card Level 3 constant, used to load Debit / Credit indicator drop box

LOCAL isDebit$="Debit"  

Corporate Card Level 3 constant, used to load Debit / Credit indicator drop box

Methods

FUNCTION MessagePrompt(status$)  
FUNCTION SecurityOverride(event$, errorMsg$)  
FUNCTION LOCAL AccumulateTotals()  
FUNCTION LOCAL AdjustLineTotals(amount)  
FUNCTION LOCAL AllLinesComplete(tmpDocType$)  
FUNCTION LOCAL AssignCreditCardPanelVars()  

Assign values to variables on Credit Card tab

Returns [boolean] True = success.
FUNCTION LOCAL AssignTotalsPanelVars()  
FUNCTION LOCAL BT_Accept()  
FUNCTION LOCAL BT_AcceptClose()  
FUNCTION LOCAL BT_Alias()  
FUNCTION LOCAL BT_Cancel()  
FUNCTION LOCAL BT_CancelClose()  
FUNCTION LOCAL BT_CCP_Level3()  

Corporate Card Level 3 data display dialog

Returns [boolean] Always returns True = success
FUNCTION LOCAL BT_Clear()  

Clear Credit Card Fields

Returns [boolean] True = success.
FUNCTION LOCAL BT_CopyShip()  
FUNCTION LOCAL BT_Credit()  
FUNCTION LOCAL BT_CreditCard()  

Submit Credit Card transaction to SPS Exchange

Returns [boolean] True = success.
FUNCTION LOCAL BT_Customer()  
FUNCTION LOCAL BT_Delete()  

Delete document and void old credit card transaction

Returns [boolean] True = success, False = failure
FUNCTION LOCAL BT_Distribute()  
FUNCTION LOCAL BT_Distribute(tmpQuantity)  
FUNCTION LOCAL BT_Fix()  

Enable credit card transaction controls normally updated following Credit Card transaction to SPS Exchange. Requires 'Allow Overide of Credit Card Authorizations' security event rights (SE_CCAllowAuthorizationOverrid)

Returns [boolean] True = success.
FUNCTION LOCAL BT_ItemInquiry()  
FUNCTION LOCAL BT_ItemInquiry(item$)  
FUNCTION LOCAL BT_ItemPrice()  

Button to allow Item Pricing By Total Quantity On Demand.

Returns [numeric] sucess unless recalculate method fails.
FUNCTION LOCAL BT_KitItems()  
FUNCTION LOCAL BT_LastPurchaseHist()  
FUNCTION LOCAL BT_OKClose()  
FUNCTION LOCAL BT_OKView()  
FUNCTION LOCAL BT_Options()  
FUNCTION LOCAL BT_Options(rowNo)  
FUNCTION LOCAL BT_RecalcTax()  
FUNCTION LOCAL BT_Reset_Corp_Sales_Tax()  

Reset pre-authorization corporate sales tax to the default allocated amount.

Returns [boolean] True = success, False = failure
FUNCTION LOCAL BT_Reset_Dep_Corp_Sales_Tax()  

Reset deposit corporate sales tax to the default allocated amount.

Returns [boolean] True = success, False = failure
FUNCTION LOCAL BT_RowDel()  
FUNCTION LOCAL BT_RowDown()  
FUNCTION LOCAL BT_RowReset()  
FUNCTION LOCAL BT_RowReset(tmpDocument$)  
FUNCTION LOCAL BT_RowUp()  
FUNCTION LOCAL BT_SplitComm()  
FUNCTION LOCAL BT_TaxDetail(docNo$, docType$)  
FUNCTION LOCAL BT_TaxDetail(docNo$, docType$, view)  
FUNCTION LOCAL BuildCostTypeList$(costCode$)  
FUNCTION LOCAL CalculateCreditCardBalanceAmt()  

Calculate balance to be paid by credit card

Returns [boolean] True = success
FUNCTION LOCAL CalculateTaxAndFreight(goodSchedule)  

Calculate Sales Tax and Freight

ParameterDescription
goodSchedule [output, boolean] true = tax schedule is valid
Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAuthorizationDate()  

Change Authorization Date for payment on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAuthorizationTime()  

Change Authorization Time for payment on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSAddressLine1()  

Change Address line 1 on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSAddressLine2()  

Change Address line 2 on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSAddressLine3()  

Change Address line 3 on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSCity()  

Change City on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSCountryCode()  

Change Country Code on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSState()  

Change State on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeAVSZipCode()  

Change ZIP/Postal Code on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeBankName()  

Change Bank Name on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCardHolderName()  

Change Cardholder Name on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCB_PayBalance()  

Change Pay Balance check box on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCB_QuickPrintWithoutPrintWindow()  
FUNCTION LOCAL ChangeCB_Swipe_Card()  

Change CB_Swipe_Card on credit card panel

Returns [boolean] True = success.
FUNCTION LOCAL ChangeCheckNoForDeposit()  
FUNCTION LOCAL ChangeCM_Commissionable(gridCtl)  
FUNCTION LOCAL ChangeCM_Discount(gridCtl)  
FUNCTION LOCAL ChangeCM_DropShip(gridCtl)  
FUNCTION LOCAL ChangeCM_NetGrossIndicator(gridCtl)  

Corporate Card, Level 3 NetGrossIndicator data element check box translation

ParameterDescription
value [input, gridCtl] handle to Nomads Sales Order / Invoice detail grid control
Returns [boolean] True = success, False = Failure from business object SetValue() for NetGrossIndicator after translation for CM_NetGrossIndicator
FUNCTION LOCAL ChangeCM_SubjectToExemption(gridCtl)  
FUNCTION LOCAL ChangeCommissionRate()  
FUNCTION LOCAL ChangeCorporateCustIDPurchOrder()  

Change Credit Card Corporate Customer ID / Purchase Order

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCorporateSalesTax()  

Change Credit Card Corporate Sales Tax Amount for preauthorization

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCostCode(gridCtl)  
FUNCTION LOCAL ChangeCreditCardAuthorizationNo()  

Change Authorization Number for payment on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCreditCardComment()  

Change Comment on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCreditCardEmailAddress()  

Change Email Address on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCreditCardID()  

Change CreditCardID

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCreditCardTransactionID()  

Change Transaction ID for payment on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeCustomerPONo()  
FUNCTION LOCAL ChangeDB_CostType(gridCtl)  
FUNCTION LOCAL ChangeDB_DebitCreditIndicator(gridCtl)  

Change Value Added Tax Customer Number (on corporate card level 3 dialog)

ParameterDescription
value [input, gridCtl] handle to Nomads Sales Order / Invoice detail grid control
Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeDB_PaymentType()  
FUNCTION LOCAL ChangeDB_PaymentTypeCategory()  

Change Default Transaction drop box on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeDepositAmt()  
FUNCTION LOCAL ChangeDepositField(column$, value$, value)  

Save deposit record when a deposit field on Credit Card panel changes

ParameterDescription
column$ [input, string] Name of column changed
value$ [input, string] Value of the column, if string
value [input, numeric] Value of the column, if numeric
Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeDiscountAmt()  
FUNCTION LOCAL ChangeDiscountRate()  
FUNCTION LOCAL ChangeDutyAmt()  

Change Duty Amount (on corporate card level 3 dialog)

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeExpirationDateMonth()  

Change Expiration Month on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeExpirationDateYear()  

Change Expiration Year on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeExtensionAmt(gridCtl)  
FUNCTION LOCAL ChangeFaxNo()  
FUNCTION LOCAL ChangeFreightAmt()  
FUNCTION LOCAL ChangeItemCode(gridCtl)  
FUNCTION LOCAL ChangeJobNo()  
FUNCTION LOCAL ChangeLast4UnencryptedCreditCardNos()  

Change Last 4 digits on credit card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeLineDiscountPercent(gridCtl)  
FUNCTION LOCAL ChangeML_AuthorizationDate_Dep()  

Change Credit Card Authorization Date for deposit

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeML_AuthorizationTime_Dep()  

Change Credit Card Authorization Time for deposit

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeML_BillToCustomerNo()  
FUNCTION LOCAL ChangeML_CorporateSalesTax_Dep()  

Change Credit Card Corporate Sales Tax Amount for deposit

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeML_CreditCardAuthorizationNo_Dep()  

Change Credit Card Authorization Number for deposit

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeML_CreditCardTransactionID_Dep()  

Change Credit Card Transaction ID for deposit

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeML_Options()  
FUNCTION LOCAL ChangeML_Options(gridCtl)  
FUNCTION LOCAL ChangeML_SalesPersonNo2()  
FUNCTION LOCAL ChangeML_SalesPersonNo3()  
FUNCTION LOCAL ChangeML_SalesPersonNo4()  
FUNCTION LOCAL ChangeML_SalesPersonNo5()  
FUNCTION LOCAL ChangeML_TransactionAmt_Dep()  

Change Credit Card Deposit Amount

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeML_WarehouseCode()  
FUNCTION LOCAL ChangeNationalTaxAmt()  

Change National Tax Amount (on corporate card level 3 dialog)

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeOtherPaymentTypeRefNo()  
FUNCTION LOCAL ChangePaymentField(ID$, changeMethod$)  

Save payment and deposit records when a field on Credit Card panel changes

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangePaymentType()  

Change Payment Type on Credit Card panel

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangePr.QuantityOrdered()  
FUNCTION LOCAL ChangePriceLevel(gridCtl)  
FUNCTION LOCAL ChangeQuantityBackordered(gridCtl)  
FUNCTION LOCAL ChangeQuantityOrdered(gridCtl)  
FUNCTION LOCAL ChangeRB_Choice()  
FUNCTION LOCAL ChangeSaveCreditCard()  

Change Save Credit Card check box

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeShipToState()  
FUNCTION LOCAL ChangeShipToZipCode()  
FUNCTION LOCAL ChangeShipWeight()  
FUNCTION LOCAL ChangeShipZone()  
FUNCTION LOCAL ChangeSplitCommissions()  
FUNCTION LOCAL ChangeSplitCommRate2()  
FUNCTION LOCAL ChangeSplitCommRate3()  
FUNCTION LOCAL ChangeSplitCommRate4()  
FUNCTION LOCAL ChangeSplitCommRate5()  
FUNCTION LOCAL ChangeTaxSchedule()  
FUNCTION LOCAL ChangeTermsCode()  
FUNCTION LOCAL ChangeTransactionAmt()  

Change Deposit Amount

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeUnitCost(gridCtl)  
FUNCTION LOCAL ChangeUnitOfMeasure(gridCtl)  
FUNCTION LOCAL ChangeUnitPrice(gridCtl)  
FUNCTION LOCAL ChangeValueAddedTaxInvoiceNo()  

Change Value Added Tax Invoice Number (on corporate card level 3 dialog)

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeValueAddedTaxNo()  

Change Value Added Tax Customer Number (on corporate card level 3 dialog)

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeValueAddedTaxTaxAmt()  

Change Value Added Tax Tax Amount (on corporate card level 3 dialog)

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeValueAddedTaxTaxRate()  

Change Value Added Tax Tax Rate (on corporate card level 3 dialog)

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL ChangeWarehouseCode()  
FUNCTION LOCAL ChangeWarehouseCode(gridCtl)  
FUNCTION LOCAL CheckCreditCardRequiredFields()  

Check if required credit card fields are missing.

Returns [boolean] True = success, False = failure.
FUNCTION LOCAL CheckForAlternateWarehouse()  
FUNCTION LOCAL CheckForEnableBT_CreditCard()  

Enable / Disable and other related UI logic related to on BT_CreditCard

Returns [boolean] True = success.
FUNCTION LOCAL CheckForEnableBT_Fix()  

Enable / disable Fix button on credit card panel.

Returns [boolean] True = success.
FUNCTION LOCAL CheckForEnableCB_Swipe_Card()  

Enable / disable Swipe Card check box on credit card panel.

Returns [boolean] True = success.
FUNCTION LOCAL CheckForEnableCorporate()  

Corporate Card specific enable / disable logic executed when loading the folder, changing payment type, changing CorporateCustIDPurchOrder$

Returns [boolean] True = success.
FUNCTION LOCAL CheckForHistorySeqNo()  
FUNCTION LOCAL CheckForMultipleWarehouse()  
FUNCTION LOCAL CheckForRetainOrderQuoteHistory()  
FUNCTION LOCAL CheckLinesAndTotals()  

Check if the document has lines and non-zero total amounts. Change to Totals panel if needed.

Returns [boolean] True = document has lines or non-zero amounts, False = document has no lines and zero total amounts
FUNCTION LOCAL CheckTaxSchedule()  
FUNCTION LOCAL CheckWarehouse(oldWhse$, whse$)  
FUNCTION LOCAL ClassChangeCustomer(ctlID)  
FUNCTION LOCAL ClassChangeShipTo(ctlID)  
FUNCTION LOCAL ClassDragGridClassDropGrid$(g1$, g2$)  
FUNCTION LOCAL ClassOnFocusAddlGrid(gridCtl)  
FUNCTION LOCAL ClassOnFocusGrid(gridCtl)  
FUNCTION LOCAL ClassPushMemoBtn(ctlID)  
FUNCTION LOCAL ClassPushMemoBtn()  

Override to handle setting color on the second customer memo button

ParameterDescription
ctlID {optional} [input, numeric] Ctl value of the memo button that was clicked.
Returns [nothing]
FUNCTION LOCAL ClearTotals()  
FUNCTION LOCAL ConfirmDelete()  
FUNCTION LOCAL DeleteDepositRecord()  

Delete deposit record when Transaction Type drop box is changed to 'Payment' or when deposit amount is set to 0

Returns [boolean] True = success, False = failure
FUNCTION LOCAL DepositRecordCreated()  

Determine if a deposit payment record has been created

Returns [boolean] True = deposit created, False = deposit not created
FUNCTION LOCAL DisplayUnitCostWarning()  

Method will determine whether to display the warning for the Unit Cost being equal to zero during the save of a row.

Returns [boolean] Always returns Success (1)
FUNCTION LOCAL DistributionStatus(status$)  
FUNCTION LOCAL DRBT_AlternateItem()  
FUNCTION LOCAL DRBT_AlternateItem(qty)  
FUNCTION LOCAL DRBT_AlternateWarehouse()  
FUNCTION LOCAL DRBT_AlternateWarehouse(noQtyRetry)  
FUNCTION LOCAL DRBT_ItemStatus()  
FUNCTION LOCAL DRBT_ItemStatus(qty, item$, whse$)  
FUNCTION LOCAL DRBT_PriceLevelInquiry()  
FUNCTION LOCAL EnableCCControlsForAddlTrans()  

Enable credit card controls for additional transaction

Returns [boolean] True = success.
FUNCTION LOCAL EnableControls()  
FUNCTION LOCAL EnableOtherControls(gridCtl, row)  
FUNCTION LOCAL EnablepAddressControls()  

Enable/Disable controls on the address panel

Returns [boolean] True = success.
FUNCTION LOCAL EnablepCreditCardControls()  

Enable/Disable controls on the credit card panel

Returns [boolean] True = success.
FUNCTION LOCAL EnablepHeaderControls()  
FUNCTION LOCAL EnablepTotalsControls()  
FUNCTION LOCAL EnableSalespersons()  
FUNCTION LOCAL GenerateFormatMask$(mask$, decimals)  
FUNCTION LOCAL GetAliasDesc()  
FUNCTION LOCAL GetControlID(var$, rID$, ctlName$)  
FUNCTION LOCAL GetCurrentBillOptions$()  
FUNCTION LOCAL GetCurrentPaymentTypeMethod(payType$)  

Get payment method of payment type and set cCurrentPaymentTypeMethod$

ParameterDescription
payType$ {optional} [input & output, string] payment type. If null, use payment type on the document.
Returns [boolean] True = success, False = failure
FUNCTION LOCAL GetGroupPropLists(gridCtl, group$, tmpPropList$, tmpPropVals$, tmpSecPropList$, tmpSecPropVals$)  
FUNCTION LOCAL GetLineRecord(gridCtl, row)  
FUNCTION LOCAL GetPaymentTypeList()  

Get all payment types applicable for this document

Returns [boolean] True = success
FUNCTION LOCAL HideShowGridGroup(gridCtl, hidefields$, showfields$)  

Hide/Show groups in a grid

ParameterDescription
gridCtl [input, integer] handle to Nomads Sales Order / Invoice detail grid control
hidefields$ [input, string] comma (,) separated list of fields/columns in the group to hide (use ResolveGroups() to obtain this list)
showfields$ [input, string] comma (,) separated list of fields/columns in the group to hide (use ResolveGroups() to obtain this list)
Returns [boolean] True = success
FUNCTION LOCAL InitDefaultRowState()  
FUNCTION LOCAL KeyChangeAdditional()  
FUNCTION LOCAL LoadGridDropBoxes(gridCtl, row)  
FUNCTION LOCAL LoadKitLines(gridCtl, startingRno)  
FUNCTION LOCAL LoadKitRow(gridCtl, row)  
FUNCTION LOCAL LocalizeIOLIST(objHandle, recClause$)  
FUNCTION LOCAL ModifySearchVar(var$)  
FUNCTION LOCAL OnExit()  
FUNCTION LOCAL OnExitpAddress()  
FUNCTION LOCAL OnExitpAddressW()  
FUNCTION LOCAL OnExitpCreditCard()  

check required field and save control state when leaving credit card panel

Returns [boolean] True = success, False = failure
FUNCTION LOCAL OnExitpCreditCardW()  

check required field and save control state when leaving wide credit card panel

Returns [boolean] True = success, False = failure
FUNCTION LOCAL OnExitpHeader()  
FUNCTION LOCAL OnExitpHeaderW()  
FUNCTION LOCAL OnExitpLines()  
FUNCTION LOCAL OnExitpLinesW()  
FUNCTION LOCAL OnExitpTotals()  
FUNCTION LOCAL OnExitpTotalsW()  
FUNCTION LOCAL OnFocusBT_Accept()  
FUNCTION LOCAL OnFocusCreditCardID()  

Save Credit Card ID in cOldCreditCardID$ before it is changed

Returns [boolean] True = success.
FUNCTION LOCAL OnFocusDB_PaymentType()  
FUNCTION LOCAL OnFocusDepositAmt()  
FUNCTION LOCAL OnFocusExtensionAmt(gridCtl)  
FUNCTION LOCAL OnFocusItemCode()  
FUNCTION LOCAL OnFocusItemCode(gridCtl)  
FUNCTION LOCAL OnFocusJobNo()  
FUNCTION LOCAL OnFocusLineDiscountPercent(gridCtl)  
FUNCTION LOCAL OnFocusML_Customer()  
FUNCTION LOCAL OnFocusPriceLevel(gridCtl)  
FUNCTION LOCAL OnFocusQuantityBackordered(gridCtl)  
FUNCTION LOCAL OnFocusSplitCommissions()  
FUNCTION LOCAL OnFocusUnitOfMeasure(gridCtl)  
FUNCTION LOCAL OnFocusUnitPrice(gridCtl)  
FUNCTION LOCAL PostCreditCardProcessing(doImpliedWrite)  

After processing credit card transaction, put payment records back in right state and refresh screen

ParameterDescription
doImpliedWrite [input, boolean] if true, save the document
Returns [boolean] True = success, False = failure
FUNCTION LOCAL PostLoad()  
FUNCTION LOCAL PostLoadpAddress()  
FUNCTION LOCAL PostLoadpAddressW()  
FUNCTION LOCAL PostLoadpCreditCard()  

Set credit card panel variables and enable controls

Returns [boolean] True = success.
FUNCTION LOCAL PostLoadpCreditCardW()  

Set credit card panel variables and enable controls

Returns [boolean] True = success.
FUNCTION LOCAL PostLoadpHeader()  
FUNCTION LOCAL PostLoadpHeaderW()  
FUNCTION LOCAL PostLoadpLines()  
FUNCTION LOCAL PostLoadpLinesW()  
FUNCTION LOCAL PostLoadpTotals()  
FUNCTION LOCAL PostLoadpTotalsW()  
FUNCTION LOCAL PostPaymentTypeCategoryChange()  

After Payment Type Category on credit card tab is changed, show/hide related controls.

Returns [boolean] True = success
FUNCTION LOCAL PostPaymentTypeChange()  

After Payment Type on credit card tab is changed, update other fields and screen.

Returns [boolean] True = success, False = failure
FUNCTION LOCAL PostReadRec()  
FUNCTION LOCAL PreLoad()  
FUNCTION LOCAL ProcessCCTransaction(doImpliedWrite)  

Process Sage Exchange transaction

ParameterDescription
doImpliedWrite [output, boolean] if true, need to save the document
Returns [boolean] True = success, False = failure
FUNCTION LOCAL ProcessCCVault(doImpliedWrite)  

Process Sage Exchange vault

ParameterDescription
doImpliedWrite [output, boolean] if true, need to save the document
Returns [boolean] True = success, False = failure
FUNCTION LOCAL PromptForItemPriceByTotQty()  

Displays prompt "Do you want to proceed with item price recalculation" and calls recalculate method if required.

Returns [boolean] Always returns success.
FUNCTION LOCAL QuantityExceedsAvailable(opt$)  
FUNCTION LOCAL QuickConfirmWrite()  
FUNCTION LOCAL RedisplayStatus()  
FUNCTION LOCAL ResetCorporateSalesTax()  

Reset pre-authorization and deposit corporate sales taxes to the default allocated amounts.

Returns [boolean] True = success, False = failure
FUNCTION LOCAL RowMods(gridCtl, row)  
FUNCTION LOCAL SaveRow(gridCtl, row)  
FUNCTION LOCAL SetAUCFilterItem()  

Set auto complete filter for item codes

Returns [boolean] True = success
FUNCTION LOCAL SetCostCellMask(gridCtl, row)  
FUNCTION LOCAL SetCostCodeDefaults()  
FUNCTION LOCAL SetFormState(action)  
FUNCTION LOCAL SetGridColumns(gridCtl, row)  
FUNCTION LOCAL SetGridColumns(gridCtl, row, editLine)  
FUNCTION LOCAL SetGridPresets(mGridCtl, sGridCtl)  
FUNCTION LOCAL SetLotSerial()  
FUNCTION LOCAL SetupGrid(mainGrid, form$, grid$, option, secGrid)  
FUNCTION LOCAL ShowDepositGroup()  

Hide/Show deposit column on credit card tab

Returns [boolean] True = success
FUNCTION LOCAL ShowPayBalance()  

Hide/Show pay balance check box on credit card tab

Returns [boolean] True = success
FUNCTION LOCAL ShowPriceLevelInquiry()  
FUNCTION LOCAL ShowRow(gridCtl, row)  
FUNCTION LOCAL TranslateColumns()  
FUNCTION LOCAL VoidCCTrans(whatToVoid$)  

Prompt user to void credit card transactions already processed through sage exchange

ParameterDescription
whatToVoid$ [input, string] "OLD" (void transactions already saved) or "NEW" (void unsaved transactions)
Returns [boolean] True = success, False = failure

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()