PurchFormLetter.updateQueryAndChooseLines Method

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

public void updateQueryAndChooseLines(PurchTable _purchTable, [PurchParmTable _purchParmTable])

Run On

Called

Parameters

Parameter

Description

_purchTable

A PurchTable record that is used by the chooseLines method.

_purchParmTable

The parameter of the chooseLines method; optional.

Remarks

The PurchEditLines form executes the updateQueryBuild, adjustLinesQuery and chooseLines methods on a PurchParmTable write event. To minimize calls between tiers, this method moves this action to the server side.

This method uses the updateQueryAndChooseLinesOnServer static function to execute given methods using a server instance of the PurchFormLetter class.

See Also

PurchFormLetter Class