מאמר זה חל על Microsoft Dynamics NAV עבור אזור השפה הגרמנית (de).
סימפטומים
שקול את התרחיש הבא בגירסה הגרמנית של Microsoft Dynamics NAV:
- הפוך את ההגדרה שקול הנחה לזמינה בכרטיס נזילות.
- ou run the Fill function on a liquidity journal for an invoice that has no discount included.
בתרחיש זה, תאריך נזילות שגוי מוצע ביומן הנזילות. תאריך הנזילות שווה לתאריך הפרסום של החשבונית במקום לתאריך היעד של החשבונית.
בעיה זו מתרחשת במוצרים הבאים:
- הגירסה הגרמנית של Microsoft Dynamics NAV 2009 R2
- הגירסה הגרמנית של Microsoft Dynamics NAV 2009 Service Pack 1 (SP1)
פתרון
מידע אודות תיקונים חמים
תיקון חם נתמך זמין כעת מ- Microsoft. עם זאת, הוא מיועד רק לתיקון הבעיה המתוארת במאמר זה. החל אותו רק על מערכות שנתקלות בבעיה ספציפית זו. תיקון חם זה עשוי לקבל בדיקות נוספות. לכן, אם אתה לא מושפע באופן חמור מבעיה זו, מומלץ להמתין ל- Service Pack הבא של Microsoft Dynamics NAV או לגירסת Microsoft Dynamics NAV הבאה המכילה תיקון חם זה.
הערה במקרים מיוחדים, חיובים שנצבורים בדרך כלל עבור שיחות תמיכה עשויים להבוטל אם מומחה תמיכה טכנית עבור Microsoft Dynamics ומוצרים קשורים קובע שעדכון ספציפי יפתור את הבעיה. עלויות התמיכה הרגילות יחולו על שאלות ובעיות תמיכה נוספות שלא עומדות בדרישות לעדכון הספציפי הרלוונטי.
מידע התקנה
Microsoft מספקת דוגמאות תיכנות לאיור בלבד, ללא אחריות, מפורשת או משתמעת. הדבר כולל, אך אינו מוגבל לאחריות המשתמעת של סוחר או התאמה למטרה מסוימת. מאמר זה מבוסס על ההנחה שאתה מכיר את שפת התיכנות המודגמת, עם הכלים המשמשים ליצירת הליכים ולאתר באגים. מהנדסי התמיכה של Microsoft יכולים לעזור להסביר את הפונקציונליות של הליך מסוים, אך הם לא ישנו דוגמאות אלה כדי לספק פונקציונליות נוספת או לבנות הליכים שיסייעו לך לעמוד בדרישות הספציפיות שלך.
הערה לפני התקנת תיקון חם זה, ודא כי כל משתמשי לקוח Microsoft Navision נרשם המערכת. הדבר כולל משתמשי לקוח של Microsoft Navision Application Services (NAS). עליך להיות משתמש הלקוח היחיד שנכנס בעת יישום תיקון חם זה.
כדי ליישם תיקון חם זה, דרוש לך רשיון מפתח.
אנו ממליצים להקצות לחשבון המשתמש בחלון כניסות Windows או בחלון כניסות מסד נתונים את מזהה התפקיד "SUPER". אם אין אפשרות להקצות לחשבון המשתמש את מזהה התפקיד "SUPER", עליך לוודא שלחשבון המשתמש יש את ההרשאות הבאות:
- ההרשאה Modify עבור האובייקט שאתה תשנה.
- ההרשאה Execute עבור אובייקט System Object ID 5210 ולאובייקט System Object ID 9015.
הערה אין צורך להחזיק בזכויות על מאגרי הנתונים אלא אם עליך לבצע תיקון נתונים.
שינויי קוד
הערה בדוק תמיד את תיקוני הקוד בסביבה מבוקרת לפני החלת התיקונים על מחשבי הייצור שלך.
כדי לפתור בעיה זו, בצע את הפעולות הבאות:
שנה את הקוד ב- Cust. Ledger Entry - גורם מפעיל OnAfterGetRecord בדוח יומן של מילוי נוזלים (5055250) באופן הבא:
קוד קיים... "Payment Discount" := "Cust. Ledger Entry"."Original Pmt. Disc. Possible"; Amount := "Cust. Ledger Entry"."Remaining Amt. (LCY)" - "Payment Discount"; "Amount (Currency)" := "Cust. Ledger Entry"."Remaining Amount" - "Cust. Ledger Entry"."Original Pmt. Disc. Possible"; // Delete the following line. IF "Cust. Ledger Entry"."Pmt. Discount Date" <> 0D THEN BEGIN "Liquidity Date" := "Cust. Ledger Entry"."Pmt. Discount Date"; IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := "Cust. Ledger Entry"."Pmt. Disc. Tolerance Date"; END; ...קוד חלופי
... "Payment Discount" := "Cust. Ledger Entry"."Original Pmt. Disc. Possible"; Amount := "Cust. Ledger Entry"."Remaining Amt. (LCY)" - "Payment Discount"; "Amount (Currency)" := "Cust. Ledger Entry"."Remaining Amount" - "Cust. Ledger Entry"."Original Pmt. Disc. Possible"; // Add the following line. IF ("Cust. Ledger Entry"."Pmt. Discount Date" <> 0D) AND ("Payment Discount" <> 0) THEN BEGIN "Liquidity Date" := "Cust. Ledger Entry"."Pmt. Discount Date"; IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := "Cust. Ledger Entry"."Pmt. Disc. Tolerance Date"; END; ...שנה את הקוד בהדק Vendor Ledger Entry - OnAfterGetRecord בדוח Fill Liquidity Journal (5055250) באופן הבא:
קוד קיים... "Payment Discount" := "Vendor Ledger Entry"."Original Pmt. Disc. Possible"; Amount := "Vendor Ledger Entry"."Remaining Amt. (LCY)" - "Payment Discount"; "Amount (Currency)" := "Vendor Ledger Entry"."Remaining Amount" - "Vendor Ledger Entry"."Original Pmt. Disc. Possible"; // Delete the following line. IF "Vendor Ledger Entry"."Pmt. Discount Date" <> 0D THEN BEGIN "Liquidity Date" := "Vendor Ledger Entry"."Pmt. Discount Date"; IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := "Vendor Ledger Entry"."Pmt. Disc. Tolerance Date"; END; ...קוד חלופי
... "Payment Discount" := "Vendor Ledger Entry"."Original Pmt. Disc. Possible"; Amount := "Vendor Ledger Entry"."Remaining Amt. (LCY)" - "Payment Discount"; "Amount (Currency)" := "Vendor Ledger Entry"."Remaining Amount" - "Vendor Ledger Entry"."Original Pmt. Disc. Possible"; // Add the following line. IF ("Vendor Ledger Entry"."Pmt. Discount Date" <> 0D) AND ("Payment Discount" <> 0) THEN BEGIN "Liquidity Date" := "Vendor Ledger Entry"."Pmt. Discount Date"; IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := "Vendor Ledger Entry"."Pmt. Disc. Tolerance Date"; END; ...שנה את הקוד בגורם המפעיל Purchase Line - OnAfterGetRecord בדוח Fill Liquidity Journal (5055250) באופן הבא:
קוד קיים... "Due Date" := PurchHeader."Due Date"; "Document No." := "Purchase Line"."Document No."; // Delete the following lines. IF (PurchHeader."Pmt. Discount Date" <> 0D) AND (Liquidity."Consider Discount") THEN BEGIN "Liquidity Date" := PurchHeader."Pmt. Discount Date"; // End of the lines. IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := CALCDATE(GLSetup."Payment Discount Grace Period","Liquidity Date"); END ELSE "Liquidity Date" := PurchHeader."Due Date"; ...קוד חלופי
... "Due Date" := PurchHeader."Due Date"; "Document No." := "Purchase Line"."Document No."; // Add the following lines. IF (PurchHeader."Pmt. Discount Date" <> 0D) AND (Liquidity."Consider Discount") AND (PurchHeader."Payment Discount %" <> 0) THEN BEGIN "Liquidity Date" := PurchHeader."Pmt. Discount Date"; // End of the lines. IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := CALCDATE(GLSetup."Payment Discount Grace Period","Liquidity Date"); END ELSE "Liquidity Date" := PurchHeader."Due Date"; ...שנה את הקוד בגורם המפעיל Sales Line - OnAfterGetRecord בדוח Fill Liquidity Journal (5055250) באופן הבא:
קוד קיים... "Due Date" := SalesHeader."Due Date"; "Document No." := "Sales Line"."Document No."; // Delete the following lines. IF (SalesHeader."Pmt. Discount Date" <> 0D) AND (Liquidity."Consider Discount") THEN BEGIN "Liquidity Date" := SalesHeader."Pmt. Discount Date"; // End of the lines. IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := CALCDATE(GLSetup."Payment Discount Grace Period","Liquidity Date"); END ELSE "Liquidity Date" := SalesHeader."Due Date"; ...קוד חלופי
... "Due Date" := SalesHeader."Due Date"; "Document No." := "Sales Line"."Document No."; // Add the following lines. IF (SalesHeader."Pmt. Discount Date" <> 0D) AND (Liquidity."Consider Discount") AND (SalesHeader."Payment Discount %" <> 0) THEN BEGIN "Liquidity Date" := SalesHeader."Pmt. Discount Date"; // End of the lines. IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := CALCDATE(GLSetup."Payment Discount Grace Period","Liquidity Date"); END ELSE "Liquidity Date" := SalesHeader."Due Date"; ...שנה את הקוד בגורם המפעיל Service Line - OnAfterGetRecord בדוח יומן נזילות מילוי (5055250) באופן הבא:
קוד קיים... Customer.GET(ServiceHeader."Bill-to Customer No."); IF Customer."Payment Terms Code" <> '' THEN BEGIN PaymentTerms.GET(Customer."Payment Terms Code"); // Delete the following line. IF Liquidity."Consider Discount" THEN BEGIN "Liquidity Date" := CALCDATE(PaymentTerms."Discount Date Calculation",ServiceHeader."Document Date"); IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := CALCDATE(GLSetup."Payment Discount Grace Period","Liquidity Date"); END ELSE ...קוד חלופי
... Customer.GET(ServiceHeader."Bill-to Customer No."); IF Customer."Payment Terms Code" <> '' THEN BEGIN PaymentTerms.GET(Customer."Payment Terms Code"); // Add the following line. IF Liquidity."Consider Discount" AND (ServiceHeader."Payment Discount %" <> 0) THEN BEGIN "Liquidity Date" := CALCDATE(PaymentTerms."Discount Date Calculation",ServiceHeader."Document Date"); IF Liquidity."Consider Pmt. Disc. Tol. Date" THEN "Liquidity Date" := CALCDATE(GLSetup."Payment Discount Grace Period","Liquidity Date"); END ELSE ...
דרישות מוקדמות
דרוש לך אחד המוצרים הבאים מותקנים כדי להחיל תיקון חם זה:
- הגירסה הגרמנית של Microsoft Dynamics NAV 2009 R2
- הגירסה הגרמנית של Microsoft Dynamics NAV 2009 Service Pack 1 (SP1)
מידע על הסרה
אין באפשרותך להסיר תיקון חם זה.
מצב
Microsoft אישרה שזוהי בעיה במוצרי Microsoft המפורטים בסעיף "חל על".
הערה זהו מאמר "FAST PUBLISH" שנוצר ישירות מתוך ארגון התמיכה של Microsoft. המידע הכלול ב- Herein מסופק כפי שהוא בתגובה לבעיות מתפתחות. כתוצאה מההפיכתה לזמינה, החומרים עשויים לכלול שגיאות טיפוגרפיות וייתכן שיתוקנו בכל עת ללא הודעה מוקדמת. ראה תנאי שימוש לקבלת שיקולים אחרים.