적용 대상
Dynamics NAV 2009

증상

KB2705249를 설치한 후 일반 회계 원장 (GL) 설정 대화 상자에서 "빌으로 / 판매-에 VAT Calc." 값으로 "아니오 판매-구매-로부터" 사용 하면 구매 트랜잭션은 올바르게 처리 되지 않습니다. 이 문제를 해결 하려면 코드 변경 섹션의 단계를 따릅니다. 다음 제품에이 문제가 발생합니다.

  • Microsoft Dynamics 탐색 2009 R2

  • Microsoft Dynamics 탐색 2009 SP1

해결 방법

핫픽스 정보

지원 되는 핫픽스를 Microsoft에서 출시 되었습니다. 이 문서에 설명 되어 있는 문제를 해결 하기 위한 것일 뿐입니다. 이러한 특정 문제가 발생 한 시스템에만 적용 됩니다. 이 핫픽스는 추가 테스트가 필요할 수 있습니다. 따라서이 문제의 영향이 심각 하지 다음 Microsoft Dynamics 탐색 2009 서비스 팩 또는이 핫픽스가 포함 된 다음 Microsoft Dynamics 탐색 버전까지 기다리는 것이 좋습니다.참고: 특별 한 경우 일반적으로 호출 취소 될 수도 있습니다 경우 기술 지원 담당자는 Microsoft Dynamics 및 관련 된 제품에 대 한 지원에 따른 비용이 특정 업데이트로 문제를 해결할 수 있다고 결정 합니다. 추가 지원 질문과 특정 업데이트가 필요 하지 않은 문제에는 일반 지원 비용이 적용 됩니다.

설치 정보

Microsoft는 모든 보증, 그림에 대 한 묵시적인 보증. 이 포함 되지만 상품성 또는 특정 목적에의 적합성의 묵시적된 보증에 국한 되지는 않습니다. 이 문서는 작성 하 고 프로시저를 디버깅할 데 사용 되는 도구 및 여기서 설명 하는 프로그래밍 언어에 익숙한 가정 합니다. Microsoft 지원 엔지니어는 특정 프로시저의 기능을 설명할 수 있습니다. 그러나이 예제에서는 추가 기능을 제공 하거나 특정 요구 사항에 맞도록 프로시저를 구성 하려면 수정 하지 않습니다.참고: 이 핫픽스를 설치 하기 전에 모든 Microsoft Dynamics 탐색 클라이언트 사용자가 시스템 로그를 확인 하십시오. Microsoft Dynamics 탐색 응용 프로그램 서버 (NAS) 서비스가 포함 됩니다. 이 핫픽스를 구현할 때 로그온 되어 있는 사용자만 클라이언트 수 있습니다.이 핫픽스를 구현 하려면 개발자 라이센스가 있어야 합니다.것을 권장 합니다 Windows 로그인 창이 나 데이터베이스 로그인 창에서 사용자 계정 "SUPER" 역할 ID를 할당할 수 사용자 계정 "SUPER" 역할 ID를 할당할 수 없습니다, 사용자 계정에 다음 권한이 있는지 확인 해야 합니다.

  • 변경할 수 있는 개체에 대 한 수정 권한이 있습니다.

  • 시스템 개체 ID 9015 및 시스템 개체 ID 5210 개체에 대 한 실행 권한개체입니다.

참고: 데이터 복구를 수행 해야 할 경우가 아니면 데이터 저장소에 대 한 권한을 가질 필요가 없습니다.

코드 변경 사항

참고: 항상 테스트 코드 수정 제어 된 환경에 적용 하기 전에 프로덕션 컴퓨터에 수정 프로그램입니다.이 문제를 해결하려면 다음과 같이 하십시오.

  1. 판매 헤더 테이블 (36)에 있는 필드의 코드를 다음과 같이 변경.기존 코드 1

    ..."Bill-to Country/Region Code" := Cust."Country/Region Code";// Delete the following line."VAT Country/Region Code" := Cust."Country/Region Code";// End of the deleted line.IF NOT SkipBillToContact THEN...

    대체 코드 1

    ... "Bill-to Country/Region Code" := Cust."Country/Region Code"; IF NOT SkipBillToContact THEN...

    기존 코드 2

    ...// Delete the following line."Gen. Bus. Posting Group" := Cust."Gen. Bus. Posting Group";// End of the deleted line.GLSetup.GET;...

    대체 코드 2

    ...GLSetup.GET;...

    기존 코드 3

    ...GLSetup.GET;// Delete the following line.IF GLSetup."Bill-to/Sell-to VAT Calc." = GLSetup."Bill-to/Sell-to VAT Calc."::"Bill-to/Pay-to No." THEN// End of the deleted line."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";...

    대체 코드 3

    ...GLSetup.GET;// Add the following line.IF GLSetup."Bill-to/Sell-to VAT Calc." = GLSetup."Bill-to/Sell-to VAT Calc."::"Bill-to/Pay-to No." THEN BEGIN// End of the added line."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";...

    기존 코드 4

    ..."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";"Customer Posting Group" := Cust."Customer Posting Group";...

    대체 코드 4

    ..."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";// Add the following lines."VAT Country/Region Code" := Cust."Country/Region Code";"VAT Registration No." := Cust."VAT Registration No.";"Gen. Bus. Posting Group" := Cust."Gen. Bus. Posting Group";END;// End of the added lines."Customer Posting Group" := Cust."Customer Posting Group";...

    기존 코드 5

    ...Reserve := Cust.Reserve;// Delete the following line. "VAT Registration No." := Cust."VAT Registration No."; // End of the deleted line.IF "Document Type" = "Document Type"::Order THEN... 

    대체 코드 5

    ...Reserve := Cust.Reserve;IF "Document Type" = "Document Type"::Order THEN...
  2. (38) 구매 헤더 테이블의 필드 코드를 다음과 같이 변경.기존 코드 1

    ..."Pay-to County" := Vend.County;// Delete the following lines."Pay-to Country/Region Code" := Vend."Country/Region Code";"VAT Country/Region Code" := Vend."Country/Region Code";// End of the deleted lines.IF NOT SkipPayToContact THEN...

    대체 코드 1

    ..."Pay-to County" := Vend.County;IF NOT SkipPayToContact THEN...

    기존 코드 2

    ... "Vendor Posting Group" := Vend."Vendor Posting Group";// Delete the following line."Gen. Bus. Posting Group" := Vend."Gen. Bus. Posting Group";// End of the deleted line.GLSetup.GET;...

    대체 코드 2

    ..."Vendor Posting Group" := Vend."Vendor Posting Group";GLSetup.GET;...

    기존 코드 3

    ...GLSetup.GET;// Delete the following line.IF GLSetup."Bill-to/Sell-to VAT Calc." = GLSetup."Bill-to/Sell-to VAT Calc."::"Bill-to/Pay-to No." THEN// End of the deleted line."VAT Bus. Posting Group" := Vend."VAT Bus. Posting Group";...

    대체 코드 3

    ...GLSetup.GET;// Add the following line.IF GLSetup."Bill-to/Sell-to VAT Calc." = GLSetup."Bill-to/Sell-to VAT Calc."::"Bill-to/Pay-to No." THEN BEGIN// End of the added line."VAT Bus. Posting Group" := Vend."VAT Bus. Posting Group";...

    기존 코드 4

    ..."VAT Bus. Posting Group" := Vend."VAT Bus. Posting Group";"Prices Including VAT" := Vend."Prices Including VAT";...

    대체 코드 4

    ...   "VAT Bus. Posting Group" := Vend."VAT Bus. Posting Group";// Add the following lines."VAT Country/Region Code" := Vend."Country/Region Code";"VAT Registration No." := Vend."VAT Registration No.";"Gen. Bus. Posting Group" := Vend."Gen. Bus. Posting Group"; END;// End of the added lines."Prices Including VAT" := Vend."Prices Including VAT";...

    기존 코드 5

    ...VALIDATE("Currency Code");// Delete the following line."VAT Registration No." := Vend."VAT Registration No.";// End of the deleted line.IF "Document Type" = "Document Type"::Order THEN...

    대체 코드 5

    ...VALIDATE("Currency Code");IF "Document Type" = "Document Type"::Order THEN...
  3. 서비스 헤더 테이블 (5900)에서 필드 코드를 다음과 같이 변경.기존 코드 1

    ... "Bill-to County" := Cust.County;// Delete the following line."Bill-to Country/Region Code" := Cust."Country/Region Code";// End of the deleted line.IF NOT SkipBillToContact THEN...

    대체 코드 1

    ..."Bill-to County" := Cust.County;IF NOT SkipBillToContact THEN...

    기존 코드 2

    ... // Delete the following line."Gen. Bus. Posting Group" := Cust."Gen. Bus. Posting Group";// End of the deleted line. GLSetup.GET;...

    대체 코드 2

    ...GLSetup.GET;...

    기존 코드 3

    ...GLSetup.GET;// Delete the following line.IF GLSetup."Bill-to/Sell-to VAT Calc." = GLSetup."Bill-to/Sell-to VAT Calc."::"Bill-to/Pay-to No." THEN// End of the deleted line."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";...

    대체 코드 3

    ...GLSetup.GET;// Add the following line.IF GLSetup."Bill-to/Sell-to VAT Calc." = GLSetup."Bill-to/Sell-to VAT Calc."::"Bill-to/Pay-to No." THEN BEGIN// End of the added line."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";...

    기존 코드 4

    ..."VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";"Customer Posting Group" := Cust."Customer Posting Group";...

    대체 코드 4

    ... "VAT Bus. Posting Group" := Cust."VAT Bus. Posting Group";// Add the following lines."VAT Registration No." := Cust."VAT Registration No.";"VAT Country/Region Code" := Cust."Country/Region Code";"Gen. Bus. Posting Group" := Cust."Gen. Bus. Posting Group";END;// End of the added lines."Customer Posting Group" := Cust."Customer Posting Group";...

    기존 코드 5

    ... Reserve := Cust.Reserve;// Delete the following line."VAT Registration No." := Cust."VAT Registration No.";// End of the deleted line.ValidateServPriceGrOnServItem;...

    대체 코드 5

    ...Reserve := Cust.Reserve;ValidateServPriceGrOnServItem;...
  4. InsertVAT 에 Gen. Jnl. 함수의 코드를 변경-다음과 같이 게시 줄 Codeunit (12).

    기존 코드

    ...VATEntry."Bill-to/Pay-to No." := "Bill-to/Pay-to No.";// Delete the following lines.IF "Bill-to/Pay-to No." <> '' THENCASE VATEntry.Type OFVATEntry.Type::Purchase:BEGINIF Vend."No." <> "Bill-to/Pay-to No." THENVend.GET("Bill-to/Pay-to No.");VATEntry."Country/Region Code" := Vend."Country/Region Code";VATEntry."VAT Registration No." := Vend."VAT Registration No.";END;VATEntry.Type::Sale:BEGINIF Cust."No." <> "Bill-to/Pay-to No." THENCust.GET("Bill-to/Pay-to No.");VATEntry."Country/Region Code" := Cust."Country/Region Code";VATEntry."VAT Registration No." := Cust."VAT Registration No.";END;END;// End of the deleted lines....

    대체 코드

    ... VATEntry."Bill-to/Pay-to No." := "Bill-to/Pay-to No.";// Add the following lines.VATEntry."Country/Region Code" := "Country/Region Code";VATEntry."VAT Registration No." := "VAT Registration No.";// End of the added lines.... 
  5. CopyFields 에 Gen. Jnl. 함수의 코드를 변경-다음과 같이 게시물 일괄 Codeunit (13).기존 코드 1

    ... GenJnlLine7."Ship-to/Order Address Code" := GenJnlLine4."Ship-to/Order Address Code";                  GenJnlLine7.MODIFY;...

    대체 코드 1

    ...GenJnlLine7."Ship-to/Order Address Code" := GenJnlLine4."Ship-to/Order Address Code";// Add the following lines.GenJnlLine7."VAT Registration No." := GenJnlLine4."VAT Registration No.";GenJnlLine7."Country/Region Code" := GenJnlLine4."Country/Region Code";// End of the added lines.GenJnlLine7.MODIFY;...

    기존 코드 2

    ... GenJnlLine7."Ship-to/Order Address Code" := GenJnlLine4."Ship-to/Order Address Code";                  GenJnlLine7.MODIFY;...

    대체 코드 2

    ...GenJnlLine7."Ship-to/Order Address Code" := GenJnlLine4."Ship-to/Order Address Code";// Add the following lines.GenJnlLine7."VAT Registration No." := GenJnlLine4."VAT Registration No.";GenJnlLine7."Country/Region Code" := GenJnlLine4."Country/Region Code";// End of the added lines.GenJnlLine7.MODIFY;...

전제 조건

이 핫픽스를 적용 하려면 설치한 다음 제품 중 하나가 있어야 합니다.

  • Microsoft Dynamics 탐색 2009 R2

  • Microsoft Dynamics 탐색 2009 SP1

제거 정보

이 핫픽스를 제거할 수 없습니다.

상태

Microsoft는 이 문제가 '적용 대상' 섹션에 나열된 Microsoft 제품의 문제임을 확인했습니다.

참고: 이 문서는 Microsoft 지원 부서 내에서 직접 작성한 "빠른 게시" 문서입니다. 여기에 포함된 정보는 신흥 문제에 대한 응답으로 제공되었습니다. 신속히 사용할 수 있도록 작성되었으므로, 자료 입력 오류가 포함될 수 있으며 언제든지 예고없이 개정될 수 있습니다. 다른 고려 사항은 사용 약관을참조 하십시오.

도움이 더 필요하세요?

더 많은 옵션을 원하세요?

구독 혜택을 살펴보고, 교육 과정을 찾아보고, 디바이스를 보호하는 방법 등을 알아봅니다.