2 Replies Latest reply on Mar 30, 2014 12:44 PM by Jon632

    Which activity in Order Entry Workflow that inserts records into RA_INTERFACE_LINES_ALL?



      I want to modify Line Flow - Generic, Bill Only with Inventory Interface by creating a function that inserts records into RA_INTERFACE_DISTRIBUTIONS_ALL. What I did was to insert a function between CLOSE - LINE and END and this are the results:

      1. It fires every line which has no adjustments (discount and promotion) defined so distribution record is written.

      2. It fires every main item which has promotion (buy one, get one) but does not fire on the promotion lines.

      3. It doesn't fire at all for lines which has discount.

      My question is, where should I insert my function to properly trap this event? It is definitely in one of the activities in Invoice Interface Line, Deferred and Close - Line.