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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

eConnect IV Transfer with Lot Item

(0) ShareShare
ReportReport
Posted on by 18,306
Dear All,
  Using eConnect (taIVTransferMultiB inInsert_ ItemsTaIVTransfe rMultiBinInsert) for Multiple Bin transfer with Lot No.
 i am facing the error requested you to please see the attachment.
 
if my Item is not Lot Item its work fine but error occured if its Lot Item.
I don't understand where is the problem..!!!
 
FYI please find the code below .
************ ********* ********* ********* ********* ********* ******
taIVTransferLineIns ert_ItemsTaIVTra nsferLineInsert ItemTrf = new taIVTransferLineIns ert_ItemsTaIVTra nsferLineInsert();
taIVTransferMultiBi nInsert_ItemsTaI VTransferMultiBi nInsert ItemBinTrf = new taIVTransferMultiBi nInsert_ItemsTaI VTransferMultiBi nInsert() ;

ItemTrf.IVDOCNBR = "INV2001";
ItemTrf.ITEMNMBR = "LOTITM";
ItemTrf.TRXLOCTN = "WAREHOUSE";
ItemTrf.TRNSTLOC =  "01-N";
ItemTrf.TRXQTY = 2;
ItemTrf.InventoryAc countOffSet = "200-6510-00";  //
///
ItemBinTrf.BIN = "E01S3";
ItemBinTrf.QUANTITY = 2;
ItemBinTrf.TOBIN = "TEST";
ItemBinTrf.SERLTNUM = "M-LOT-001";
 
************ ********* ********* ********* ********* ******
 
Error :
Error Number = 5225  Stored Procedure taIVTransferMultiBi nInsert  Error Description = Serial/Lot number does not exists on the line sequence.
 
 
InnerException {"Error Number = 5212  Stored Procedure taIVTransferMultiBi nInsert  Error Description = Lot information for this item does not exist (IV10002)\r\ nError Number = 5225  Stored Procedure taIVTransferMultiBi nInsert  Error Description = Serial/Lot number does not exists on the line sequence specified\r\ n"} System.Exception {Microsoft.GreatPla ins.eConnect. eConnectExceptio n}
 
.
Lot No is exist for that Item and Lot is having enough Qty.
 
 


 Waiting for your favorable reply.
Thanking You.
Regards,
Sandip Jadhav
 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Sandip

    I searched our internal knowledge base and I cannot find any reference to error 5225 with eConnect. I think the best solution in this case would be to log a support call

  • Verified answer
    Galina Profile Picture
    1,077 on at

    Does it have something to do with the LNSEQNBR element, which is required if the item is on more than one line, according to eConnect reference?

  • Verified answer
    steveendow Profile Picture
    2,281 on at

    Hi Sandip,

    You noted two errors:

    taIVTransferMultiBinInsert error 5212:  As @Galina suggested, this may be occurring because the line sequence number is not being supplied.  Below is the validation that is causing that error.  I would recommend verifying the doc number, doc type, and line sequence for your transaction.

    select @countLot = count(*) from   IV10002 (nolock)

    where  IVDOCNBR = @I_vIVDOCNBR and IVDOCTYP = @IVDOCTYP and LNSEQNBR = @LNSEQNBR

    if ( @countLot = 0 )

    begin

      select @O_iErrorState = 5212

    taIVTransferMultiBinInsert error 5225:  This also appears to be related to the line sequence number.

    if ( not exists(select 1 from   IV10002 (nolock)

    where  IVDOCTYP = @IVDOCTYP

    and IVDOCNBR = @I_vIVDOCNBR and LNSEQNBR = @LNSEQNBR and SERLTNUM = @I_vSERLTNUM) )

    begin

       select @O_iErrorState = 5225

    Try generating and adding a line sequence value to your transaction lines and see if that resolves it.

  • sandipdjadhav Profile Picture
    18,306 on at

    All,

    Thanks much. This was long time back. I was missing LineItemSquence Number.

    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

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 GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans