Generates the CTransRow entries for a standard order accounting event. The current implementation only handles a full amount purchase of a pro forma CStandardOrder.

Namespace:  Asi.iBO.Financials
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public string StandardOrderEvent(
	DataServer server,
	AccountingEventType accountingEventType,
	CStandardOrder order,
	CBatch batch,
	CPayment payment
)
Visual Basic (Declaration)
Public Function StandardOrderEvent ( _
	server As DataServer, _
	accountingEventType As AccountingEventType, _
	order As CStandardOrder, _
	batch As CBatch, _
	payment As CPayment _
) As String
Visual C++
public:
String^ StandardOrderEvent(
	DataServer^ server, 
	AccountingEventType accountingEventType, 
	CStandardOrder^ order, 
	CBatch^ batch, 
	CPayment^ payment
)

Parameters

server
Type: Asi.iBO..::.DataServer
The DataServer object to use.
accountingEventType
Type: Asi.iBO.Financials..::.AccountingEventType
The relevant AccountingEventType: only ProFormaFullPurchase is supported.
order
Type: Asi.iBO.Commerce..::.CStandardOrder
The CStandardOrder object to use.
batch
Type: Asi.iBO.Financials..::.CBatch
The CBatch object to use.
payment
Type: Asi.iBO.Financials..::.CPayment
The CPayment object to use.

Return Value

The glCashAccount - this is the same as the GL_ACCOUNT on the PAY transaction type Trans row

See Also