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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

taPopEnterMatchInvToShpMultiLine error

(2) ShareShare
ReportReport
Posted on by 4
Hi Experts, 
 
I want to use econnect procedure (taPopEnterMatchInvToShpMultiLine) in my website. But i always get error 4881 (Receipt Line Number Already Exists when i pass ShipRCPTLNNM parameter and 4874 (Input variable contains an empty value) when i pass QTYINVCD parameter value is 0.
 
can i submit econnect procedure (taPopEnterMatchInvToShpMultiLine) first then taPopEnterMatchInvLine and taPopEnterMatchInvHdr ? because i'm trying to submit taPopEnterMatchInvToShpMultiLine first.
 
this is my parameter i pass:
 
$PARAMS[] = "@I_vPOPRCTNM = '" . $HEADER['POPRCTNM'] . "'";
$PARAMS[] = "@I_vPOPMtchShpRcpt = '" . $detail['POPMtchShpRcpt'] . "'";
$PARAMS[] = "@I_vPONUMBER = '" . $HEADER['PONUMBER'] . "'";
$PARAMS[] = "@I_vQTYINVCD = '" . (int)$detail['QTYINVCD'] . "'";
$PARAMS[] = "@I_vRevalue_Inventory = '" . $detail['Revalue_Inventory'] . "'";
$PARAMS[] = "@I_vITEMNMBR = '" . $HEADER['ITEMNMBR'] . "'";
$PARAMS[] = "@I_vShipRCPTLNNM = '" . $detail['RCPTLNNM'] . "'";
$PARAMS[] = "@I_vVENDORID = '" . $HEADER['VENDORID'] . "'";
$GET_ACTINDX = $this->pst->select('ACTNUMST')->WHERE('ACTINDX', $detail['ACTINDX'])->GET('GL00105')->ROW_ARRAY();
$PARAMS[] = "@I_vVarianceAccount = '" . $GET_ACTINDX['ACTNUMST'] . "'";
$PARAMS[] = "@O_iErrorState = @_iErrorState OUTPUT";
$PARAMS[] = "@oErrString = @_ErrString OUTPUT";
$QUERY = "DECLARE @_iErrorState int    
                    DECLARE @_ErrString varchar(255)
                    exec [dbo].[taPopEnterMatchInvToShpMultiLine] " . implode(',', $PARAMS) . ";
                    SELECT @_iErrorState as ERRSTATE, @_ErrString AS ERRSTRING;";
 
 
anyone have a solution ?
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 105

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 74 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans