On the Put Away Worksheet When I attempt to change the Name it Presents this error..
When I look at the debugger it triggers at this point.
The current "Worksheet Template Name" = 'PUT-AWAY'..
Any ideas on what's caused this would be great thanks!
*This post is locked for comments
I've found this code someone has entered. It seems to be resetting the Filters on the page, which im assuming will cause this error as it only occurs when the button which this code is behind is entered. How culd I rectify this? I need the function of it to remain but resolve the filter issue..
// TIO000008 : BEGIN
recPostedWhseReceiptLine.RESET;
recPostedWhseReceiptLine.SETFILTER("Item Cat Code", '=%1','S');
recPostedWhseReceiptLine.SETRANGE("QA Inspection In", TRUE);
IF recPostedWhseReceiptLine.FINDSET THEN REPEAT
Rec.SETRANGE("Whse. Document No.", recPostedWhseReceiptLine."No.");
IF Rec.FINDLAST THEN
Rec.DELETE;
UNTIL recPostedWhseReceiptLine.NEXT = 0;
RESET;
"Worksheet Template Name" := "Worksheet Template Name";
Name := Name;
"Location Code" := "Location Code";
CurrentWkshTemplateName := "Worksheet Template Name";
CurrentWkshName := Name;
CurrentLocationCode := "Location Code";
// TIO000008 : END
CheckQuarantineWorksheet(goptWorksheetType::SMT, TRUE); // TIO000007 TIO000003
TiogaLotMngt.CreateSMTPutAway(
CurrentWkshTemplateName,CurrentWkshName,CurrentLocationCode);
SortWhseWkshLines(
CurrentWkshTemplateName,CurrentWkshName,
CurrentLocationCode,CurrentSortingMethod);
this function is called from?
can you show us the call stack also in debugger.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156