Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

本文適用於 Microsoft 動態航行點的匈牙利文 (hu) 語言地區設定。

狀況

匈牙利文版本的 Microsoft 動態航行點 2009 R2 中,在分項增值稅陳述式報表,就所謂的 1365 M 有不正確的名稱,當您將資料匯出到文字檔案,請使用不正確的表單識別碼]。1365 是暫時的名稱只用於 2013年的年份。這個識別碼會變更每年。例如︰

  • 在 [2013,它可以是 1365年。

  • 在 [2014,它會是 1465年。

  • 在 [2015,它會是 1565年。

前兩個數字會增加每年。物件名稱也是不正確的。他們應該沒有編號命名為 < 分項增值稅聲明="">。

解決方案

已經可以從 Microsoft 取得支援的 hotfix。不過,它只被用來修正本文所述的問題。它只適用於發生此特定問題的系統上。此 hotfix 可能會接受其他測試。因此,如果此問題不會嚴重影響,我們建議您等候下一步的 Microsoft 動態航行點 2009 service pack 或包含此 hotfix 的下一個 Microsoft 動態航行點版本。

注意 在特殊的情況下,通常會支援呼叫可能已被取消如果技術支援專業人員的 Microsoft 動態及相關的產品所產生的費用會決定某特定更新程式可以解決您的問題。收取支援費用會套用,如果有其他支援問題是,不能限定的特定更新程式。

安裝資訊

Microsoft 會提供程式設計範例僅供說明,而不做任何明示或默示的保證。這包括,但不限於適售性或適合某特定用途之默示擔保責任。本文假設您已相當熟悉使用的我們所示範的程式設計語言以及建立和偵錯程序所使用的工具。Microsoft 技術支援工程師可以協助解釋特定程序的功能。不過,它們不會修改這些範例以提供附加功能或建構程序來滿足您特定需求。

注意套用此 hotfix 之前,請確認所有的 Microsoft 動態航行點用戶端使用者會登出系統。這包括 Microsoft 動態航行點應用程式伺服器 (NAS) 服務。您應該是唯一的用戶端使用者已登入,當您實作此 hotfix。

若要實作此 hotfix,您必須有開發人員授權。

我們建議您在 Windows 登入] 視窗中的色彩,或資料庫登入] 視窗中的使用者帳戶被指派 「 進階 」 的角色識別碼。如果使用者帳戶不能指派為 「 超級 」 的角色識別碼,您必須確認使用者帳戶具有下列權限︰

  • 您將會變更物件的 [修改] 權限。

  • 執行權限的系統物件 ID 5210物件和系統物件 ID 9015

    物件。

注意您沒有擁有資料存放區的權限,除非您需要執行資料修復。

程式碼變更

注意永遠測試程式碼修正在受控制的環境中才能套用到實際執行電腦的修正程式。

若要解決這個問題,請依照下列步驟執行:

  1. 變更欄位中的程式碼,以匯出/列印 1365 M 形式 (14550) 如下所示︰
    現有的程式碼

    ...// Delete the following line.
    OBJECT Form 14550 Export/Print 1365M

    ...

    取代程式碼

    ...// Add the following line.
    OBJECT Form 14550 Export/Print Item. VAT Stat.

    ...
  2. 變更表單 14550 內容中的程式碼如下所示︰
    現有的程式碼

    ...  }
    PROPERTIES
    {

    // Delete the following lines.
    Width=6270;
    Height=4510;
    CaptionML=[ENU=Export/Print VAT 1365M Statement;
    // End of the lines.

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    OnInit=BEGIN
    ThresholdAmount := 2000000;

    ...

    取代程式碼

    ...  }
    PROPERTIES
    {

    // Add the following lines.
    Width=5720;
    Height=2750;
    CaptionML=[ENU=Export/Print Item. VAT Stat.;
    // End of the lines.

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    OnInit=BEGIN
    ThresholdAmount := 2000000;

    ...
  3. 變更控制項的表單 14550 中的程式碼如下所示︰
    現有的程式碼 1

    ... }
    CONTROLS
    {

    // Delete the following line.
    { 1360006;MenuButton;3740 ;3520 ;2200 ;550 ;CaptionML=[ENU=&Functions;



    HUN=&Funkci�k];
    Menu=MENUITEMS
    {
    ...

    取代程式碼 1

    ... }
    CONTROLS
    {

    // Add the following lines.
    { 1360006;MenuButton;3300 ;1980 ;2200 ;550 ;HorzGlue=Right;
    VertGlue=Bottom;
    CaptionML=[ENU=&Functions;
    // End of the lines.

    HUN=&Funkci�k];Menu=MENUITEMS
    {
    ...

    現有的程式碼 2

    ... Visible=No }
    }
    }

    // Delete the following line.
    { 1360017;TextBox ;3960 ;440 ;2000 ;500 ;CaptionML=[ENU=Start Date;

    HUN=Kezd�si d tum];DateFormula=No;
    SourceExpr=StartDate;
    ...

    取代程式碼 2

    ... Visible=No }
    }
    }

    // Add the following line.
    { 1360017;TextBox ;3520 ;220 ;2000 ;440 ;CaptionML=[ENU=Start Date;

    HUN=Kezd�si d tum];DateFormula=No;
    SourceExpr=StartDate;
    ...

    現有的程式碼 3

    ... EndDate := CALCDATE('<-1D>',VATPeriod."Starting Date");
    END;
    }

    // Delete the following lines.
    { 1360018;Label ;660 ;440 ;3190 ;550 ;ParentControl=1360017 }
    { 1360020;Label ;660 ;1210 ;3190 ;550 ;ParentControl=1360021 }
    { 1360021;TextBox ;3960 ;1210 ;2000 ;500 ;CaptionML=[ENU=End Date;HUN=Z r� d tum]; SourceExpr=EndDate }
    { 1360000;Label ;660 ;2090 ;3190 ;550 ;ParentControl=1360001 }
    { 1360001;TextBox ;3960 ;2090 ;2000 ;500 ;CaptionML=[ENU=VAT Threshold Amount;
    // End of the lines.

    HUN=�fa k�sz�b�sszege];DateFormula=No;
    SourceExpr=ThresholdAmount }
    ...

    取代程式碼 3

    ... EndDate := CALCDATE('<-1D>',VATPeriod."Starting Date");
    END;
    }

    // Add the following lines.
    { 1360018;Label ;220 ;220 ;3190 ;440 ;ParentControl=1360017 }
    { 1360020;Label ;220 ;770 ;3190 ;440 ;ParentControl=1360021 }
    { 1360021;TextBox ;3520 ;770 ;2000 ;440 ;CaptionML=[ENU=End Date;HUN=Z r� d tum]; SourceExpr=EndDate }
    { 1360000;Label ;220 ;1320 ;3190 ;440 ;ParentControl=1360001 }
    { 1360001;TextBox ;3520 ;1320 ;2000 ;440 ;CaptionML=[ENU=VAT Threshold Amount;
    // End of the lines.

    HUN=�fa k�sz�b�sszege];DateFormula=No;
    SourceExpr=ThresholdAmount }
    ...
  4. 變更 1365年分項增值稅陳述式報表 (14522) 中的程式碼如下所示︰
    現有的程式碼

    ...// Delete the following line.
    OBJECT Report 14522 1365 Itemized VAT Statement

    HUN=�fa k�sz�b�sszege];
    DateFormula=No;
    SourceExpr=ThresholdAmount }

    ...

    取代程式碼

    ... EndDate := CALCDATE('<-1D>',VATPeriod."Starting Date");
    END;
    }

    // Add the following line.
    OBJECT Report 14522 Itemized VAT Statement

    HUN=�fa k�sz�b�sszege];
    DateFormula=No;
    SourceExpr=ThresholdAmount }


    ...
  5. 變更屬性報告 14522 中的程式碼如下所示︰
    現有的程式碼

    ...  }
    PROPERTIES
    {

    // Delete the following lines.
    CaptionML=[ENU=1365 Itemized VAT Statement;
    HUN=1365 ti?½teles fakimutat s];
    // End of the lines.

    PaperSize=A4 210 x 297 mm;
    }
    DATAITEMS


    ...

    取代程式碼

    ...  }
    PROPERTIES
    {
    // Add the following lines.
    CaptionML=[ENU=Itemized VAT Statement;
    HUN=Ti?½teles fakimutat s];
    // End of the lines.

    PaperSize=A4 210 x 297 mm;
    }
    DATAITEMS


    ...
  6. 變更表單 1365年匯出 codeunit (14550) 的Create1365MFile函式中的程式碼如下所示︰
    現有的程式碼

    ...      FullClientFilePath@1360008 : Text[1024];
    SummaryFileName@1360009 : Text[30];
    BEGIN

    // Delete the following lines.
    SetFolderLocation(FolderLocation,FileExtension);

    SummaryFileName := 'Result1365M.txt';
    // End of the lines.

    CREATE(FilesSysObj);
    SummaryTextStream := FilesSysObj.CreateTextFile(TEMPORARYPATH + SummaryFileName,TRUE,FALSE);

    ...

    取代程式碼

    ...      FullClientFilePath@1360008 : Text[1024];
    SummaryFileName@1360009 : Text[30];
    BEGIN

    // Add the following lines.
    SetFolderLocation(PeriodFrom,FolderLocation,FileExtension);

    SummaryFileName := 'Result' + GetFormID(PeriodFrom) + '.txt';
    // End of the lines.

    CREATE(FilesSysObj);
    SummaryTextStream := FilesSysObj.CreateTextFile(TEMPORARYPATH + SummaryFileName,TRUE,FALSE);

    ...
  7. 變更表單 1365年匯出 codeunit (14550) 的CreateAndDownloadFiles函式中的程式碼如下所示︰
    現有的程式碼 1

    ...                              ("Partner ID" <> PreviousTemp1365MBuffer."Partner ID");

    IF IsNewPartner AND Instantiated THEN BEGIN

    // Delete the following line.
    UpdateAndDownloadFile(SummaryTextStream,PreviousTemp1365MBuffer,FolderLocation,FileExtension);

    Instantiated := FALSE;
    END;
    ...

    取代程式碼 1

    ...                               ("Partner ID" <> PreviousTemp1365MBuffer."Partner ID");

    IF IsNewPartner AND Instantiated THEN BEGIN

    // Add the following line.
    UpdateAndDownloadFile(PeriodFrom,SummaryTextStream,PreviousTemp1365MBuffer,FolderLocation,FileExtension);

    Instantiated := FALSE;
    END;

    ...

    現有的程式碼 2

    ...
    IF IsForPrint THEN BEGIN
    IF NOT Instantiated THEN BEGIN

    // Delete the following line.
    TextStream := FilesSysObj.CreateTextFile(TEMPORARYPATH + '1365M.txt',TRUE,FALSE);

    WriteFileHeader(PeriodFrom,PeriodTo,Temp1365MBuffer);
    Instantiated := TRUE;
    END;

    ...

    取代程式碼 2

    ...
    IF IsForPrint THEN BEGIN
    IF NOT Instantiated THEN BEGIN

    // Add the following line.
    TextStream := FilesSysObj.CreateTextFile(TEMPORARYPATH + GetFormID(PeriodFrom) + '.txt',TRUE,FALSE);

    WriteFileHeader(PeriodFrom,PeriodTo,Temp1365MBuffer);
    Instantiated := TRUE;
    END;

    ...

    現有的程式碼 3

    ...            PreviousTemp1365MBuffer := Temp1365MBuffer;
    UNTIL NEXT = 0;
    IF Instantiated THEN

    // Delete the following line.
    UpdateAndDownloadFile(SummaryTextStream,PreviousTemp1365MBuffer,FolderLocation,FileExtension);

    END;
    END;
    END;

    ...

    取代程式碼 3

    ...            PreviousTemp1365MBuffer := Temp1365MBuffer;
    UNTIL NEXT = 0;
    IF Instantiated THEN

    // Add the following line.
    UpdateAndDownloadFile(PeriodFrom,SummaryTextStream,PreviousTemp1365MBuffer,FolderLocation,FileExtension);

    END;
    END;
    END;

    ...
  8. 變更表單 1365年匯出 codeunit (14550) 的WriteFileHeader函式中的程式碼如下所示︰
    現有的程式碼

    ...      InitVariables;
    CompanyInformation.GET;

    // Delete the following line.
    WriteText('$ny_azon=1365M');

    WriteText(PADSTR('$sorok_sz ma=',STRLEN('$sorok_sz ma=') + 10));
    WriteText('$d_lapok_sz ma=4');
    WriteText('$d_lap1=01-K,1');

    ...

    取代程式碼

    ...      InitVariables;
    CompanyInformation.GET;

    // Add the following line.
    WriteText('$ny_azon=' + GetFormID(PeriodFrom));

    WriteText(PADSTR('$sorok_sz ma=',STRLEN('$sorok_sz ma=') + 10));
    WriteText('$d_lapok_sz ma=4');
    WriteText('$d_lap1=01-K,1');

    ...
  9. 變更表單 1365年匯出 codeunit (14550) 的UpdateAndDownloadFile函式中的程式碼如下所示︰
    現有的程式碼 1

    ...      Count1365M02K += 1;
    END;

    // Delete the following line.
    PROCEDURE UpdateAndDownloadFile@1360041(VAR SummaryTextStream@1360004 : Automation "{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B} 1.0:{0BB02EC0-EF49-11CF-8940-00A0C9054228}:'Windows Script Host Object Model'.TextStream";PreviousTemp1365MBuffer@1360001 : Record 14550;FolderLocation@1360000 : Text[1024];FileExtension@1360002 : Text[32]);

    VAR
    FullClientFilePath@1360003 : Text[1024];
    ServerFileName@1360005 : Text[1024];

    ...

    取代程式碼 1

    ...      Count1365M02K += 1;
    END;

    // Add the following line.
    PROCEDURE UpdateAndDownloadFile@1360041(PeriodFrom@1360007 : Date;VAR SummaryTextStream@1360004 : Automation "{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B} 1.0:{0BB02EC0-EF49-11CF-8940-00A0C9054228}:'Windows Script Host Object Model'.TextStream";PreviousTemp1365MBuffer@1360001 : Record 14550;FolderLocation@1360000 : Text[1024];FileExtension@1360002 : Text[32]);

    VAR
    FullClientFilePath@1360003 : Text[1024];
    ServerFileName@1360005 : Text[1024];

    ...

    現有的程式碼 2

    ...    BEGIN
    Write1365M;
    TextStream.Close;

    // Delete the following line.
    ServerFileName := TEMPORARYPATH + '1365M.txt';

    UpdateCountLine(ServerFileName,CountLine);

    IF PreviousTemp1365MBuffer."VAT Registration No." <> '' THEN

    ...

    取代程式碼 2

    ...    BEGIN
    Write1365M;
    TextStream.Close;

    // Add the following line.
    ServerFileName := TEMPORARYPATH + GetFormID(PeriodFrom) + '.txt';

    UpdateCountLine(ServerFileName,CountLine);

    IF PreviousTemp1365MBuffer."VAT Registration No." <> '' THEN

    ...

    現有的程式碼 3

    ...        PartnerIdentification + '_' +
    FORMAT(TODAY,0,'<Year4,4><Month,2><Day,2>') + FileExtension;


    // Delete the following line.
    DownloadFile(TextStream,FullClientFilePath,'1365M.txt');

    SummaryTextStream.WriteLine(FullClientFilePath);
    END;

    ...

    取代程式碼 3

    ...        PartnerIdentification + '_' +
    FORMAT(TODAY,0,'<Year4,4><Month,2><Day,2>') + FileExtension;


    // Add the following line.
    DownloadFile(TextStream,FullClientFilePath,GetFormID(PeriodFrom) + '.txt');

    SummaryTextStream.WriteLine(FullClientFilePath);
    END;

    ...
  10. 變更表單 1365年匯出 codeunit (14550) 的SetFolderLocation函式中的程式碼如下所示︰
    現有的程式碼 1

    ...      CLEAR(NotItemizedPurchaseVATAmount);
    END;


    // Delete the following line.
    LOCAL PROCEDURE SetFolderLocation@1360019(VAR ClientFileName@1360001 : Text[1024];VAR FileExtension@1360002 : Text[32]);

    VAR
    CommonDialogManagement@1360003 : Codeunit 412;
    DefaultFileType@1360004 : ' ,Text,Excel,Word,Custom,Xml,Htm,Xsd,Xslt';

    ...

    取代程式碼 1

    ...      CLEAR(NotItemizedPurchaseVATAmount);
    END;


    // Add the following line.
    LOCAL PROCEDURE SetFolderLocation@1360019(PeriodFrom@1360000 : Date;VAR ClientFileName@1360001 : Text[1024];VAR FileExtension@1360002 : Text[32]);

    VAR
    CommonDialogManagement@1360003 : Codeunit 412;
    DefaultFileType@1360004 : ' ,Text,Excel,Word,Custom,Xml,Htm,Xsd,Xslt';

    ...

    現有的程式碼 2

    ...      Action@1360005 : 'Open,Save';
    BEGIN
    IF ClientFilePath <> '' THEN BEGIN

    // Delete the following line.
    ClientFileName := ClientFilePath + '\1365M';

    FileExtension := '.imp';
    END ELSE BEGIN
    ClientFileName := CommonDialogManagement.OpenFile('',ClientFileName,DefaultFileType::Custom,FileType,Action::Save);

    ...

    取代程式碼 2

    ...      Action@1360005 : 'Open,Save';
    BEGIN
    IF ClientFilePath <> '' THEN BEGIN

    // Add the following line.
    ClientFileName := ClientFilePath + '\' + GetFormID(PeriodFrom);

    FileExtension := '.imp';
    END ELSE BEGIN
    ClientFileName := CommonDialogManagement.OpenFile('',ClientFileName,DefaultFileType::Custom,FileType,Action::Save);

    ...
  11. 變更表單 1365年匯出 codeunit (14550) 的GetFormID函式中的程式碼如下所示︰
    現有的程式碼

    ...      EXIT(ROUND(Amount/1000,1));
    END;

    BEGIN
    END.
    }

    ...

    取代程式碼

    ...      EXIT(ROUND(Amount/1000,1));
    END;

    // Add the following lines.
    LOCAL PROCEDURE GetFormID@1360012(PeriodFrom@1360000 : Date) : Text[5];
    BEGIN
    EXIT(FORMAT(PeriodFrom,0,'<Year>') + '65M');
    END;
    // End of the lines.

    BEGIN
    END.
    }

    ...
  12. 變更匈牙利 MenuSuite (30) 中的屬性的程式碼如下所示︰
    現有的程式碼

    ...                                                                NextNodeID=[{00000000-0000-0000-0000-000000000000}] }
    { ;[{698579F1-8311-4B43-AA7F-DA71B371DAB4}] ;NextNodeID=[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] }
    { MenuItem ;[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] ;Name=Export/Print VAT 1365M Statement;

    // Delete the following line.
    CaptionML=[ENU=Export/Print VAT 1365M Stmt.;

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}];
    RunObjectType=Form;

    ...

    取代程式碼

    ...                                                                NextNodeID=[{00000000-0000-0000-0000-000000000000}] }
    { ;[{698579F1-8311-4B43-AA7F-DA71B371DAB4}] ;NextNodeID=[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] }
    { MenuItem ;[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] ;Name=Export/Print VAT 1365M Statement;

    // Add the following line.
    CaptionML=[ENU=Export/Print Item. VAT Stat.;

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}];
    RunObjectType=Form;

    ...
  13. 將 Dept – 匈牙利 MenuSuite (1030) 中的屬性的程式碼變更如下︰
    現有的程式碼

    ...                                                                DepartmentCategory=Reports and Analysis }
    { ;[{698579F1-8311-4B43-AA7F-DA71B371DAB4}] ;NextNodeID=[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] }
    { MenuItem ;[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] ;Name=Export/Print VAT 1365M Statement;

    // Delete the following line.
    CaptionML=[ENU=Export/Print VAT 1365M Stmt.;

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}];
    RunObjectType=Page;

    ...

    取代程式碼 2

    ...                                                                DepartmentCategory=Reports and Analysis }
    { ;[{698579F1-8311-4B43-AA7F-DA71B371DAB4}] ;NextNodeID=[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] }
    { MenuItem ;[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] ;Name=Export/Print VAT 1365M Statement;

    // Add the following line.
    CaptionML=[ENU=Export/Print Item. VAT Stat.;

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}];
    RunObjectType=Page;

    ...
  14. 變更匯出/列印 1365 M 頁 (14550) 中的程式碼如下所示︰
    現有的程式碼

    ...// Delete the following line.
    OBJECT Page 14550 Export/Print 1365M

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}];
    RunObjectType=Page;

    ...

    取代程式碼

    ...                                                                DepartmentCategory=Reports and Analysis }
    { ;[{698579F1-8311-4B43-AA7F-DA71B371DAB4}] ;NextNodeID=[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] }
    { MenuItem ;[{53D31DD1-62C5-45F8-AE69-D9716DFDAEFA}] ;Name=Export/Print VAT 1365M Statement;

    // Add the following line.
    OBJECT Page 14550 Export/Print Item. VAT Stat.

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}];
    RunObjectType=Page;

    ...
  15. 變更屬性匯出/列印 1365 M 頁 (14550) 中的程式的碼如下所示︰
    現有的程式碼 2

    ...  }
    PROPERTIES
    {

    // Delete the following line.
    CaptionML=[ENU=Export/Print VAT 1365M Statement;

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    PageType=Card;
    OnInit=BEGIN

    ...

    取代程式碼 2

    ...  }
    PROPERTIES
    {

    // Add the following line.
    CaptionML=[ENU=Export/Print Item. VAT Stat.;

    HUN=1365M fakimutat s export l sa/nyomtat sa];
    PageType=Card;
    OnInit=BEGIN

    ...

先決條件

您必須套用此 hotfix 之後所安裝的 Microsoft 動態航行點 2009 R2 的匈牙利文版本。

移除資訊

您無法移除此 hotfix。

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

注意這是直接從 Microsoft 支援組織內建立的「快速發行」文件。本文件所包含的現狀資訊是針對新興問題的回應。為縮短使其可用的時程,資料可能會包含印刷錯誤,且可能會隨時進行修改而不另行通知。如其他考量,請參閱 「使用規定」。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×