Distinguishing Order Fulfilment Ledger Imports from other Ledger Imports

As described in What Is Ledger Import?, if you are referencing the previous line imported, it is essential to differentiate between Ledger Imports from Order Fulfilment and other Ledger Imports (for example, from an external file).

This is because the transaction lines from Order Fulfilment are usually sorted into a new sequence before they are imported, so referencing the previous line may yield unexpected results as it may not be related to the same Order Fulfilment movement, order or invoice. You can differentiate between the ledger import types, by using the Journal Header Creation Type data item (from the Function Data Hierarchy > Journal Header), as follows:

To check for Ledger Imports excluding Order Fulfilment imports, set up an event profile with the following lines:

If Function Code = Ledger Import If Creation Type = Ledger Import (selected from the drop-down list)

To check only for Ledger Imports from Order Fulfilment, set up an event profile with the following lines:

If Function Code = Ledger Import If Creation Type = Order Fulfilment (selected from the drop-down list)

You may need to add the If Call Point = command to these event profiles, as described in the sections above.

Alternatively, the Journal Header Creation Type data item can be examined in a rule set instead of the event profile.