Bu makale Microsoft Dynamics NAV'a tüm ülkeler ve tüm dil yerel ayarları için geçerlidir.
Belirtiler
(Peşin değil) bir hizmet sözleşmesi oluşturma ve Microsoft Dynamics NAV 2009 deftere nakletmeden önce fatura değiştirdiğinizde servis defter girişleri ve genel muhasebe arasında tutarsız veri yok. Bu sorun aşağıdaki ürünlerde oluşur:
-
Microsoft Dynamics NAV 2009 R2
-
Microsoft Dynamics NAV 2009 Service Pack 1
Çözüm
Düzeltme bilgileri
Artık Microsoft tarafından desteklenen bir düzeltme sağlanmaktadır. Ancak bunun yalnızca bu makalede anlatılan sorunu düzeltmesi amaçlanmıştır. Yalnızca bu özel sorunla karşılaşmış olan sistemlere uygulayın. Bu düzeltme ek sınama uygulanabilir. Bu nedenle, bu sorundan ciddi bir şekilde etkilenmiyorsanız, Microsoft Dynamics NAV 2009 sonraki hizmet paketini veya, bu düzeltmeyi içeren bir sonraki Microsoft Dynamics NAV sürümü için beklemek öneririz.Not: Özel durumlarda, destek aramaları teknik destek uzmanı Microsoft Dynamics ve ilgili ürünlere yönelik iptal edilebilir çözeceğini giderleri belirleyen belirli bir güncelleştirmenin sorununuzu. Ek destek sorularına ve söz konusu güncelleştirme için geçerli olmayan sorunlara normal destek ücretleri uygulanır.
Yükleme bilgileri
Microsoft, programlama örneklerini yalnızca gösterim amacıyla zımni veya açık garanti olmadan sağlar. Bu, satılabilirlik veya belirli bir amaca uygunluk açısından zımni garantileri içerir ancak bunlarla sınırlı değildir. Bu makale, gösterilen programlama dilini, yordamları oluşturmak ve yordamlardan hata ayıklamak için kullanılan araçları bildiğinizi varsayar. Microsoft destek mühendisleri belirli bir yordamın işlevselliğinin açıklanmasına yardımcı olabilir. Ancak, işlevsellik sağlamak veya yordamlar, belirli gereksinimlerinizi karşılayacak şekilde geliştirmek amacıyla bu örnekleri değiştirmezler.Not: Bu düzeltmeyi yüklemeden önce tüm Microsoft Navision istemcisi kullanıcılar sistem oturum doğrulayın. Bu, Microsoft Navision uygulama Hizmetleri (NAS) istemci kullanıcıları içerir. Bu düzeltmeyi uyguladığınızda yalnızca istemci kullanıcının oturum açmış olması gerekir.Bu düzeltmeyi uygulamak için bir geliştirici lisansı olması gerekir.Kullanıcı hesabının Windows oturumu açma penceresini veya veritabanı oturumu açma penceresi "Süper" rol kimliği atanması öneririz Kullanıcı hesabı "Süper" rol Kimliği atanamaz, kullanıcı hesabı aşağıdaki izinlere sahip olduğunu doğrulamanız gerekir:
-
Nesnenin, değiştirme değişiklik yapma izni.
-
Execute izni Sistem nesne kimliği 5210 nesnenin ve nesne kimliği 9015 sistem nesnesi için.
Not: Veri onarım gerçekleştirmek zorunda sürece veri depoları haklarına sahip olmanız gerekmez.
Kod değişiklikleri
Not: Her zaman, uygulamadan önce test kodu denetimli bir ortamda üretim bilgisayarlarınıza düzeltmeler giderir.Bu sorunu gidermek için şu adımları izleyin:
-
Belge boyutu tablosundaki (357) kodu aşağıdaki gibi değiştirin:Varolan kodu 1
... Text005@1009 : TextConst 'ENU=Canceled.'; Text006@1010 : TextConst 'ENU=You may have changed a dimension. Some lines are already shipped. When you post the line with the changed dimension to the general ledger, amounts on the Inventory Interim account will be out of balance when reported per dimension.\\Do you want to update the lines?'; PROCEDURE UpdateGlobalDimCode@25(GlobalDimCodeNo@1000 : Integer;"Table ID"@1001 : Integer;"Document Type"@1002 : Option;"Document No."@1003 : Code[20];"Line No."@1004 : Integer;NewDimValue@1005 : Code[20]);...
Değiştirme kodu 1
... Text005@1009 : TextConst 'ENU=Canceled.'; Text006@1010 : TextConst 'ENU=You may have changed a dimension. Some lines are already shipped. When you post the line with the changed dimension to the general ledger, amounts on the Inventory Interim account will be out of balance when reported per dimension.\\Do you want to update the lines?'; Text007@1011 : TextConst 'ENU=You cannot change the dimension because the document is based on a service contract.'; PROCEDURE UpdateGlobalDimCode@25(GlobalDimCodeNo@1000 : Integer;"Table ID"@1001 : Integer;"Document Type"@1002 : Option;"Document No."@1003 : Code[20];"Line No."@1004 : Integer;NewDimValue@1005 : Code[20]);...
Varolan kodu 2
... PROCEDURE VerifyLineDim@5(VAR DocDim@1000 : Record 357); VAR SalesLine@1001 : Record 37; PurchaseLine@1002 : Record 39; BEGIN CASE "Table ID" OF DATABASE::"Sales Line": BEGIN IF SalesLine.GET(DocDim."Document Type",DocDim."Document No.",DocDim."Line No.") THEN IF (SalesLine."Qty. Shipped Not Invoiced" <> 0) OR (SalesLine."Return Rcd. Not Invd." <> 0) THEN IF NOT CONFIRM(Text004,TRUE,SalesLine.TABLECAPTION) THEN ERROR(Text005) END; DATABASE::"Purchase Line": BEGIN IF PurchaseLine.GET(DocDim."Document Type",DocDim."Document No.",DocDim."Line No.") THEN IF (PurchaseLine."Qty. Rcd. Not Invoiced" <> 0) OR (PurchaseLine."Return Qty. Shipped Not Invd." <> 0) THEN IF NOT CONFIRM(Text004,TRUE,PurchaseLine.TABLECAPTION) THEN ERROR(Text005) END; END; END;...
Değiştirme kodu 2
... PROCEDURE VerifyLineDim@5(VAR DocDim@1000 : Record 357); VAR SalesLine@1001 : Record 37; PurchaseLine@1002 : Record 39; ServiceHeader@1003 : Record 5900; ServiceLine@1004 : Record 5902; BEGIN CASE "Table ID" OF DATABASE::"Sales Line": BEGIN IF SalesLine.GET(DocDim."Document Type",DocDim."Document No.",DocDim."Line No.") THEN IF (SalesLine."Qty. Shipped Not Invoiced" <> 0) OR (SalesLine."Return Rcd. Not Invd." <> 0) THEN IF NOT CONFIRM(Text004,TRUE,SalesLine.TABLECAPTION) THEN ERROR(Text005) END; DATABASE::"Purchase Line": BEGIN IF PurchaseLine.GET(DocDim."Document Type",DocDim."Document No.",DocDim."Line No.") THEN IF (PurchaseLine."Qty. Rcd. Not Invoiced" <> 0) OR (PurchaseLine."Return Qty. Shipped Not Invd." <> 0) THEN IF NOT CONFIRM(Text004,TRUE,PurchaseLine.TABLECAPTION) THEN ERROR(Text005) END; DATABASE::"Service Header": IF ServiceHeader.GET(DocDim."Document Type",DocDim."Document No.") AND (ServiceHeader."Contract No." <> '') THEN ERROR(Text007); DATABASE::"Service Line": IF ServiceLine.GET(DocDim."Document Type",DocDim."Document No.",DocDim."Line No.") THEN IF (ServiceLine."Contract No." <> '') THEN ERROR(Text007); END; END;...
-
Servis Satırı tablosundaki (5902) kodu aşağıdaki gibi değiştirin:Varolan kodu 1
... IF (Quantity <> 0) AND ItemExists(xRec."No.") AND (("Spare Part Action" = "Spare Part Action"::"Component Replaced") OR ("Spare Part Action" = "Spare Part Action"::"Component Installed") OR ("Spare Part Action" = "Spare Part Action"::" ")) THEN ReserveServLine.VerifyChange(Rec,xRec); END; OnDelete=VAR...
Değiştirme kodu 1
... IF (Quantity <> 0) AND ItemExists(xRec."No.") AND (("Spare Part Action" = "Spare Part Action"::"Component Replaced") OR ("Spare Part Action" = "Spare Part Action"::"Component Installed") OR ("Spare Part Action" = "Spare Part Action"::" ")) THEN ReserveServLine.VerifyChange(Rec,xRec); IF "Document Type" = ServiceLine."Document Type"::Invoice THEN IF ("Appl.-to Service Entry" <> 0) AND ("Contract No." <> '') THEN ERROR(Text046); END; OnDelete=VAR...
Varolan kodu 2
... { 5 ; ;Type ;Option ;OnValidate=BEGIN GetServHeader; TESTFIELD("Qty. Shipped Not Invoiced",0);...Değiştirme kodu 2
... { 5 ; ;Type ;Option ;OnValidate=BEGIN IF ("Appl.-to Service Entry" <> 0) AND ("Contract No." <> '') THEN ERROR(Text046); GetServHeader;...Varolan kodu 3
... { 6 ; ;No. ;Code20 ;TableRelation=IF (Type=CONST(" ")) "Standard Text" ELSE IF (Type=CONST(G/L Account)) "G/L Account" ELSE IF (Type=CONST(Item)) Item ELSE IF (Type=CONST(Resource)) Resource ELSE IF (Type=CONST(Cost)) "Service Cost"; OnValidate=VAR ShowLocMessage@1000 : Boolean; BEGIN TESTFIELD("Qty. Shipped Not Invoiced",0);...Değiştirme kodu 3
... { 6 ; ;No. ;Code20 ;TableRelation=IF (Type=CONST(" ")) "Standard Text" ELSE IF (Type=CONST(G/L Account)) "G/L Account" ELSE IF (Type=CONST(Item)) Item ELSE IF (Type=CONST(Resource)) Resource ELSE IF (Type=CONST(Cost)) "Service Cost"; OnValidate=VAR ShowLocMessage@1000 : Boolean; BEGIN IF ("Appl.-to Service Entry" <> 0) AND ("Contract No." <> '') THEN ERROR(Text046); TESTFIELD("Qty. Shipped Not Invoiced",0);...Varolan kodu 4
... { 22 ; ;Unit Price ;Decimal ;OnValidate=BEGIN GetServHeader; IF ("Unit Price" > ServHeader."Max. Labor Unit Price") AND...Değiştirme kodu 4
... { 22 ; ;Unit Price ;Decimal ;OnValidate=BEGIN GetServHeader; IF ("Appl.-to Service Entry" > 0) AND (CurrFieldNo <> 0) THEN ERROR(Text046,FIELDCAPTION("Unit Price")); IF ("Unit Price" > ServHeader."Max. Labor Unit Price") AND...Varolan kodu 5
... Text043@1097 : TextConst 'ENU=You cannot change the value of the %1 field manually if %2 for this line is %3'; Text044@1012 : TextConst 'ENU=Do you want to split the resource line and use it to create resource lines\for the other service items with divided amounts?'; Text045@1099 : TextConst 'ENU=You cannot delete this service line because one or more service entries exist for this line.';...
Değiştirme kodu 5
... Text043@1097 : TextConst 'ENU=You cannot change the value of the %1 field manually if %2 for this line is %3'; Text044@1012 : TextConst 'ENU=Do you want to split the resource line and use it to create resource lines\for the other service items with divided amounts?'; Text045@1099 : TextConst 'ENU=You cannot delete this service line because one or more service entries exist for this line.'; Text046@1100 : TextConst 'ENU=You cannot modify the document because it is based on a service contract.';...
Önkoşullar
Bu düzeltmeyi uygulamak için aşağıdaki ürünlerden birine sahip olmalıdır:
-
Microsoft Dynamics NAV 2009 R2
-
Microsoft Dynamics NAV 2009 Service Pack 1
Kaldırma bilgileri
Bu düzeltmeyi kaldıramazsınız.
Durum
Microsoft bu sorunun "Aşağıdakilere Uygulanır" bölümünde listelenen Microsoft ürünlerinde bulunduğunu onaylamıştır.
Not: Bu, doğrudan Microsoft destek kuruluşu bünyesinde oluşturulan bir "HIZLI YAYIN" makalesidir. Burada yer alan bilgiler, oluşan sorunlara yanıt olarak olduğu gibi sağlanmıştır. Makale hızla kullanıma sunulduğu için materyallerde yazım hataları olabilir ve materyaller bildirilmeksizin herhangi bir zamanda revize edilebilir. Diğer konular için bkz. Kullanım koşulları.