SalesFormLetter Class

class SalesFormLetter extends FormLetter

Run On

Called

Methods

Method

Description

allocateNumAndVoucher

(Inherited from FormLetter.)

allowCreateParmTable

(Inherited from FormLetter.)

allowEmptyTable

(Inherited from FormLetter.)

allowSaveLast

(Inherited from RunBaseBatch.)

batchInfo

Returns the BatchInfo class. This class is the API for the batch table. (Inherited from RunBaseBatch.)

calcAutomaticTotalDiscount

calcLine

calcShippingStat

calcStatLineAmount

callerFormDataSource

(Inherited from FormLetter.)

canBeCreditnote

cancelTimeOut

Cancels a previous method call to the Object::setTimeOut Method. (Inherited from Object.)

canGoBatch

Returns false (Inherited from RunBaseBatch.)

canGoBatchJournal

Determines whether the class is shown in the list of Journal types. (Inherited from RunBaseBatch.)

canMultiThread

Indicates whether the selected records can be posted in the enhanced batch framework. (Inherited from FormLetter.)

canSwapBetweenCS

Overridden.

canSwapBetweenCSPrim

Returns whether it is possible to pack the class, reinstantiate a new class on the client or server, and unpack the packed class into the new class. (Inherited from RunBase.)

caption

(Inherited from RunBaseBatch.)

checkAOSPrinters

Overridden. Verifies whether printers that are selected for printing from the SalesFormLetter class hierarchy are AOS configured printers.

checkAOSPrintersPrintManagement

Overridden. Verifies whether selected printers in print management are AOS configured printers for printing original and copy reports.

checkBlockedLevel

checkCallerDataSource

Checks whether the calling data source can be processed in this update.

checkCloseDialog

Must be called in the RunBase dialog CloseOk method. (Inherited from RunBase.)

checkCreateParmLine

checkCreateScrapOnInventory

checkCreditMaxInit

checkDiscardLine

checkHeading

checkIfSalesOrderExist

checkIfSomethingIsPosted

checkifWMSorder

checkInterCompany

checkLateSelection

checkLedgerPeriod

Determines whether posting in the ledger period is allowed. (Inherited from FormLetter.)

checkLines

checkPrinterSettingsMultiThread

Verifies if the selected printers for printing journals are Application Object Server (AOS) configured printers. (Inherited from FormLetter.)

checkSales

checkSalesLineChanged

checkSalesLinesChanged

checkSalesType

checkSumBy

checkSumNum

checkTaxWorkRegulation

chooseLines

chooseLinesFromJournalTransList

chooseLinesFromSalesLine

chooseLinesFromWMSArrival

Selects SalesLine records for update based on entries in the Arrival journal.

chooseLinesFromWMSShipment

chooseLinesFromWMSShipmentSet

chooseLinesPackingslip

chooseLinesQuery

(Inherited from FormLetter.)

cleanupDialog

Overridden.

createBackorderLines

createFromHistory

createFromLines

(Inherited from FormLetter.)

createJournal

Overridden. Posts a sales order to journals.

createParmLine

createParmLineFromWMSArrivalTrans

Selects SalesLine records for update based on entries in the arrival journal.

createParmLineFromWMSOrderTrans

createParmTable

createParmUpdate

createParmUpdateFromParmUpdateRecord

createPayment

createSalesShippingStat

createScrapOnInventory

creditCardDoCaptureOrPostAuthorize

creditCardDoPreAuthorize

creditMaxOk

creditRemaining

custAccountInQuery

custBankAccountId

defaultGiroType

deleteGiro

deleteGiroAndInitQuery

Executes the deleteGiro and initLinesQuery methods on the server side to reduce the interaction between tiers.

deliveryAddress

deliveryName

dialog

Overridden.

dialogClear

Should clear the contents of the dialog. (Inherited from RunBase.)

dialogInit

Initializes the dialog. (Inherited from RunBase.)

dialogMake

Obtains the dialog from a RunBase class. (Inherited from RunBase.)

dialogPost

(Inherited from RunBaseBatch.)

dialogPostInit

Called right after the RunBase.dialogInit Method. (Inherited from RunBase.)

dialogPostRun

Called after Dialog.run Method. (Inherited from RunBase.)

dialogReInit

Reinitializes the dialog. (Inherited from RunBase.)

dialogSelectCtrl

When using the dialog class for dialog, this method is called whenever a control is selected. (Inherited from RunBase.)

dialogTask

When using the Dialog Class for dialog, this method is called from the task method in the dialog form. (Inherited from RunBase.)

dialogUpdate

Updates the dialog, for example after reinitializing the query. (Inherited from RunBase.)

dialogUpdateQuery

Updates the query in the dialog. (Inherited from RunBase.)

displayProgress

dlvMode

documentStatus

(Inherited from FormLetter.)

editLinesChanged

enableUpdateNowField

endJournalLedger

(Inherited from FormLetter.)

endJournalLineLedger

(Inherited from FormLetter.)

endUpdate

Overridden.

equal

Determines whether the specified object is equal to the current one. (Inherited from Object.)

fixedEuroTriangulation

fixedExchRate

fixedExchRateSecondary

formLetterSorting

(Inherited from FormLetter.)

fromJournalTransList

fromJournalTransList_TableId

getFromDialog

(Inherited from RunBaseBatch.)

getLast

Gets the last choice stored in the last value table. (Inherited from RunBaseBatch.)

getNumAndVoucher

Overridden.

getSalesLine

getSplitDeliveryInformation

(Inherited from FormLetter.)

getSplitSite

getTimeOutTimerHandle

Returns the timer handle for the object. (Inherited from Object.)

giro

giroType

handle

Retrieves the handle of the class of the object. (Inherited from Object.)

inGetSaveLast

Returns true when the GetLast or SaveLast method is executed. (Inherited from RunBase.)

init

Gives RunBase the same profile as, for example, a FormRun class. This method is not used in the standard application. (Inherited from RunBase.)

initAllowEmptyTable

(Inherited from FormLetter.)

initBatch

(Inherited from RunBaseBatch.)

initFromSalesTotals

Performs initialization based on the SalesTotals object passed as argument

initJournal

(Inherited from FormLetter.)

initJournalLine

(Inherited from FormLetter.)

initJournalLineLedger

(Inherited from FormLetter.)

initLedgerVoucher

initLinesQuery

initMarkup

initParameters

initParmDefault

Overridden.

initParmSalesTable

initParmUpdate

initPrinterSettingsFormletter

Initializes printer settings for posting a sales order with default values

initQueryBuild

initRecordListInventReportDimHistory

(Inherited from FormLetter.)

initShippingStat

initSysSign

(Inherited from RunBase.)

insertJournal

insertProforma

interCompanyCalledFromFormletter

(Inherited from FormLetter.)

interCompanyCompanyId

(Inherited from FormLetter.)

interCompanyCreatedFormletter

(Inherited from FormLetter.)

interCompanyMap

(Inherited from FormLetter.)

interCompanyParmId

(Inherited from FormLetter.)

interCompanyParmLineClosed

(Inherited from FormLetter.)

interCompanyParmLineQty

(Inherited from FormLetter.)

interCompanyParmSelectFromJournal

(Inherited from FormLetter.)

interCompanyPost

(Inherited from FormLetter.)

interCompanyPosted

(Inherited from FormLetter.)

interCompanySelectFromJournal

Overridden.

interCompanyUpdateSalesPrice

invoiceAccountInQuery

isInBatch

Determines whether the RunBaseBatch is actually being run from a batch server. (Inherited from RunBaseBatch.)

isSwappingPrompt

Checks if the program is currently swapping from server to client. (Inherited from RunBase.)

isSysSignUsed

(Inherited from RunBase.)

journal

(Inherited from FormLetter.)

journalTransList

(Inherited from FormLetter.)

lastValueDataAreaId

(Inherited from RunBase.)

lastValueDesignName

(Inherited from RunBase.)

lastValueElementName

(Inherited from RunBase.)

lastValueType

(Inherited from RunBase.)

lastValueUserId

(Inherited from RunBase.)

lateSelectionRemoveLines

lockSalesUpdateField

mayJournalBePosted

Overridden.

mayJournalTransBePosted

multiForm

(Inherited from FormLetter.)

mustCheckCreditLimit

mustGoBatch

(Inherited from RunBaseBatch.)

mustLoadSaveQuery

Determines whether the last query must be loaded and saved when you leave the form. Called from SysQueryForm. (Inherited from RunBase.)

name

Returns the name of the RunBase class. (Inherited from RunBase.)

New

Overridden.

newJournalList

Constructs a record sorted list. (Inherited from FormLetter.)

notify

Releases the hold on an object that has called a wait method on this object. (Inherited from Object.)

notifyAll

Releases a lock on the object that was issued by a wait method on this object. (Inherited from Object.)

numberOfRecords

(Inherited from FormLetter.)

objectOnServer

Determines whether the object is on a server. (Inherited from Object.)

owner

Returns the instance that owns the object. (Inherited from Object.)

pack

Overridden. Serializes the current instance of the SalesFormLetter class.

parmCurrentBatch

Gets or sets the CurrentBatch parameter. (Inherited from RunBaseBatch.)

parmId

Gets or sets the Id parameter. (Inherited from FormLetter.)

parmIdSynched

Gets or sets the IdSynched parameter. (Inherited from FormLetter.)

parmInBatch

Gets or sets the InBatch parameter. (Inherited from RunBaseBatch.)

parmProgress

Gets or sets the Progress parameter. (Inherited from RunBase.)

parmSalesPurchCycleAction

Gets or sets the SalesPurchCycleAction parameter.

parmShipmentId

Gets or sets the ShipmentId parameter.

parmSkipPrompt

Gets or sets the SkipPrompt parameter.

parmSourceTable

Overridden. Gets or sets the SourceTable parameter.

parmSysSign

Gets or sets the SysSign parameter. (Inherited from RunBase.)

parmTable2Update

Overridden. Gets or sets the Table2Update parameter.

parmWmsShipmentIdSet

Gets or sets the WmsShipmentIdSet parameter.

postMarkupLine

postMarkupOnJour

postMarkupOnTrans

postMarkupTable

postTax

postTaxOnProforma

postUpdate

prePromptInit

printCODLabel

printerSettingsCODLabel

printerSettingsFormletter

(Inherited from FormLetter.)

printerSettingsFreightSlip

printerSettingsShippingLabel

printFormLetter

(Inherited from FormLetter.)

printFreightSlip

printJournal

(Inherited from FormLetter.)

printMgmtDocumentType

Identifies the print management document type. (Inherited from FormLetter.)

printMgmtNodeType

Overridden. Identifies the print management node type.

printout

Overridden.

printoutFreightSlip

printShippingLabel

proforma

progressHide

Hides the Progress form. (Inherited from RunBase.)

progressInit

Initializes the Progress object in RunBase. (Inherited from RunBase.)

progressKill

Kills the Progress object in RunBase. (Inherited from RunBase.)

progressUpdate

(Inherited from FormLetter.)

prompt

Overridden.

promptAndRun

Executes an "if prompt then run" scenario.

promptChooseLines

Executes the prompt of the chooseLines query on the client side if the class is currently running on the server. (Inherited from FormLetter.)

promptPack

(Inherited from RunBaseBatch.)

promptPrim

Contains the code for the prompt functionality. The RunBase.prompt Method simply wraps this method. (Inherited from RunBase.)

promptUnpack

(Inherited from RunBaseBatch.)

purchSalesDocumentStatus

Overridden.

putToDialog

Enables setting the fields that were just added in the RunBase.dialog Method. This method is called from the RunBase.promptPrim Method directly following the RunBase.dialogMake Method. (Inherited from RunBase.)

qtyInvent

qtySales

queryBuild

queryChooseLines

(Inherited from FormLetter.)

queryRun

Returns the QueryRun, which is used by the QueryPrompt. (Inherited from RunBase.)

reArrange

reArrangeNow

(Inherited from FormLetter.)

reArrangePost

reArrangePre

recommendedSpecQty

recordInsertListInit

recordInsertListInsert

reduceOnHand

removeJournalFromList

(Inherited from FormLetter.)

removeProforma

(Inherited from FormLetter.)

removeRecIdSuspension

reselect

reset

Resets the class to its default state. (Inherited from RunBase.)

resetParmListCommonCS

resetProformaUponPhysicalUpdatable

Turns off the sample packing slip.

run

Overridden.

runBase

Returns the RunBase itself. (Inherited from RunBase.)

runsImpersonated

Indicates whether the FormLetter class can be used in the enhanced batch framework. (Inherited from FormLetter.)

salesParmLineMapKey

salesParmTableMapKey

SalesParmUpdate

salesTable

saveLast

(Inherited from RunBaseBatch.)

selectFromJournal

(Inherited from FormLetter.)

selectFromJournalLines

Updates document lines based on the specified records. (Inherited from FormLetter.)

setForUpdateSalesParmTable

setGetLastCalled

Sets the internal inGetSaveLast variable. (Inherited from RunBase.)

setInPrompt

Sets the internal inPrompt variable. (Inherited from RunBase.)

setIsSwappedFromServer

Sets the internal isSwappedFromServer variable. (Inherited from RunBase.)

setJournalList

Sets the journalList variable that is used by the FormLetter class. (Inherited from FormLetter.)

setLedgerVoucher

setNumAndVoucher

setParmSalesUpdate

setSalesEditLinesDataSource

setTimeOut

Sets up the scheduled execution of a specified method. (Inherited from Object.)

ShipCarrierAccount

shipCarrierId

showBatchTab

(Inherited from RunBaseBatch.)

showClearButton

Determines whether to add a Clear button to the dialog. If you change the return value to true it will add the button. (Inherited from RunBase.)

showDefaultButton

Determines whether a Default button is to be added to the dialog. If you change the return value to true, it will add the button. (Inherited from RunBase.)

showDialog

(Inherited from RunBase.)

showIndexFields

If this method returns true, it will look for the first enabled index when you are adding query range fields to the dialog and if a data source does not have any ranges specified. It will also show the visible fields from that index. (Inherited from RunBase.)

showQueryForm

(Inherited from FormLetter.)

showQuerySelectButton

(Inherited from RunBase.)

showQueryValues

Determines whether a Select button is to be added to the dialog. If you change the return value to true, the button will be added. (Inherited from RunBase.)

site

specQty

splitDeliveryInformation

Overridden.

splitSite

sumBy

sumByInit

suspendRecIds

sysSignFieldId

(Inherited from RunBase.)

sysSignTableId

(Inherited from RunBase.)

sysSignValidateEmployee

(Inherited from RunBase.)

tax

(Inherited from FormLetter.)

tmpTaxWorkTrans

(Inherited from FormLetter.)

toString

Returns a string that represents the current object. (Inherited from Object.)

tpAddress

trackBackorder

transactionLogTxt

transactionLogType

transDate

(Inherited from FormLetter.)

unpack

Overridden. Deserializes the packedClass parameter value to an instance of the SalesFormLetter class.

update

updateAllSalesShippingStat

updateDate

updateEstimate

updateNonPostedParmLines

updateNow

(Inherited from FormLetter.)

updateParmTable

updateParmTableWithErrors

Overridden. Updates the current SalesParmTable table record with the provided LogText.

updatePrinterSettingsCODLAbel

updatePrinterSettingsFormLetter

(Inherited from FormLetter.)

updatePrinterSettingsFreightSlip

updatePrinterSettingsShippingLabel

updateQueryAndChooseLines

Executes the updateQueryBuild and chooseLines methods on the server side to reduce the interaction between tiers.

updateQueryBuild

updateSalesShippingStat

updateSalesType

updateSumSalesId

usageCount

Returns the current number of references (the value of the reference counter) that the object has. (Inherited from Object.)

useBillOfLading

usePrintManagement

(Inherited from FormLetter.)

useShippingStat

validate

Overridden. Validates whether it is all right to continue.

validateAll

(Inherited from FormLetter.)

wait

Pauses a process. (Inherited from Object.)

WMSArrival_ds

Sets and returns the WMSArrival data source.

WMSShipment_ds

writebackorderLines

writeJournal

(Inherited from FormLetter.)

writeJournalLine

Overridden.

writeRecordListInventReportDimHistory

(Inherited from FormLetter.)

writeTmpTaxWorkTrans

(Inherited from FormLetter.)

xml

Returns an XML string that represents the current object. (Inherited from Object.)

::callPrinterSettingsCODLabel

Allows the user to modify the printer settings for COD labels by using the standard print job settings dialog box.

::callPrintersettingsFormletter

Allows the user to modify the printer settings using the standard print job settings dialog.

::callPrinterSettingsFreightSlip

Allows the user to modify the printer settings for freight slip by using the standard print job settings dialog box.

::callPrinterSettingsShippingLabel

Allows the user to modify the printer settings for shipping labels by using the standard print job settings dialog box.

::checkParmTable

::construct

::constructFromCache

::execDeleteGiroAndInitQueryOnServer

::execInitLinesQueryOnServer

::execReArrangeOnServer

::execReSelectOnServer

::execUpdateQueryAndChooseLinesOnServer

::getPrinterSettingsFormletter

::main

Provides an entry point for the SalesFormLetter class when it is called from a menu item.

::mainOnServer

::newFromPurchFormLetter_Invoice

::newFromPurchFormLetter_PackingSlip

::updateCallerDataSource