Greek cancelations Beta 3 (for greek version only)
Arhontis
Member Posts: 667
I would like to inform the greek developers about a bug in cancelations beta 3 developed by MBS Hellas.
It is in the cu6620 Copy Document Mgt. where the NextLineNo gets its initial value:
// GR0001 begin line numbers should be copied from the original document in case of cancellation
That code is similar in the CopySalesDoc and CopyPurchDoc.
The functionality is used when you want to copy multiple documents into one, i.e. copy some return receipts to a Sales Order.
It is in the cu6620 Copy Document Mgt. where the NextLineNo gets its initial value:
// GR0001 begin line numbers should be copied from the original document in case of cancellation
IF CancelType > CancelType::" " THEN
IF ToSalesLine.FIND('+') THEN
ERROR(Text16703,ToSalesLine.FIELDCAPTION("Document Type"),ToSalesLine."Document Type",
ToSalesLine.FIELDCAPTION("Document No."),ToSalesLine."Document No.")
ELSE
// GR0001 end
IF ToSalesLine.FIND('+') THEN
NextLineNo := ToSalesLine."Line No."
ELSE
NextLineNo := 0;
It should be:
// GR0001 begin line numbers should be copied from the original document in case of cancellation
IF CancelType > CancelType::" " THEN BEGIN
IF ToSalesLine.FIND('+') THEN
ERROR(Text16703,ToSalesLine.FIELDCAPTION("Document Type"),ToSalesLine."Document Type",
ToSalesLine.FIELDCAPTION("Document No."),ToSalesLine."Document No.");
END
ELSE BEGIN
// GR0001 end
IF ToSalesLine.FIND('+') THEN
NextLineNo := ToSalesLine."Line No."
ELSE
NextLineNo := 0;
END;
because the ELSE (in the first case) is assigned to the second IF which is wrong. (I have added a few begin/end)That code is similar in the CopySalesDoc and CopyPurchDoc.
The functionality is used when you want to copy multiple documents into one, i.e. copy some return receipts to a Sales Order.
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions