Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

QTYFULFI amount > 0 can not be passed in when using QtyShrtOpt other then 2 and a shortage is encountered

Posted on by Microsoft Employee

How to resove this "QTYFULFI amount > 0 can not be passed in when using QtyShrtOpt other then 2 and a shortage is encountered"

Actually i have an item inventory is 5. But i ordered for 8 quantity.while passed same data through econnect i'm getting above exception and order is not creating in GP.

I passed code for QTY fulfilment as follows.

availableQty=5
lineItems[i].QTYFULFI = availableQty; 
lineItems[i].QTYFULFISpecified = true;

Please help me

*This post is locked for comments

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: QTYFULFI amount > 0 can not be passed in when using QtyShrtOpt other then 2 and a shortage is encountered

    On the company database, after eConnect is installed, you should find it in the eConnect stored procs. 

    Tim.

    2018_2D00_02_2D00_27_5F00_16_2D00_41_2D00_19.jpg

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: QTYFULFI amount > 0 can not be passed in when using QtyShrtOpt other then 2 and a shortage is encountered

    Hi Tim ,

    taSopLineIvcInsertPost  doesn't exist.

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: QTYFULFI amount > 0 can not be passed in when using QtyShrtOpt other then 2 and a shortage is encountered

    Nothing you can do about it other than running another process to update it once inserted.

    This is a hard restriction in the eConnect code.

    You could use the taSopLineIvcInsertPost to update it as you require.

    Tim

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans