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

PVrec import and stored procedure

(0) ShareShare
ReportReport
Posted on by

Hello,

I have several questions on PVrec import. (Dynamics SL 2011)

1. When the PVrec record length to import is too long, "PVREC.exe" runs into error with the message "PVREC.exe has stopped working. Windows is checking for a solution to the problem..." Because of this, I have to shorten the field header name. Is this a designed behavior and no work around? (Pasted at the bottom, actual record that gives the error.)

2. What is the stored procedure that has the same name as PVID for? The code in the SP does not seem to affect the result even if I modify it or even delete the SP ifself. What is the purpose of having SP besides the SQL statement included in PVrec to import?

Thanks for your help!

--PVRec------------------------------------------

"ADG_LotSerMst_ProjLot","","","SELECT * FROM LotSerMst INNER JOIN LocTable l on l.SiteID=LotSerMst.SiteID and l.WhseLoc=LotSerMst.WhseLoc Left Join fc_vw_package v ON LotSerMst.InvtId=v.InvtId AND LotSerMst.LotSerNbr = v.LotSerNbr Left Join v_plot p ON LotSerMst.InvtiD=p.InvtId AND LotSerMst.SiteId=p.SiteID AND LotSerMst.WhseLoc=p.WhseLoc AND LotSerMst.LotSerNbr=p.LotSerNbr AND p.Projectid=@ProjectID AND p.TaskID=@TaskId WHERE LotSerMst.InvtID LIKE @InvtID AND LotSerMst.SiteID LIKE @SiteID AND l.SalesValid <> 'N' AND LotSerMst.LotSerNbr LIKE @LotSerNbr AND LotSerMst.LotSerNbr <> '*' AND LotSerMst.Status='A' AND (LotSerMst.QtyAvail + IsNull(p.qty,0)) > 0 ORDER BY LotSerMst.LotSerNbr","Lot/Serial Number","LotSerMst.LotSerNbr;LotSerNbr;0;0","fc_vw_package.User2;Package;0;0","LotSerMst.WhseLoc;Whse BinLoc;0;0","LotSerMst.QtyAvail;Qty Avail;0;0","v_plot.qty;Proj QtyAllocated;0;0","LotSerMst.QtyOnHand;Qty OnHand;0;0","LotSerMst.QtyAllocSO;SO L/S Alloc;0;0","LotSerMst.QtyAlloc;On OpenShippers;0;0","LotSerMst.QtyShipNotInv;Qty Shipped NotInvoiced;0;0","LotSerMst.ExpDate;ExpDate;0;0"

-------------------------------------------------------

*This post is locked for comments

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

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans