Skip to Content
author's profile photo Former Member
Former Member

Multiplication of Lines when joining BinTransactions to Batch-details


I am trying to make a Inventory Transaction report based on Batches with the corresponding Marketing Document.

Now I have the situation, where there is a delivery, that has two batches on it.

This creates two Batch-Transaction (OITL), that link to the same Transaction Details ITL1.

In the end I get four rows, which is wrong.

For clarification some screenshots:

The Delivery with its batches

OITL and ITL1 view: Here everything is still OK:

Joining B1_OinmWithBinTransfer. This returns 4 rows.

How do I join these Tables/Views to get the correct result? For most of the documents it works fine like that.

Thanks a lot for any help.

Regards, Lukas

pastedImage_1.png (126.2 kB)
pastedImage_3.png (39.0 kB)
pastedImage_4.png (63.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 18, 2015 at 08:49 AM


    you have two records because the item is managed by batches.

    Every stock operation creates a new row in ITL1 table.

    Kind regards

    Agustín Marcos Cividanes

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.