cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Saving GRN with reference to purchase order

Former Member
0 Kudos

when i am saving a GRN i am getting this error.

"Target item number does not match base item number

PDN1.LineNum].[line2 "

Edited by: Sana Samuel on Jun 3, 2008 9:42 AM

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

Hi,

looks like you linked the new document wrong to the base document.

the mistake should be here:

oDocument.Lines.BaseLineNum

regards

David

Former Member
0 Kudos

hi,

i have already attached BaseType ,BaseEntry and BaseLine

boAPInvoice.Lines.BaseType = System.Convert.ToInt16(dDsPCH1.GetValue("BaseType", i));

boAPInvoice.Lines.BaseEntry = System.Convert.ToInt16(dDsPCH1.GetValue("BaseEntry", i));

boAPInvoice.Lines.BaseLine = System.Convert.ToInt16(dDsPCH1.GetValue("BaseLine", i));

but still gets error

Former Member
0 Kudos

Hi Sana,

Just now i also faced this thing too but my situation is import from credit note tag with invoice.

So i found my sequence in invoice detail have to exactly sequence number with credit note then only work.

Otherwise, it won't work

Thank you.

Regards,

danny

Answers (0)