web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

taPopRcptLineInsert with multiple items

(0) ShareShare
ReportReport
Posted on by 30

I am using taPopRcptLineInsert to build a receiving transaction.  If I insert one line item on a receipt it works fine.  When I try to add a second line to the same receipt I get an error; 8053 Input variable contains a duplicate document (POPRCTNM).  While the error seems to indicate that my problem is that the receipt number of the second is a duplicate of the first, doesn't it need to be if I want to add another line to the same receipt?

 

First Item:

<taPopRcptLineInsert>

<POPTYPE>1</POPTYPE>

<POPRCTNM>12345</POPRCTNM>

<PONUMBER>8070612</PONUMBER>

<ITEMNMBR>330-50AL</ITEMNMBR>

<VENDORID>9000001</VENDORID>

<RCPTLNNM>1</RCPTLNNM>

<VNDITNUM>LG60026LH</VNDITNUM>

<QTYSHPPD>1</QTYSHPPD>

<AUTOCOST>1</AUTOCOST>

</taPopRcptLineInsert>

 

Second Item:

<taPopRcptLineInsert>

<POPTYPE>1</POPTYPE>

<POPRCTNM>12345</POPRCTNM>

<PONUMBER>8070612</PONUMBER>

<ITEMNMBR>160-50ar</ITEMNMBR>

<VENDORID>9000001</VENDORID>

<RCPTLNNM>2</RCPTLNNM>

<VNDITNUM>LG20013EXN</VNDITNUM>

<QTYSHPPD>1</QTYSHPPD>

<AUTOCOST>1</AUTOCOST>

</taPopRcptLineInsert>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    sandipdjadhav Profile Picture
    18,319 on at

    Douglas,

    You need to pass POLineItemSQuence Number i.e. POLNENUM. In your PO every line item has LineItemNumber as you receive that PO with eConnect or Web Service you need to find what is PO Line Item SequenceNumber and prvoide to your TaPopRcptLineInsert node.

    This should resolve your problem. Let me know how it goes.

    Thanks

    Sandip

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans