PurchRFQFormLetter::mainOnServer Method [AX 2012]

Calls the PurchRFQEditLines form to send, return, accept or reject an RFQ.

server protected static container mainOnServer(
    container _cachedArgs, 
    PurchRFQUpdateType _parmEnum, 
    Common _record, 
    Object _caller, 
    FormDataSource _recordDataSource, 
    container _dataSourceRecordsPacked)

Run On

Server

Parameters

_cachedArgs
Type: container
A container that contains cached argument values.
_parmEnum
Type: PurchRFQUpdateType Enumeration
An enumeration value that indicates whether the RFQ will be sent, returned, accepted or rejected.
_record
Type: Common Table
A record buffer of type PurchRFQCaseTable or PurchRFQTable.
_caller
Type: Object Class
The object of the calling process.
_recordDataSource
Type: FormDataSource Class
The data source of the calling process.
_dataSourceRecordsPacked
Type: container
A container that contains default retained form field values.

Return Value

Type: container
A container that contains PurchRFQFormLetter values

The main method is split into two parts in order to reduce the interaction between tiers. The main method runs on the client.

It obtains parameters from the Args class, and passes them to the mainOnServer method, which executes the main process.

Show: