RetailStatementPost.run Method [AX 2012]

Validates and posts the RetailStatementPost record.

Syntax

public void run()

Run On

Server

Exceptions

Exception Condition
Error

If the statement is incorrect, posting is canceled and the status of batch framework task changes to error.

UpdateConflictNotRecovered

Cannot update if any other user is trying update at the same time. The update conflict cannot be recovered.

UpdateConflict

Update conflict as any other user is trying to update the record at the same time.

Remarks

Also posts the discounts, payment, Income expense amount and sales orders.

See Also

Reference

RetailStatementPost Class