cancel
Showing results for 
Search instead for 
Did you mean: 

LineNum when creating APInvoice

edy_simon
Active Contributor
0 Kudos

Hi all,

I just noticed that when creating an AP Invoice based on a PO, and then we add another line to this AP,

the LineNum in table PCH1 will skip.

I am currently using SBO2007 PL9.

Is it suppose to be like that ?

Step to reproduce (in UI):

1. Create a PO with 1 line.

2. Create an AP Invoice base on this PO.

3. Before posting this AP Invoice, add another line

4. Post the AP Invoice.

5. Query the database, we will have LineNum 0 and 2 instead of 0 and 1

Regards

Edy

Accepted Solutions (0)

Answers (2)

Answers (2)

edy_simon
Active Contributor
0 Kudos

Hi Petr,

Yes, you are right.

But that is the case when we delete the line.

In this case, we do not do anything on it. We just add line.

Aniway, you are right. LineNum is not that important.

Regards

Edy

Former Member
0 Kudos

Its same as when you have AP Invoice with 10 rows and delete row, there is space in linenum too. But I dont think that this is problem, because linenum is only informatic value, for object ( .lines.setcurrentline..) is important visorder and not linenum.