Class SO_Shipping_bus

Inherits

SO_Invoice_bus

Properties

LOCAL cFromShipping=isTRUE  
LOCAL cBatchModule$="S/O"  
LOCAL cBatchType$  
LOCAL cUDSClass$  
LOCAL cPaymentObjectName$  
PROPERTY ShowDetailForAllOrders$  

set by Shipping Data Entry UI, current selection of the Show Detail For All Orders checkbox

PROPERTY SI_AllowChangesToBackOrderQty$   * Read Only *
PROPERTY SI_AllowChangesToEmail$   * Read Only *
PROPERTY SI_AllowChangesToShipToLocation$   * Read Only *
PROPERTY SI_AllowChangesToShipVia$   * Read Only *
PROPERTY SI_AllowChangesToUMOnLines$   * Read Only *
PROPERTY SI_AllowChangesToWhseOnLines$   * Read Only *
PROPERTY SI_AllowEntryOfWghtFrght$   * Read Only *
PROPERTY SI_PasswordForShipperID$   * Read Only *
PROPERTY SI_ShippingFunction$   * Read Only *
PROPERTY SOS_AddFreightToCOD$   * Read Only *
PROPERTY SOS_AllowAlternateItems$   * Read Only *
PROPERTY SOS_AllowChangesToWhse$   * Read Only *
PROPERTY SOS_AllowCommentsOnItemLines$   * Read Only *
PROPERTY SOS_AllowOvershipment$   * Read Only *
PROPERTY SOS_AutoIncrementKeyword$   * Read Only *
PROPERTY SOS_AutomaticallyIncrementQty$   * Read Only *
PROPERTY SOS_AutomaticallyPrintShippingDocs$   * Read Only *
PROPERTY SOS_COGSMarkupPercent   * Read Only *
PROPERTY SOS_DefaultDeclaredValue$   * Read Only *
PROPERTY SOS_DefaultShipperID$   * Read Only *
PROPERTY SOS_DisplayInvoiceTotal$   * Read Only *
PROPERTY SOS_FixedDeclaredValue   * Read Only *
PROPERTY SOS_NextPackageKeyword$   * Read Only *
PROPERTY SOS_OrderToDisplayLines$   * Read Only *
PROPERTY SOS_PromptForBackorder$   * Read Only *
PROPERTY SOS_PrintAdditionalPackingLists$   * Read Only *
PROPERTY SOS_ReturnFocusToItemCode$   * Read Only *
PROPERTY SOS_ShippingDocumentToPrint$   * Read Only *
PROPERTY SOS_ShippingIntegration$   * Read Only *
PROPERTY SOS_ConsolidateSalesOrdersOnInv$   * Read Only *
S/O Shipping Options, Consolidate Sales Orders On Invoice
PROPERTY SOS_ConsolidateByCustomerPONoOnInv$   * Read Only *
S/O Shipping Options, Consolidate By Customer PONo On Inv

Methods

FUNCTION CheckCCAuthExpiry()  
FUNCTION CheckForInvoice(tmpDivNo$, tmpCustNo$, tmpSalesOrder$, tmpCustPONo$, tmpInvNo$, tmpInvCustPONo$)  

Check for invoice to apply sales order to

ParameterDescription
tmpDivNo$ [input,string] A/R Division Number to check for
tmpCustNo$ [input,string] Customer Number to check for
tmpSalesOrder$ [input,string] Sales Order Number to apply
tmpCustPONo$ [input,string] Customer PO Number to check for
tmpInvNo$ [output,string] Invoice Number to apply to
tmpInvCustPONo$ [output,string] Customer PO Number of Invoice Number to apply to
Returns [boolean] True = if invoice found, False = if no invoice found, -1 = invoice found, prompt to apply, -2 = invoice found, prompt for both Shipping Setup Options
FUNCTION CheckItemPackageQuantity()  

Compare quantity shipped and quantity packed for all item in the invoice

Returns [boolean] SUCCESS (1) if all quantities match, FAILURE (0) if discrepancies found
FUNCTION ConfirmDelete()  

Confirm that the shipping number/invoice can be deleted

Returns [boolean] True = entry can be deleted, False = record cannot be deleted, -1 = entry with multiple S/O's applied can be deleted
FUNCTION DELETE(Key$)  
FUNCTION GetContext$(destTable$)  
FUNCTION GetContextSourceTables$(context$)  
FUNCTION GetNextInvoiceNo(value$)  
FUNCTION ResetAllCopyLines()  

Reset All for a new invoice, copy lines for all sales orders

Returns [boolean] True = success
FUNCTION ResetLine(detailKey$)  
FUNCTION WRITE()  

Properties inherited from: SO_Invoice_bus

cBatchModule$, cBatchType$, cBatchTotalVars$, cBrowseOmit$, cDefaultTermsCode$, cIsSysDB, cJobConfirmationVar$, cJobDateVar$, cMainTable$, cPerformCustomerStatusChecking, cRestartFile$, cUserKey$, cWorkstationName$, cPaymentObjectName$, AllLinesBackordered, ApplySalesOrdersValidation$, AllowCreditCard$, AR_OpenItemBalForward$, AR_PaymentMethod$, AR_RetainDetailedInvHist$, AR_TrackJCRetentionAmount$, AR_TrackJCRetentionRecvbls$, BarCodeImport, BatchSubType$, copyPrompt, CreditCardMsg$, CreditCardStatus, CustomerEInvoice$, CRMSetup, DefaultWarehouseCode$, DefaultWarehouseStatus$, DefaultWhseRestrictEndDate$, DocumentTotal, EInvoice$, FreightCalcMethod$, InHistory, JC_RetentionTaxable$, SO_CheckQtyOnHand$, SO_PrintCODLabels$, SO_IncludeBackorderedLines$, SO_IntegrateBillOfMaterials, SO_IntegrateIT, SO_IntegrateWorkOrder, SO_LineType$, SO_PrintSalesOrders$, SO_PrintShippingLabels$, SO_RetainOrderQuoteHistory$, SO_UseDefaultItemWhse$, SO_WarrantyCalcBasedOn$, TaxCalcError, DepositAmtAvailable, InvoiceTotal, NetInvoice, QuantityForBackOrder, SeenLines, ShipComplete$, OrderTotal

Methods inherited from: SO_Invoice_bus

AllowCreditCard(), ApplySalesOrderAdd(), ApplySalesOrderCancel(), ApplySalesOrderCopyLines(), ApplySalesOrderRemove(), ApplySalesOrderUpdate(), BatchPreDelete(), CalcRetentionRate(), CalculateDepositAmt(), CalculateTotals(), ChangeDefaults(), CheckApplySalesOrderNo(), CheckBatchStatus(), CheckDeleteSecurity(), CheckForACHPayment(), CheckForCreditMemo(), CheckForInvInHistory(), CheckMergeBatch(), CheckShippingBatch(), Clear(), ClearInvoiceNoInSO(), ClearJobNo(), DELETE(), DeleteBatch(), GetApplySalesOrderRecord(), GetApplySalesOrderStatus(), GetInvoiceDefaults(), GetNextInvoiceNo(), GetSOCustomerPONo$(), RecalcFreightFromSalesOrder(), RecalcRetentionAmt(), ResetAllCopyLines(), SalesTaxCalculation(), SalesTaxRecalculation(), SetCheckForHold(), SetCommonTaxInfo(), SetCurrentKey(), SetInvoiceDefaults(), SetKey(), SetMergeTypes(), SetReValidate(), SetSOCustomerPONo(), SetWeight(), ValidateAppliedCustomerPONo(), ValidateApplyToInvoiceNo(), ValidateGroupCU_Integrated(), ValidateGroupMultipleDep(), ValidateGroupMultipleSO(), ValidBatch(), WRITE(), CheckForDuplicateInvoice(), CRM_GetSet(), CRM_SetCuChildColl(), GetOptions(), GetShippingRateLineType(), PostDeleteRec(), PostWriteRec(), SetApplySalesOrderStatus(), SetChildColl(), SetCRMFields(), SetCustomerEInvoice(), SetDefaults(), SetSplitCommission(), UpdateCMFromRMA(), UpdateSODailyShipment(), ValidateAcceptCashOnly(), ValidateActualPercentComplete(), ValidateBatchNo(), ValidateBillToCustomerNo(), ValidateCheckNoForDeposit(), ValidateCustomerNo(), ValidateDepositAmt(), ValidateDiscountAmt(), ValidateDiscountDueDate(), ValidateEInvoicePayments(), ValidateFreightAmt(), ValidateInvoiceDate(), ValidateInvoiceDueDate(), ValidateInvoiceNo(), ValidateInvoiceType(), ValidateJobNo(), ValidateNumberOfCODLabels(), ValidatePaymentType(), ValidateRetentionAmt(), ValidateSalesOrderNo(), ValidateShipDate(), ValidateShipperId(), ValidateShipToCode(), ValidateTaxSchedule(), ValidateTermsCode(), VoidCCTrans()