Table of Contents

OnAfterInsert Event

Page API - Purchase Orders

Raised after a record is inserted.

Please Note. The return of this call is built on the values in PurchaseOrderEntityBuffer. It is the subscribers responsibility to keep these values in sync, if needed.

Signature

[IntegrationEvent(false, false)]
OnAfterInsert(var PurchaseOrderEntityBuffer: Record "Purchase Order Entity Buffer"; var PurchaseOrder: Record "Purchase Header"; ExtraValue1: Text; ExtraValue2: Text; ExtraValue3: Text; ExtraValue4: Text; ExtraValue5: Text; ExtraValue6: Text; ExtraValue7: Text; ExtraValue8: Text; ExtraValue9: Text; ExtraValue10: Text; ExtraValuesSet: List of [Integer])

Parameters

var PurchaseOrderEntityBuffer Record "Purchase Order Entity Buffer"

The current Purchase Order Entity Buffer record.

var PurchaseOrder Record "Purchase Header"

The current Purchase Order record. A modify on this record is called after this event.

ExtraValue1 Text

Extra Value 1.

ExtraValue2 Text

Extra Value 2.

ExtraValue3 Text

Extra Value 3.

ExtraValue4 Text

Extra Value 4.

ExtraValue5 Text

Extra Value 5.

ExtraValue6 Text

Extra Value 6.

ExtraValue7 Text

Extra Value 7.

ExtraValue8 Text

Extra Value 8.

ExtraValue9 Text

Extra Value 9.

ExtraValue10 Text

Extra Value 10.

ExtraValuesSet List of [Integer]

A list of integers containing the ordinal number of the Extra Values explicitly set via the API. The list can be used to distinguish between a blank value and a value not set.

This documentation is generated from Spider v27.2