Microsoft Dynamics NAV'ın İspanyolca sürümünde 349 bildirimini oluşturduğunuzda sistem tüm indirimleri dikkate almaz

Uygulandığı Öğe
Dynamics NAV 2009 Dynamics NAV 2009 Service Pack 1 Microsoft Dynamics NAV 5.0 Service Pack 1

Bu makale, İspanyolca (es) dil yerel ayarı için Microsoft Dynamics NAV için geçerlidir.

Belirtiler

Microsoft Dynamics NAV'ın İspanyolca sürümünde faturada ödeme iskontosu ve satır iskontosu kullandığınızı varsayalım. 349 beyannamesini oluşturduğunuzda sistem tüm iskontoları dikkate almaz. Sistem, katma değer vergisi (KDV) matrah tutarı yerine satır tutarını dikkate alır.

Bu sorun aşağıdaki ürünlerde oluşur:

  • Microsoft Dynamics NAV 2009 Service Pack 1'in İspanyolca sürümü
  • Microsoft Dynamics NAV 2009'un İspanyolca sürümü
  • Microsoft Dynamics NAV 5.0 Service Pack 1'in İspanyolca sürümü

Çözüm

Düzeltme bilgileri

Artık Microsoft, desteklenen bir düzeltme sunmaktadır. Ancak, yalnızca bu makalede açıklanan sorunu düzeltmeye yöneliktir. Bunu yalnızca bu özel sorunun yaşandığı sistemlere uygulayın. Bu düzeltme için ek sınamalar gerekebilir. Bu nedenle, bu sorundan ciddi bir şekilde etkilenmiyorsanız, bir sonraki Microsoft Dynamics NAV 2009 hizmet paketini veya bu düzeltmeyi içeren bir sonraki Microsoft Dynamics NAV sürümünü beklemenizi öneririz.

Not Özel durumlarda, Microsoft Dynamics ve ilgili ürünler için bir Teknik Destek Uzmanı belirli bir güncelleştirmenin sorunu çözeceğini belirlerse, normalde destek aramaları için yapılan ücretler iptal edilebilir. Ek destek soruları ve söz konusu güncelleştirme için uygun olmayan sorunlara normal destek ücretleri uygulanır.

            
          

Yükleme bilgileri

Microsoft, programlama örneklerini yalnızca gösterim amacıyla sağlar; açık veya zımni hiçbir garanti vermez. Bu, satılabilirlik veya belirli bir amaca uygunluk ile ilgili zımni garantileri içerir, ancak bunlarla sınırlı değildir. Bu makale, gösterilen programlama diline ve prosedürler oluşturmak ve prosedürlerde hata ayıklamak için kullanılan araçlara aşina olduğunuzu varsaymaktadır. Microsoft destek mühendisleri, belirli bir yordamın işlevselliğinin açıklanmasına yardımcı olabilir, ancak gereksinimlerinizi karşılamaya yönelik ek işlevsellik sağlamak veya yordamlar geliştirmek amacıyla bu örnekleri değiştirmezler.

Not Bu düzeltmeyi yüklemeden önce, tüm Microsoft Navision istemcisi kullanıcılarının sistem oturumunu kapattığını doğrulayın. Bu, Microsoft Navision Application Services (NAS) istemci kullanıcılarını içerir. Bu düzeltmeyi uyguladığınızda oturum açan tek istemci kullanıcı siz olmalısınız.

Bu düzeltmeyi uygulamak için bir geliştirici lisansınız olmalıdır.

Windows Oturum Açma veya Veritabanı Oturum Açma penceresindeki kullanıcı hesabına "SUPER" rol kimliğinin atanmasını öneririz. Kullanıcı hesabına "SUPER" rol kimliği atanamıyorsa, kullanıcı hesabının aşağıdaki izinlere sahip olduğunu doğrulamanız gerekir:

  • Değiştireceğiniz nesnenin Değiştirme izni.
  • Sistem Nesne Kimliği 5210 nesnesi ve Sistem Nesne Kimliği 9015 nesnesi için Yürütme izni.

                
Not: Veri onarımı gerçekleştirmeniz gerekmediği sürece, veri depoları üzerinde haklarınız olması gerekmez.

Kod değişiklikleri

Not: Kod düzeltmelerini üretim bilgisayarlarınıza uygulamadan önce her zaman denetimli bir ortamda sınayın.
Bu sorunu gidermek için Make 349 Bildirim raporundaki (88) GetPostedCountryLocCode işlevindeki kodu aşağıdaki gibi değiştirin:

Mevcut kod 1

...
IF Location.GET(SalesInvLines."Location Code") THEN

EUCountryLinesLocationCode := FindEUCountryRegionCode(Location."Country/Region Code");

IF EUCountryLinesLocationCode THEN BEGIN

// Delete the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + SalesInvLines."Line Amount";

// End of the line.

IF GetCountryfromLocation(SalesInvLines."Location Code") <> CountryCode THEN

LocationDifferentCountryCode := TRUE;

END;
...

Değiştirme kodu 1

...
IF Location.GET(SalesInvLines."Location Code") THEN

EUCountryLinesLocationCode := FindEUCountryRegionCode(Location."Country/Region Code");

IF EUCountryLinesLocationCode THEN BEGIN

// Add the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + SalesInvLines."VAT Base Amount";

// End of the line.

IF GetCountryfromLocation(SalesInvLines."Location Code") <> CountryCode THEN

LocationDifferentCountryCode := TRUE;

END;...

Mevcut kod 2

...
END ELSE

IF CompInforShipToCountryCode THEN BEGIN

EUCountryLinesLocationCode := TRUE;

// Delete the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + SalesInvLines."Line Amount";

// End of the line.

END;

UNTIL SalesInvLines.NEXT = 0;

END;
...

Değiştirme kodu 2

...
END ELSE

IF CompInforShipToCountryCode THEN BEGIN

EUCountryLinesLocationCode := TRUE;

// Add the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + SalesInvLines."VAT Base Amount";

// End of the line.

END;

UNTIL SalesInvLines.NEXT = 0;

END;
...

Mevcut kod 3

...
IF Location.GET(ServiceInvLines."Location Code") THEN

EUCountryLinesLocationCode := FindEUCountryRegionCode(Location."Country/Region Code");

IF EUCountryLinesLocationCode THEN BEGIN

// Delete the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + ServiceInvLines."Line Amount";

// End of the line.

IF GetCountryfromLocation(ServiceInvLines."Location Code") <> CountryCode THEN

LocationDifferentCountryCode := TRUE;

END;
...

Değiştirme kodu 3

...
IF Location.GET(ServiceInvLines."Location Code") THEN

EUCountryLinesLocationCode := FindEUCountryRegionCode(Location."Country/Region Code");

IF EUCountryLinesLocationCode THEN BEGIN

// Add the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + ServiceInvLines."VAT Base Amount";

// End of the line.

IF GetCountryfromLocation(ServiceInvLines."Location Code") <> CountryCode THEN

LocationDifferentCountryCode := TRUE;

END;
...

Mevcut kod 4

...
END ELSE

IF CompInforShipToCountryCode THEN BEGIN

EUCountryLinesLocationCode := TRUE;

// Delete the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + ServiceInvLines."Line Amount";

// End of the line.

END;

UNTIL ServiceInvLines.NEXT = 0;

END;
...

Değiştirme kodu 4

...
END ELSE

IF CompInforShipToCountryCode THEN BEGIN

EUCountryLinesLocationCode := TRUE;

// Add the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + ServiceInvLines."VAT Base Amount";

// End of the line.

END;

UNTIL ServiceInvLines.NEXT = 0;

END;
...

Mevcut kod 5

...
IF Location.GET(PurchInvLines."Location Code") THEN

EUCountryLinesLocationCode := FindEUCountryRegionCode(Location."Country/Region Code");

IF EUCountryLinesLocationCode THEN BEGIN

// Delete the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + PurchInvLines."Line Amount";

// End of the line.

IF GetCountryfromLocation(PurchInvLines."Location Code") <> CountryCode THEN

LocationDifferentCountryCode := TRUE;

END;
...

Değiştirme kodu 5

...
IF Location.GET(PurchInvLines."Location Code") THEN

EUCountryLinesLocationCode := FindEUCountryRegionCode(Location."Country/Region Code");

IF EUCountryLinesLocationCode THEN BEGIN

// Add the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + PurchInvLines."VAT Base Amount";

// End of the line.

IF GetCountryfromLocation(PurchInvLines."Location Code") <> CountryCode THEN

LocationDifferentCountryCode := TRUE;

END;
...

Mevcut kod 6

...
END ELSE

IF CompInforShipToCountryCode THEN BEGIN

EUCountryLinesLocationCode := TRUE;

// Delete the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + PurchInvLines."Line Amount";

// End of the line.

END;

UNTIL PurchInvLines.NEXT = 0;

END;
...

Değiştirme kodu 6

...
END ELSE

IF CompInforShipToCountryCode THEN BEGIN

EUCountryLinesLocationCode := TRUE;

// Add the following line.

AmountToIncludeIn349 := AmountToIncludeIn349 + PurchInvLines."VAT Base Amount";

// End of the line.

END;

UNTIL PurchInvLines.NEXT = 0;

END;
...

Önkoşullar

Bu düzeltmeyi uygulamak için aşağıdaki ürünlerden birini yüklemiş olmanız gerekir:

  • Microsoft Dynamics NAV 2009 Service Pack 1'in İspanyolca sürümü
  • Microsoft Dynamics NAV 2009'un İspanyolca sürümü
  • Microsoft Dynamics NAV 5.0 Service Pack 1'in İspanyolca sürümü

              

Kaldırma bilgileri

Bu düzeltmeyi kaldıramazsınız.

Durum

Microsoft bunun, "Şunlar için geçerlidir" bölümünde listelenen Microsoft ürünlerinde sorun olduğunu doğrulamıştır.

Not: Bu, doğrudan Microsoft destek kuruluşu tarafından hazırlanmış bir "HIZLI YAYIMLAMA" makalesidir. Burada yer alan bilgiler acil sorunlar karşısında bu şekliyle verilir. Kullanıma sunma hızının bir sonucu olarak, materyaller yazım hataları içerebilir ve herhangi bir zamanda önceden haber verilmeksizin revize edilebilir. Göz önünde bulundurulması gereken diğer hususlar için Kullanım Koşulları'na bakın.