Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Integration Manager Terms help

Status
Not open for further replies.

jymm

Programmer
Apr 11, 2002
707
US
I just want to make sure I got things right

when you are running scripts in an integration I want to know what is triggered when and maybe an example of what some folks are using these for

'Before Integration' - ok, I get this one. Before anything runs it will run this code - got it
'Before Document' - so if I am putting in some batches of GL entries I assume this fires before each one?
'Before Document Commit' - this one baffles me - in the GL example is it before it hits the DB so there could be a DB rollback (sorry - SQL commit has one meaning to me & I can not get that out of my head) -or- is this before it moves on to the next 'batch' (in my example)
'Document Warning' - so maybe each time there is a warning about a batch being out of balance you could do something?
'After Document' - so after my part of a GL batch is out there it would fire this?
'Document Error' - maybe in an automated mode this could email me - got it
'After Integration' - again an email might be nice, but other uses?
'Integration Error' - ok I can only think of the email example.

So - I guess I would like someone to tell me when each would fire and maybe when you would use it --- I have seen references to 'Before Document Save' script, but I do not see that one anywhere - so help there would also be great

Thanks - Jim
 
Document warning and Document error I believe refer to the single transaction.

I have an integration that creates a SALES batch with many transactions (documents) in it.

A document might give me a warning or an error but the integration could still finish the batch up.

so:

'Before Integration' - Before the Integration runs
'Before Document' - Before creating the transaction for the batch
'Before Document Commit' - if not in a batch, before commiting the single document
'Document Warning' - if the transaction generates a warning (a typo or a validation error)
'After Document' - After the transaction has been created and commited
'Document Error' - if the single transaction gave an error
'After Integration' - After running the integration, if it didn't fail
'Integration Error' - if the Integration failed at any time

take it with a grain of salt ;)

Daren J. Lahey
Programmer Analyst
FAQ183-874 contains Suggestions for Getting Quick and Appropriate Answers to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top