PurchFormLetter Class

class PurchFormLetter extends FormLetter

Run On

Called

Methods

Method

Description

adjustLinesQuery

Adjusts the chooseLines query to work with additional data sources.

allocateNumAndVoucher

(Inherited from FormLetter.)

allowCreateParmTable

(Inherited from FormLetter.)

allowEmptyTable

(Inherited from FormLetter.)

allowReArrange

Determines whether a saved pending invoice can be rearranged.

allowSaveLast

(Inherited from RunBaseBatch.)

approved

approvedBy

batchInfo

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

calcAutomaticTotalDiscount

calcLastPurchPrice

callerFormDataSource

(Inherited from FormLetter.)

cancelTimeOut

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

canCreateParmLine

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 if selected printers for printing from the SalesFormLetter Class hierarchy are Application Object Server (AOS) configured printers.

checkAOSPrintersPrintManagement

Overridden. Verifies if selected printers in print management, for printing original and copies of reports are Application Object Server (AOS) configured printers.

checkBlockedLevel

checkCallerDataSource

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

checkCloseDialog

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

checkDiscardLine

checkFormLetterId

checkHeading

checkIfPurchOrderExist

checkIfSomethingIsPosted

checkInterCompany

checkInvoice

checkInvoiceDate

checkLateSelection

checkLedgerPeriod

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

checkLines

checkPackingSlip

checkPrinterSettingsMultiThread

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

checkPurch

checkPurchLineChanged

checkPurchLinesChanged

checkSumBy

checkSumNum

checkTaxWorkRegulation

chooseAdditionalLine

Processes a single line of the non-standard result set returned by the chooseLines query.

chooseLine

Processes a single line of the chooseLines query.

chooseLines

Creates PurchParmTable table records based on the chooseLines query.

chooseLinesCleanup

Performs cleanup steps after the chooseLines query has been processed.

chooseLinesFromWMSJournalTable

chooseLinesInit

Initializes processing of chooseLines query.

chooseLinesPackingSlip

chooseLinesQuery

(Inherited from FormLetter.)

cleanupDialog

Overridden.

createFixedAsset

Creates a record in the AssetTable Table.

createFromLines

(Inherited from FormLetter.)

createJournal

Overridden. Posts a purchase order to journals.

createParmLine

Creates a purchase parameter line and purchase parameter asset line for a purchase line.

createParmLineFromWMSJournalTrans

createParmTable

createParmUpdate

createPayment

creditMaxOk

creditRemaining

currentPurchParmTable

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

documentDate

documentNum

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

EUROTriangulationInit

exchRateInit

exchRateSecondaryInit

existWaitingParmLines

Determines whether there are any lines for a given document already created in the PurchParmLine table.

fixedDueDate

fixedEuroTriangulation

fixedExchRate

fixedExchRateInit

fixedExchRateSecondary

formLetterSorting

(Inherited from FormLetter.)

getFromDialog

(Inherited from RunBaseBatch.)

getLast

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

getNumAndVoucher

Overridden.

getPurchLine

getSplitDeliveryInformation

(Inherited from FormLetter.)

getTimeOutTimerHandle

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

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

initJournal

(Inherited from FormLetter.)

initJournalLine

(Inherited from FormLetter.)

initJournalLineLedger

(Inherited from FormLetter.)

initLedgerJournalTrans

initLedgerVoucher

initLinesQuery

initMarkup

initParameters

initParmDefault

Overridden.

initParmPurchTable

initParmUpdate

initQueryBuild

initRecordListInventReportDimHistory

(Inherited from FormLetter.)

initSysSign

(Inherited from RunBase.)

insertDraft

Inserts a draft copy of the document from the current PurchParmTable table.

insertJournal

insertProforma

InsertPurchParmLine

insertPurchParmLine_Asset

Inserts a PurchParmLine_Asset Table buffer into the PurchFormLetter.recordInsertListInsert Method so it can be committed later.

InsertPurchParmSubTable

InsertPurchParmTable

interCompanyCalledFromFormletter

(Inherited from FormLetter.)

interCompanyCompanyId

(Inherited from FormLetter.)

interCompanyCreatedFormletter

(Inherited from FormLetter.)

intercompanyInvoiceNum

interCompanyMap

(Inherited from FormLetter.)

interCompanyMarkupAllocation

interCompanyMarkupAllocationForDDPO

Allocates MarkupTrans for an InterCompany PO marked for Direct Delivery.

interCompanyMarkupAllocationForPObyInv

Allocates MarkupTrans for an InterCompany PO using a given IC SO Invoice number.

interCompanyNoSalesFormletterUpdate

interCompanyParmId

(Inherited from FormLetter.)

interCompanyParmLineClosed

Overridden.

interCompanyParmLineQty

(Inherited from FormLetter.)

interCompanyParmSelectFromJournal

(Inherited from FormLetter.)

interCompanyPost

(Inherited from FormLetter.)

interCompanyPosted

(Inherited from FormLetter.)

interCompanySelectFromJournal

Overridden.

interCompanyTransferBatchSerial

interCompanyVoucher

invoiceAccountInQuery

isBatchProcess

Determines whether the current process will be executed in a batch.

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

Overridden.

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

ledgerJournalTrans

ledgerJournalVendTrans

mayJournalBePosted

Overridden.

maySelectPO

Determines whether a PurchTable table record may be selected for invoicing.

missingNumber

modifyVoucherDate

multiForm

(Inherited from FormLetter.)

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

needVarianceApproval

Determines if the PurchParmTable table record proved needs variance approval.

new

Overridden.

newJournalList

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

newJournalTransList

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 PurchFormLetter class.

parmCallerTable

Gets or sets the CallerTable parameter.

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

parmJournalTransList

Gets or sets the JournalTransList parameter.

parmParmTableNum

Gets or sets the ParmTableNum parameter.

parmProgress

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

parmSalesPurchCycleAction

Gets or sets the SalesPurchCycleAction parameter.

parmSaveChanges

Gets or sets the SaveChanges member variable, if supported by the derived class.

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.

paymentId

paymMode

paymSpec

postMarkupLine

postMarkupOnJour

postMarkupOnTrans

postMarkupTable

postTax

postUpdate

prePromptInit

printerSettingsEUVatInvoice

printerSettingsFormletter

(Inherited from FormLetter.)

printEUVatInvoice

printFormLetter

(Inherited from FormLetter.)

printJournal

(Inherited from FormLetter.)

printMgmtDocumentType

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

printMgmtNodeType

Overridden. Identifies the print management node type.

printout

Overridden.

printPosted

printSalesFormLetter

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

Displays the class’s dialog and awaits user input. (Inherited from RunBaseBatch.)

promptAndRun

Executes the "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.)

purchEditLinesExecuteQuery

purchParmLineMapKey

purchParmSubTableMapKey

purchParmTableMapKey

purchParmUpdate

purchSalesDocumentStatus

Overridden.

purchTable

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

qtyPurch

queryBuild

queryChooseLines

(Inherited from FormLetter.)

queryRun

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

reArrange

reArrangeNow

Overridden.

reArrangeValidate

recommendedSpecQty

recopyMarkupFromPurchTable

Deletes existing MarkupTrans on the PurchParmSubTable record and copies the current MarkupTrans from a PurchTable record.

recordInsertListInit

Creates the purchase order record list and map variables.

recordInsertListInsert

Inserts records in the record lists into the database.

removeJournalFromList

(Inherited from FormLetter.)

removeProforma

(Inherited from FormLetter.)

removeRecIdSuspension

removeSavedDocumentWithNoLines

Removes any saved documents that have no lines.

reselect

reset

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

resetParmListCommonCS

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

saveLast

(Inherited from RunBaseBatch.)

selectFromJournal

(Inherited from FormLetter.)

selectFromJournalLines

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

setForUpdatePurchParmTable

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

setPurchEditLinesDataSource

setTimeOut

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

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

specQty

specQtyDefault

splitDeliveryInformation

Overridden.

sumBy

sumByInit

sumNum

sumPurchId

suspendRecIds

syncToNewInvoice

Performs any synchronization that is needed when a new PurchParmTable table record is created.

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

transactionLogTxt

transactionLogType

transDate

(Inherited from FormLetter.)

unpack

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

update

updateDate

updateNow

(Inherited from FormLetter.)

updateParmTable

updateParmTableWithErrors

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

updatePrinterSettingsEUVatInvoice

updatePrinterSettingsFormLetter

(Inherited from FormLetter.)

updateQueryAndChooseLines

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

updateQueryBuild

updateQueryDocumentRanges

Adds document ranges to the PurchFormLetter.chooseLines Method query.

updateSalesLine

updateSalesTable

updateSumPurchId

usageCount

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

usePrintManagement

(Inherited from FormLetter.)

validate

Overridden. Validates if the purchase posting form should be closed by the user.

validateAll

(Inherited from FormLetter.)

validateNum

vendAccountInQuery

vendBankAccountId

wait

Pauses a process. (Inherited from Object.)

WMSJournalTable_ds

wmsJournalTableDsIsSet

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

::callPrintersettingsEUVatInvoice

Allows the user to modify the printer settings for EU VAT invoices using the standard print job settings dialog.

::callPrintersettingsFormletter

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

::checkParmTable

::construct

::constructFromCache

::execInitLinesQueryOnServer

::execReArrangeOnServer

::execReSelectOnServer

::execUpdateQueryAndChooseLinesOnServer

::getPrinterSettingsFormletter

::main

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

::mainOnServer

::updateCallerDataSource