Logg på med Microsoft
Logg på, eller opprett en konto.
Hei,
Velg en annen konto.
Du har flere kontoer
Velg kontoen du vil logge på med.

Denne artikkelen gjelder for Microsoft Dynamics NAV for indiske (språk i).

Symptomer

I den indiske versjonen av Microsoft Dynamics NAV 2009 Service Pack 1 (SP1) er vises "mva %"-verdien feil i en salgsordrelinje, og i den bokførte salgsfakturalinjen. Forventet "Mva %"-verdien til å være i samsvar med Tax under minimumsverdien i oppsettet for mva-detaljer. Det samme problemet oppstår også hvis kjøpsdokumentene.

Oppløsning

Informasjon om hurtigreparasjon

En støttet hurtigreparasjon er nå tilgjengelig fra Microsoft. Det er imidlertid bare ment å løse problemet som er beskrevet i denne artikkelen. Bruk den bare på systemer som har dette bestemte problemet. Denne hurtigreparasjonen kan gjennomgå ytterligere testing. Hvis du ikke er alvorlig påvirket av dette problemet, anbefaler vi derfor at du venter på neste oppdateringspakke for Microsoft Dynamics NAV 2009 eller den neste versjonen av Microsoft Dynamics NAV som inneholder denne hurtigreparasjonen.

Obs! I spesielle tilfeller avgifter som vanligvis påløper for støtte samtaler kan avbrytes hvis en kundestøttemedarbeider for Microsoft Dynamics og beslektede produkter avgjør at en bestemt oppdatering løser problemet. Vanlige kundestøttekostnader gjelder for ytterligere kundestøttespørsmål og problemer som ikke dekkes av den gjeldende oppdateringen.



Installasjonsinformasjon

Microsoft bruker ment som eksempler, uten garanti, verken direkte eller indirekte. Dette inkluderer, men er ikke begrenset til, eventuelle stilltiende garantier om salgbarhet eller anvendelighet for særskilte formål. Denne artikkelen forutsetter at du er kjent med programmeringsspråket som anvendes, og verktøyene som brukes til å opprette og feilsøke prosedyrer. Microsofts kundestøtteteknikere kan hjelpe deg med å forklare funksjonaliteten til en bestemt prosedyre, men de endrer ikke disse eksemplene for å lage forbedret funksjonalitet eller lage prosedyrer som dekker dine spesifikke behov.

Obs! Før du installerer denne hurtigreparasjonen, må du kontrollere at alle brukere av Microsoft Navision-klienten er logget av systemet. Dette inkluderer Microsoft Navision Application tjenester (NAS) client-brukere. Du skal bare klient-brukeren som er logget på når du implementerer denne hurtigreparasjonen.

Hvis du vil implementere denne hurtigreparasjonen, må du ha en utviklerlisens.

Vi anbefaler at kontoen i vinduet Windows-pålogging eller i vinduet Database-pålogging være tildelt "SUPER" rolle-ID. Hvis brukerkontoen ikke kan tilordnes "SUPER" rolle-IDen, må du kontrollere at brukerkontoen har følgende tillatelser:

  • Endre-tillatelse for objektet du vil endre.

  • Tilgangsnivået for systemet objekt-IDen til 5210 objektet og systemet objekt-ID-9015 -objekt.



Obs! Du har ikke tilgangsrettigheter til datalagre med mindre du har til å utføre data reparasjon.

Kodeendringer

Obs! Alltid løser teste koden i et kontrollert miljø før du installerer hurtigreparasjoner til produksjonsdatamaskiner for.
Hvis du vil løse dette problemet, gjør du følgende:

  1. Endre koden i OnValidate utløseren i Beløp inkl. mva i Salgslinje -tabellen (37) som følger:
    Eksisterende kode

    ...                                                                      ELSE
    "Amount To Customer" :=
    ROUND("Line Amount" - "Inv. Discount Amount" + "Excise Amount" + "Charges To Customer" -
    "Bal. TDS/TCS Including SHECESS" + "Service Tax Amount" +"Service Tax eCess Amount" +
    "Service Tax SHE Cess Amount",Currency."Amount Rounding Precision");
    END;

    // Delete the following lines.
    //IF "Tax Base Amount" <> 0 THEN
    // "Tax %" := ROUND(100 * ("Amount Including Tax" - "Tax Base Amount") / "Tax Base Amount",Currency."Amount Rounding Precision")
    //ELSE
    // "Tax %" := 0;
    // End of the deleted lines.

    InitOutstandingAmount;
    END;
    ...

    Ny kode

    ...                                                                     ELSE
    "Amount To Customer" :=
    ROUND("Line Amount" - "Inv. Discount Amount" + "Excise Amount" + "Charges To Customer" -
    "Bal. TDS/TCS Including SHECESS" + "Service Tax Amount" +"Service Tax eCess Amount" +
    "Service Tax SHE Cess Amount",Currency."Amount Rounding Precision");
    END;

    // Add the following lines.
    IF "Tax Base Amount" = 0 THEN
    "Tax %" := 0;
    // End of the added lines.

    InitOutstandingAmount;
    END;
    ...
  2. Endre koden i funksjonen UpdateTaxAmounts i tabellen Salgslinje (37) som følger:
    Eksisterende kode 1

    ...     "Bal. TDS/TCS Including SHECESS" + "Service Tax Amount"  + "Service Tax eCess Amount" +
    "Service Tax SHE Cess Amount",Currency."Amount Rounding Precision")
    END;

    IndianSalesTaxCalculate.SetCurrency("Currency Code" <>'');

    // Delete the following lines.
    //LineTaxAmount := IndianSalesTaxCalculate.CalculateTax(
    // "Tax Area Code","Tax Group Code","Tax Liable",SalesHeader."Posting Date",
    // "Tax Base Amount",Quantity,SalesHeader."Currency Factor","Form Code");
    // End of the deleted lines.

    TotalTaxAmount := 0;
    TotalStdDeductionAmt := 0;
    ...

    Ny kode 1

    ...     "Bal. TDS/TCS Including SHECESS" + "Service Tax Amount"  + "Service Tax eCess Amount" +
    "Service Tax SHE Cess Amount",Currency."Amount Rounding Precision")
    END;

    IndianSalesTaxCalculate.SetCurrency("Currency Code" <>'');

    // Add the following lines.
    LineTaxAmount := IndianSalesTaxCalculate.CalculateTax(
    "Tax Area Code","Tax Group Code","Tax Liable",SalesHeader."Posting Date",
    "Tax Base Amount",Quantity,SalesHeader."Currency Factor","Form Code","Tax %");
    // End of the added lines.

    TotalTaxAmount := 0;
    TotalStdDeductionAmt := 0;
    ...

    Eksisterende kode 2

    ...      END ELSE
    IndianSalesTaxCalculate.GetStandardDeductionAmt(Rec,StandardDeductionAmount,LineTaxAmount);
    END
    END;
    "Amount Including Tax" := ROUND("Tax Base Amount" + LineTaxAmount,Currency."Amount Rounding Precision");

    // Delete the following lines.
    //IF "Tax Base Amount" <> 0 THEN
    // "Tax %" :=
    // ROUND(100 * ("Amount Including Tax" - "Tax Base Amount") / "Tax Base Amount",Currency."Amount Rounding Precision")
    //ELSE
    // "Tax %" := 0;
    // End of the deleted lines.

    IF "Standard Deduction %" <>0 THEN
    "Standard Deduction Amount" := ("Tax Base Amount" * "Standard Deduction %" / 100)
    ...

    Ny kode 2

    ...    END ELSE
    IndianSalesTaxCalculate.GetStandardDeductionAmt(Rec,StandardDeductionAmount,LineTaxAmount);
    END
    END;
    "Amount Including Tax" := ROUND("Tax Base Amount" + LineTaxAmount,Currency."Amount Rounding Precision");

    // Add the following lines.
    IF "Tax Base Amount" = 0 THEN
    "Tax %" := 0;
    // End of the added lines.

    IF "Standard Deduction %" <>0 THEN
    "Standard Deduction Amount" := ("Tax Base Amount" * "Standard Deduction %" / 100)
    ...
  3. Endre koden i OnValidate utløseren i Beløp inkl. mva i tabellen Bestillingslinje (39) som følger:
    Eksisterende kode

    ...       "Amount To Vendor" := ROUND("Line Amount" -"Inv. Discount Amount" + "Excise Amount" + "Tax Amount" -
    "Bal. TDS Including SHE CESS" + "Charges To Vendor" + "Service Tax Amount" +
    "Service Tax eCess Amount" + "Service Tax SHE Cess Amount");
    END;

    // Delete the following lines.
    //IF "Tax Base Amount" <> 0 THEN
    // "Tax %" := ROUND(100 * ("Amount Including Tax" - "Tax Base Amount") / "Tax Base Amount",
    // Currency."Amount Rounding Precision")
    //ELSE // Delete
    // "Tax %" := 0;
    // End of the deleted lines.

    InitOutstandingAmount;
    ...

    Ny kode

    ...       "Amount To Vendor" := ROUND("Line Amount" -"Inv. Discount Amount" + "Excise Amount" + "Tax Amount" -
    "Bal. TDS Including SHE CESS" + "Charges To Vendor" + "Service Tax Amount" +
    "Service Tax eCess Amount" + "Service Tax SHE Cess Amount");
    END;

    // Add the following lines.
    IF "Tax Base Amount" = 0 THEN // Add
    // End of the added lines.

    InitOutstandingAmount;
    ...
  4. Endre koden i funksjonen UpdateTaxAmounts i tabellen Bestillingslinje (39) som følger:
    Eksisterende kode 1

    ...     "Bal. TDS Including SHECESS" + "Service Tax Amount"  + "Service Tax eCess Amount" +
    "Service Tax SHE Cess Amount",Currency."Amount Rounding Precision")
    END;

    IndianSalesTaxCalculate.SetCurrency("Currency Code" <>'');

    // Delete the following lines.
    //LineTaxAmount := ROUND(IndianSalesTaxCalculate.CalculateTax(
    // "Tax Area Code","Tax Group Code","Tax Liable",PurchHeader."Posting Date",
    // "Tax Base Amount",Quantity,PurchHeader."Currency Factor","Form Code"),Currency."Amount Rounding Precision");
    // End of the deleted lines.

    AmountonInventory := 0;
    InputTaxCreditAmount := 0;
    ...

    Ny kode 1

    ...     "Bal. TDS Including SHECESS" + "Service Tax Amount"  + "Service Tax eCess Amount" +
    "Service Tax SHE Cess Amount",Currency."Amount Rounding Precision")
    END;

    IndianSalesTaxCalculate.SetCurrency("Currency Code" <>'');

    // Add the following lines.
    LineTaxAmount := ROUND(IndianSalesTaxCalculate.CalculateTax(
    "Tax Area Code","Tax Group Code","Tax Liable",PurchHeader."Posting Date",
    "Tax Base Amount",Quantity,PurchHeader."Currency Factor","Form Code","Tax %"),Currency."Amount Rounding Precision");
    // End of the added lines.

    AmountonInventory := 0;
    InputTaxCreditAmount := 0;
    ...

    Eksisterende kode 2

    ...  "Tax Amount" := ROUND(TaxAmount,Currency."Amount Rounding Precision");
    "Amount Including Tax" := ("Tax Base Amount" + "Tax Amount");

    // Delete the following lines.
    //IF "Tax Base Amount" <> 0 THEN
    // "Tax %" := ROUND(100 * ("Amount Including Tax" - "Tax Base Amount") / "Tax Base Amount",
    // Currency."Amount Rounding Precision")
    //ELSE
    // "Tax %" := 0;
    // End of the deleted lines.

    ServiceTaxSetup.RESET;
    ...

    Ny kode 2

    ...   "Tax Amount" := ROUND(TaxAmount,Currency."Amount Rounding Precision");
    "Amount Including Tax" := ("Tax Base Amount" + "Tax Amount");

    // Add the following lines.
    IF "Tax Base Amount" = 0 THEN
    "Tax %" := 0;
    // End of the added lines.

    ServiceTaxSetup.RESET;
    ...
  5. Endre koden i funksjonen i UpdateTaxAmount mva-åpning journaltabellen (16569) som følger:
    Eksisterende kode

    ...  IF "Transaction Type" = "Transaction Type"::Purchase THEN BEGIN

    // Delete the following lines.
    //LineTaxAmount := IndianSalesTaxCalculate.CalculateTax(
    // "Tax Area Code","Tax Group Code",TRUE,"Posting Date",
    // "Tax Base Amount",Quantity,0,'');
    // End of the deleted lines.

    IF LineTaxAmount <> 0 THEN
    IndianSalesTaxCalculate.GetVATOpeningInputTaxCredit(Rec,"Amount Loaded on Item",
    "Input Credit/Output Tax Amount",TRUE,TaxAmount);
    "Tax Amount" := TaxAmount;
    IF GLSetup."VAT Rounding Precision" <> 0 THEN
    "Tax Amount" := ROUND("Tax Amount",GLSetup."VAT Rounding Precision",Direction);

    // Delete the following lines.
    //IF "Tax Base Amount" <> 0 THEN
    // "Tax %" := 100 * (("Tax Base Amount" + "Tax Amount") - "Tax Base Amount") / "Tax Base Amount"
    //ELSE
    // "Tax %" := 0;
    // End of the deleted lines.

    END ELSE IF "Transaction Type" = "Transaction Type"::Sale THEN BEGIN
    IF ("Export or Deemed Export") THEN
    EXIT;

    // Delete the following lines.
    //LineTaxAmount := IndianSalesTaxCalculate.CalculateTax(
    // "Tax Area Code","Tax Group Code",TRUE,"Posting Date",
    // "Tax Base Amount",Quantity,0,'');
    // End of the deleted lines.

    IF LineTaxAmount <> 0 THEN
    IndianSalesTaxCalculate.GetVATOpeningSTD(Rec,StandardDeductionAmount,TaxAmount);
    "Tax Amount" := TaxAmount - StandardDeductionAmount;

    // Delete the following lines.
    //IF "Tax Base Amount" <> 0 THEN
    // "Tax %" := 100 * (("Tax Base Amount" + "Tax Amount") - "Tax Base Amount") / "Tax Base Amount"
    //ELSE
    // "Tax %" := 0;
    // End of the deleted lines.

    "Input Credit/Output Tax Amount" := "Tax Amount";
    "Amount Loaded on Item" := 0;
    END;
    ...

    Ny kode

    ...  IF "Transaction Type" = "Transaction Type"::Purchase THEN BEGIN

    // Add the following lines.
    LineTaxAmount := IndianSalesTaxCalculate.CalculateTax(
    "Tax Area Code","Tax Group Code",TRUE,"Posting Date",
    "Tax Base Amount",Quantity,0,'',"Tax %");
    // End of the added lines.

    IF LineTaxAmount <> 0 THEN
    IndianSalesTaxCalculate.GetVATOpeningInputTaxCredit(Rec,"Amount Loaded on Item",
    "Input Credit/Output Tax Amount",TRUE,TaxAmount);
    "Tax Amount" := TaxAmount;
    IF GLSetup."VAT Rounding Precision" <> 0 THEN
    "Tax Amount" := ROUND("Tax Amount",GLSetup."VAT Rounding Precision",Direction);

    // Add the following lines.
    IF "Tax Base Amount" = 0 THEN
    "Tax %" := 0;
    // End of the added lines.

    END ELSE IF "Transaction Type" = "Transaction Type"::Sale THEN BEGIN
    IF ("Export or Deemed Export") THEN
    EXIT;

    // Add the following lines.
    LineTaxAmount := IndianSalesTaxCalculate.CalculateTax(
    "Tax Area Code","Tax Group Code",TRUE,"Posting Date",
    "Tax Base Amount",Quantity,0,'',"Tax %");
    // End of the added lines.

    IF LineTaxAmount <> 0 THEN
    IndianSalesTaxCalculate.GetVATOpeningSTD(Rec,StandardDeductionAmount,TaxAmount);
    "Tax Amount" := TaxAmount - StandardDeductionAmount;

    // Add the following lines.
    IF "Tax Base Amount" = 0 THEN // Add
    "Tax %" := 0; // Add
    // End of the added lines.

    "Input Credit/Output Tax Amount" := "Tax Amount";
    "Amount Loaded on Item" := 0;
    END;
    ...
  6. Endre koden i Indiske merverdiavgift beregnes kodeenheten (13704) som følger:
    Eksisterende kode

    ...        Taxamount := TaxBaseAmount * TaxDetail."Tax Below Maximum" / 100;

    IF (TaxJurisdiction."Tax Type" = TaxJurisdiction."Tax Type"::VAT) OR
    (TaxJurisdiction."Tax Type" = TaxJurisdiction."Tax Type"::CST)
    ...

    Ny kode

    ...         Taxamount := TaxBaseAmount * TaxDetail."Tax Below Maximum" / 100;

    // Add the following line.
    TaxPercent := TaxDetail."Tax Below Maximum";
    // End of the added line.

    IF (TaxJurisdiction."Tax Type" = TaxJurisdiction."Tax Type"::VAT) OR
    (TaxJurisdiction."Tax Type" = TaxJurisdiction."Tax Type"::CST)
    ...

    7. Codeunit 13704 Indian Sales Tax Calculate
    Function CalculateTax
    Add the below Parameter
    VAR TaxPercent Type Decimal


Forutsetninger

Du må ha den indiske versjonen av Microsoft Dynamics NAV 2009 Service Pack 1 (SP1) installert for å bruke denne hurtigreparasjonen.

Informasjon om fjerning

Du kan ikke fjerne denne hurtigreparasjonen.

Status

Microsoft har bekreftet at dette er et problem i Microsoft-produktene som er oppført i delen "Gjelder for".

Referanser

VSTF DynamicsNAV SE: 252133

Obs! Dette er en "RASKT PUBLISERE" artikkel opprettet direkte fra innenfor organisasjonen Microsoft Kundestøtte. Informasjonen i dette dokumentet tilbys som-er som svar på nye problemer. Som et resultat av hastigheten i å gjøre den tilgjengelig materialene kan inkludere typografiske feil, og den kunne bli revidert når som helst uten varsel. Se Vilkårene for Bruk for andre hensyn.

Trenger du mer hjelp?

Vil du ha flere alternativer?

Utforsk abonnementsfordeler, bla gjennom opplæringskurs, finn ut hvordan du sikrer enheten og mer.

Fellesskap hjelper deg med å stille og svare på spørsmål, gi tilbakemelding og høre fra eksperter med stor kunnskap.

Var denne informasjonen nyttig?

Hvor fornøyd er du med språkkvaliteten?
Hva påvirket opplevelsen din?
Når du trykker på Send inn, blir tilbakemeldingen brukt til å forbedre Microsoft-produkter og -tjenester. IT-administratoren kan samle inn disse dataene. Personvernerklæring.

Takk for tilbakemeldingen!

×