Custom logic execution after completion of AIF document process

updateNow  – AXD document class method

Recently I have had the requirement to update some fields in my AIF document table after the document process completes. So to achieve the business requirement I have used UpdateNow method of ‘AXD‘ document class. UpdateNow method gets class when the document process completed and it can be used to call custom business logic after the completed of document import/export e.g. validate the custom log of import process etc.

Here is the sample code which I have used

public void updateNow()
CAX_C7AccOrderStageHeader accountingOrderHeader;
accountingOrderHeader = axbc_AccOrderStageHeader.cAX_C7AccOrderStageHeader();




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s