Class IT_ShoppingCart_bus

Properties

LOCAL cMainTable$="IT_ShoppingCartHeader"  
LOCAL cIsSysDB=isFALSE  
LOCAL cTaxModule$="I/T"  
LOCAL cQtyVar$="Quantity"  
LOCAL cAllowCashCust  
LOCAL cPerformCreditChecking  
LOCAL cBillToCustAddressSrcIOL$=CPL("IOLIST CustomerName$, AddressLine1$, AddressLine2$, AddressLine3$, City$, State$, ZipCode$, CountryCode$")  
LOCAL cBillToCustAddressDstIOL$=CPL("IOLIST BillToName$, BillToAddress1$, BillToAddress2$, BillToAddress3$, BillToCity$, BillToState$, BillToZipCode$, BillToCountryCode$")  
PROPERTY ARDivisionNo$   * Read Only *
PROPERTY AR_BillToCustomerRpting$   * Read Only *
PROPERTY BillToDivisionNo$   * Read Only *
PROPERTY BillToCustomerNo$   * Read Only *
PROPERTY CustomerNo$   * Read Only *
PROPERTY DateSubmitted$   * Read Only *
PROPERTY SalesTaxReporting   * Read Only *
PROPERTY ManualAccept  
PROPERTY SalesTaxCalcObj   * Read Only *
PROPERTY PriceLevel$   * Read Only *
PROPERTY TermsCode$   * Read Only *

Methods

FUNCTION AddComment(comment$)  
FUNCTION AddItemsSelected()  
FUNCTION AdjustWeight(oldWeight, newWeight)  
FUNCTION CheckForPending(uid$, seqNo$)  
FUNCTION CLEAR()  
FUNCTION CreditCardColumnsRequired(ccGUID$)  

Credit Card Columns Required on Shopping Cart Submission

ParameterDescription
ccGUID$ [input, string] Current Credit Card GUID
Returns [boolean] True if required; False if not required (ccGUID$ exists in AR_CustomerCreditCard).
FUNCTION Delete(key$)  
FUNCTION EncryptCVV$(ccvNo$)  

Encrypt CVV Number submitted with shoppoing cart for inclusion on confirmaion page

ParameterDescription
CreditCardCVV2No$ [input, string] CVV$ submitted with shopping cart
Returns [string] encrypted CVV$ to include (hidden) on shopping cart confimration page
FUNCTION GetNextSequenceNo(seqNo$)  
FUNCTION RecalcPriceByTotalQty(date$)  

Recalculates UnitPrice on detail lines based on Pricing By Total Quantity.

ParameterDescription
date$ [input, date] Needed in CI_ItemPrice method to Calculate Pricing method for date specific pricing.
Returns [boolean] True if prices recalculated, false if calculation not done.
FUNCTION SubmitForm(formIOL$, recIn$, hdrIOL$, recOut$, iolOut$)  
FUNCTION SubmitShoppingCart(tmpStatus$)  
FUNCTION SubmitShoppingCart(tmpStatus$, encryptedCVV$)  

Submit Shopping Cart, includes processing pre-authorization request

ParameterDescription
tmpStatus$ [input, string] Shopping Cart status
encryptedCVV$ {optional} [input, string] Encrypted CVV number included on shopping cart submission
Returns [boolean] Success or Failure.
FUNCTION Write()  

Properties inherited from: AR_CreditCardCommon

cARDivisionNoCol$, cCustomerNoCol$, ccpNOTSUPPLIED$, ARCreditCard, AllowCreditCard, AllowCreditCardVoidReAuth, AllowACHVoidReAuth, AllowOverrideCCOnCM, PaymentTypeMethod$, AllowCorporateCard, ShowCorporateCCLevel3, AddCorporateCardLevel3$, SPSPaymentType, SPSEnabled, CreditCardUI, Source$, Request_v1, SOIntegrated, ITIntegrated, LastPaymentEMVReceipt$, LastDepositEMVReceipt$

Properties inherited from: CI_CreditCardGUID_val

cARDivisionNoCol$, cCustomerNoCol$, AllowCreditCard, AllowACH

Properties inherited from: CI_CreditCardID_val

cARDivisionNoCol$, cCustomerNoCol$, IgnoreNOF, SkipClearCCInfo

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: SY_LineEntryHeader_bus

BatchEnabled, Lines, ScriptPreTotalsDone

Properties inherited from: SY_Password

AESCipher$, AES256Cipher$

Methods inherited from: AR_CreditCardCommon

AddNewCreditCard(), CheckCreditCardTrackingID(), ClearCreditCardInfo(), GetNextCreditCardID(), GetPrimaryCreditCard(), ProcessCCVoid(), ProcessCreditCard(), ProcessVault(), SkipCCVoid(), AddLevel3LineItem(), AddLevel3LineItems(), CheckAmount(), CreditCardSubmit(), GetCardIDTables(), GetPaymentTypeProperties(), PostCreditCardSubmit(), PreCreditCardSubmit(), ResolveAVSState(), SetSource(), SetSourceInfo(), SetUIOptions(), TranslateDateTime(), TranslateTime()

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_CalculateFreight

FreightCalculation(), FreightTaxChange()

Methods inherited from: CI_Country_val

ClassValidateCountry()

Methods inherited from: CI_CreditCardGUID_val

ClassValidateCreditCardGUID()

Methods inherited from: CI_CreditCardID_val

CardIDOnFile(), ClassValidateCreditCardID()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_EMailReasonCode_val

ClassValidateEmailReasonCode()

Methods inherited from: CI_FormSubmit

GetDetailLineIOList(), GetIOList$(), StripDetailLineIOList(), SubmitForm(), GetRawDate$()

Methods inherited from: CI_NextNumber

FormatLotSerialNo$(), IncrementSerialNo(), NextNumber(), FindPrefix(), GetColumnInfo(), IncrementNumber()

Methods inherited from: CI_PaymentType_val

ClassValidatePaymentType()

Methods inherited from: CI_SalespersonNo_val

ClassValidateSalespersonNo()

Methods inherited from: CI_ShipCode_val

ClassValidateShipCode()

Methods inherited from: CI_ShipTo_val

ClassValidateShipTo()

Methods inherited from: CI_TaxSchedule_val

ClassValidateTaxSchedule()

Methods inherited from: CI_Warehouse_val

SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$()

Methods inherited from: CI_ZipCode_val

ClassValidateZIPCode()

Methods inherited from: SY_LineEntryHeader_bus

ActivityLogOverride(), ActivityLogPrepare(), AddLine(), AFMapTotalColumns(), CLEAR(), CommitLines(), DELETE(), Delete(), DeleteLine(), EditLine(), InsertLine(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ResetLine(), ScriptPreTotals(), SetCurrentKey(), SetHeader(), Write(), WriteLine(), ActivityLogCreateFile(), ActivityLogWasLineRenumbered(), ClearLastRecord()

Methods inherited from: SY_Password

ConfirmAESKey(), ConfirmPassword(), EncryptAESData(), EncryptAESKey(), EncryptAESPassword(), EncryptPassword(), GetAESDataTest$(), PasswordAcceptable(), ValidateAESData(), ValidateAESPassword(), ValidatePassword(), VerifyAESDataEncryption(), DecryptAESData(), DecryptAESKey(), DecryptAESPassword(), DecryptAltAESData(), DecryptPassword(), EncryptAltAESData(), GetKEK$(), InitAESKey(), InitializeAES(), InitializeAltAES(), ValidateAltAESData(), VerifyAltAESDataEncryption()