Se connecter avec Microsoft
S'identifier ou créer un compte.
Bonjour,
Sélectionnez un autre compte.
Vous avez plusieurs comptes
Choisissez le compte avec lequel vous voulez vous connecter.

Cet article s’applique à Microsoft Dynamics NAV pour le paramètres régionaux anglais (en-gb).

Symptômes

Lorsque l’expédition est facturée partiellement dans la version anglais (Royaume-Uni) de Microsoft Dynamics NAV 2009, l’état du Stock livré non facturé affiche les totaux incorrects.

Ce problème se produit dans les produits suivants :

  • La version anglais (Royaume-Uni) de Microsoft Dynamics NAV 2009 Service Pack 1

  • La version anglais (Royaume-Uni) de Microsoft Dynamics NAV 2009 R2


Résolution

Informations sur le correctif

Un correctif pris en charge est désormais disponible auprès de Microsoft. Toutefois, il est conçu uniquement pour corriger le problème décrit dans cet article. Il s’applique uniquement aux systèmes rencontrant ce problème spécifique. Ce correctif peut subir des tests supplémentaires. Par conséquent, si vous n’êtes pas sérieusement concerné par ce problème, nous vous recommandons d’attendre le prochain service pack Microsoft Dynamics NAV 2009 ou la prochaine version de Microsoft Dynamics NAV qui comprendra ce correctif.

Remarque Dans certains cas, les frais généralement encourus pour la prise en charge des appels peuvent être annulés si un technicien du Support technique pour Microsoft Dynamics et les produits associés détermine qu’une mise à jour spécifique peut résoudre votre problème. Les coûts habituels du support technique s’appliqueront aux autres questions et problèmes qui ne relèvent pas de la mise à jour spécifique en question.

Informations sur l’installation

Microsoft fournit des exemples de programmation à titre d'illustration uniquement, sans garantie expresse ou implicite. Ceci inclut, mais n'est pas limité à, les garanties implicites de qualité marchande ou d'adéquation à un usage particulier. Cet article suppose que vous êtes familiarisé avec le langage de programmation présenté et les outils utilisés pour créer et déboguer des procédures. Les ingénieurs du support technique Microsoft peuvent aider à expliquer la fonctionnalité d'une procédure particulière. Toutefois, ils ne modifieront pas ces exemples pour fournir des fonctionnalités supplémentaires ou créer des procédures répondant à vos besoins spécifiques.

Remarque Avant d’installer ce correctif, vérifiez que tous les utilisateurs du client Microsoft Dynamics NAV sont déconnectés sur le système. Ceci comprend les services de Microsoft Dynamics NAV Application Server (NAS). Vous devez être le seul utilisateur client connecté lors de l’implémentation de ce correctif.

Pour appliquer ce correctif, vous devez posséder une licence développeur.

Il est recommandé que le compte d’utilisateur dans la fenêtre Logins Windows ou dans la fenêtre Logins base de données est affecté à l’ID de rôle « SUPER ». Si le compte d’utilisateur ne peut pas être affecté à l’ID de rôle « SUPER », vous devez vérifier que le compte d’utilisateur dispose des autorisations suivantes :

  • L’autorisation de modification pour l’objet que vous allez modifier.

  • L’autorisation d’exécution pour l’objet ID objet système 5210 et pour l' ID objet système 9015

    objet.

Remarque Vous n’êtes pas obligé de disposer des droits pour les banques de données excepté si vous devez réparer des données.

Modifications du code

Remarque Toujours tester le code des correctifs dans un environnement contrôlé, avant d'appliquer les correctifs à vos ordinateurs de production.

Pour résoudre ce problème, procédez comme suit :

  1. Modifier le code dans l’élément de données numéro 1 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant

    ...OnPreDataItem=BEGIN

    // Delete the following lines.
    CurrReport.CREATETOTALS(
    "Item Ledger Entry".Quantity,"Item Ledger Entry"."Invoiced Quantity","Item Ledger Entry"."Cost Amount (Expected)");
    // End of the deleted lines.

    CurrReport.CREATETOTALS("Value Entry"."Cost Amount (Actual)","Value Entry"."Invoiced Quantity");
    ...

    Code de remplacement

    ...OnPreDataItem=BEGIN
    CurrReport.CREATETOTALS("Value Entry"."Cost Amount (Actual)","Value Entry"."Invoiced Quantity");
    ...
  2. Modifier le code dans les Sections de données élément numéro 1 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant 1

    ...ENG=Rec. not invoiced];

    // Delete the following lines.
    SourceExpr="Item Ledger Entry".Quantity - "Item Ledger Entry"."Invoiced Quantity";
    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity_ }
    { 1040033;TextBox ;9150 ;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry".Quantity;
    DataSetFieldName=Item_Ledger_Entry__Quantity }
    { 1040038;TextBox ;11100;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Invoiced Quantity";
    DataSetFieldName=Item_Ledger_Entry___Invoiced_Quantity_ }
    { 1040039;TextBox ;13050;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)";
    // End of the deleted lines.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected__ }
    ...

    Code de substitution 1

    ...ENG=Rec. not invoiced];

    // Add the following lines.
    SourceExpr=ItemQuantity;
    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity_ }
    { 1040033;TextBox ;9150 ;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemShippedQty;
    DataSetFieldName=Item_Ledger_Entry__Quantity }
    { 1040038;TextBox ;11100;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemInvoicedQty;
    DataSetFieldName=Item_Ledger_Entry___Invoiced_Quantity_ }
    { 1040039;TextBox ;13050;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemCostAmtExpected;
    // End of the added lines.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected__ }
    ...

    Code existant 2

    ...ENG=Rec. not invoiced];

    // Delete the following line.
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)" - "Value Entry"."Cost Amount (Actual)";
    // End of the deleted line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual__ }
    ...

    Code de substitution 2

    ...ENG=Rec. not invoiced];

    // Add the following line.
    SourceExpr=ItemCostAmount;
    // End of the added line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual__ }
    ...

    Code existant 3

    ...ENG=Rec. not invoiced];

    // Delete the following lines.
    SourceExpr="Item Ledger Entry".Quantity - "Item Ledger Entry"."Invoiced Quantity";
    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065 }
    { 1040066;TextBox ;9150 ;423 ;1800 ;423 ;FontSize=7;
    FontBold=Yes;
    SourceExpr="Item Ledger Entry".Quantity;
    DataSetFieldName=Item_Ledger_Entry__Quantity_Control1040066 }
    { 1040067;TextBox ;11100;423 ;1800 ;423 ;FontSize=7;
    FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Invoiced Quantity";
    DataSetFieldName=Item_Ledger_Entry___Invoiced_Quantity__Control1040067 }
    { 1040068;TextBox ;13050;423 ;1800 ;423 ;FontSize=7;
    FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)";
    // End of the deleted lines.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected___Control1040068 }
    ...

    Code de substitution 3

    ...ENG=Rec. not invoiced];

    // Add the following lines.
    SourceExpr=ItemQuantityTotal;
    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065 }
    { 1040066;TextBox ;9150 ;423 ;1800 ;423 ;FontSize=7;
    FontBold=Yes;
    SourceExpr=ItemShippedQtyTotal;
    DataSetFieldName=Item_Ledger_Entry__Quantity_Control1040066 }
    { 1040067;TextBox ;11100;423 ;1800 ;423 ;FontSize=7;
    FontBold=Yes;
    SourceExpr=ItemInvoicedQtyTotal;
    DataSetFieldName=Item_Ledger_Entry___Invoiced_Quantity__Control1040067 }
    { 1040068;TextBox ;13050;423 ;1800 ;423 ;FontSize=7;
    FontBold=Yes;
    SourceExpr=ItemCostAmtExpectedTotal;
    // End of the added lines.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected___Control1040068 }
    ...

    4 le code existant

    ...ENG=Rec. not invoiced];

    // Delete the following line.
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)" - "Value Entry"."Cost Amount (Actual)";
    // End of the deleted line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069 }
    ...

    Code de remplacement 4

    ...ENG=Rec. not invoiced];

    // Add the following line.
    SourceExpr=ItemCostAmountTotal;
    // End of the added line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069 }
    ...
  3. Modifier le code de données élément numéro 2 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant 1

    ...DataItemTable=Table32;

    // Delete the following lines.
    DataItemTableView=SORTING(Item No.,Positive,Completely Invoiced,Last Invoice Date,Location Code,Variant Code)
    WHERE(Completely Invoiced=CONST(No),
    Entry Type=CONST(Sale));
    OnPreDataItem=BEGIN
    IF EndDate <> 0D THEN
    SETRANGE("Posting Date",0D,EndDate);
    // End of the deleted lines.

    END;
    ...

    Code de substitution 1

    ...DataItemTable=Table32;

    // Add the following lines.
    DataItemTableView=SORTING(Item No.,Positive,Completely Invoiced,Last Invoice Date,Location Code,Variant Code) WHERE(Completely Invoiced=CONST(No), Entry Type=CONST(Sale));
    OnPreDataItem=BEGIN
    IF EndDate <> 0D THEN
    SETRANGE("Posting Date",0D,EndDate);

    ItemQuantity := 0;
    ItemCostAmount := 0;
    ItemShippedQty := 0;
    ItemInvoicedQty := 0;
    ItemCostAmtExpected := 0;
    // End of the added lines.

    END;
    ...

    Code existant 2

    ...NoOfItems := NoOfItems + 1;

    // Delete the following lines.
    CurrReport.CREATETOTALS(Quantity,"Invoiced Quantity","Item Ledger Entry"."Cost Amount (Expected)");
    CurrReport.CREATETOTALS("Value Entry"."Cost Amount (Actual)","Value Entry"."Invoiced Quantity");
    // End of the deleted lines.

    END;
    ...

    Code de substitution 2

    ...NoOfItems := NoOfItems + 1;

    // Add the following lines.
    CurrReport.CREATETOTALS("Value Entry"."Cost Amount (Actual)","Value Entry"."Invoiced Quantity");

    ItemQuantity += Quantity - "Invoiced Quantity";
    ItemCostAmount += "Cost Amount (Expected)";
    ItemShippedQty += Quantity;
    ItemInvoicedQty += "Invoiced Quantity";
    ItemCostAmtExpected += "Cost Amount (Expected)";

    ItemQuantityTotal += Quantity - "Invoiced Quantity";
    ItemCostAmountTotal += "Cost Amount (Expected)";
    ItemShippedQtyTotal += Quantity;
    ItemInvoicedQtyTotal += "Invoiced Quantity";
    ItemCostAmtExpectedTotal += "Cost Amount (Expected)";
    // End of the added lines.

    END;
    ...
  4. Modifier le code dans les Sections de données élément numéro 2 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant 1

    ...{ 1040074;TextBox   ;9150 ;0    ;1800 ;423  ;FontBold=Yes;

    // Delete the following lines.
    SourceExpr="Item Ledger Entry".Quantity;
    DataSetFieldName=Item_Ledger_Entry__Item_Ledger_Entry__Quantity }
    { 1040075;TextBox ;11100;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Invoiced Quantity";
    DataSetFieldName=Item_Ledger_Entry__Item_Ledger_Entry___Invoiced_Quantity_ }
    { 1040076;TextBox ;13050;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)";
    // End of the deleted lines.

    DataSetFieldName=Item_Ledger_Entry__Item_Ledger_Entry___Cost_Amount__Expected__ }
    ...

    Code de substitution 1

    ...{ 1040074;TextBox   ;9150 ;0    ;1800 ;423  ;FontBold=Yes;

    // Add the following lines.
    SourceExpr=ItemShippedQty;
    DataSetFieldName=Item_Ledger_Entry__Item_Ledger_Entry__Quantity }
    { 1040075;TextBox ;11100;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemInvoicedQty;
    DataSetFieldName=Item_Ledger_Entry__Item_Ledger_Entry___Invoiced_Quantity_ }
    { 1040076;TextBox ;13050;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemCostAmtExpected;
    // End of the added lines.

    DataSetFieldName=Item_Ledger_Entry__Item_Ledger_Entry___Cost_Amount__Expected__ }
    ...

    Code existant 2

    ...ENG=Quantity];

    // Delete the following line.
    SourceExpr="Item Ledger Entry".Quantity - "Item Ledger Entry"."Invoiced Quantity";
    // End of the deleted line.

    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040080 }
    ...

    Code de substitution 2

    ...ENG=Quantity];

    // Add the following line.
    SourceExpr=ItemQuantity;
    // End of the added line.

    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040080 }
    ...

    Code existant 3

    ...ENG=Cost];

    // Delete the following line.
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)" - "Value Entry"."Cost Amount (Actual)";
    // End of the deleted line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040081 }
    ...

    Code de substitution 3

    ...ENG=Cost];

    // Add the following line.
    SourceExpr=ItemCostAmount;
    // End of the added line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040081 }
    ...
  5. Modifier le code de données élément numéro 3 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant

    ...DataItemTable=Table5802;

    // Delete the following lines.
    DataItemTableView=SORTING(Item Ledger Entry No.,Expected Cost,Document No.,Partial Revaluation,Entry Type,Variance Type)
    WHERE(Inventoriable=CONST(Yes),
    Expected Cost=CONST(No));
    // End of the deleted lines.

    OnPreDataItem=BEGIN
    ...

    Code de remplacement

    ...DataItemTable=Table5802;

    // Add the following line.
    DataItemTableView=SORTING(Item Ledger Entry No.,Expected Cost,Document No.,Partial Revaluation,Entry Type,Variance Type) WHERE(Inventoriable=CONST(Yes), Expected Cost=CONST(No));
    // End of the added line.

    OnPreDataItem=BEGIN
    ...
  6. Modifier le code de données article numéro 4 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant

    ...DataItemTable=Table2000000026;

    // Delete the following lines.
    DataItemTableView=SORTING(Number)
    WHERE(Number=CONST(1));
    // End of the deleted lines.

    DataItemVarName=ItemTotal;
    ...

    Code de remplacement

    ...DataItemTable=Table2000000026;

    // Add the following line.
    DataItemTableView=SORTING(Number) WHERE(Number=CONST(1));
    // End of the added line.

    DataItemVarName=ItemTotal;
    ...
  7. Modifier le code dans les Sections de données article numéro 4 dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant 1

    ...{ 1040032;TextBox   ;9150 ;0    ;1800 ;423  ;FontBold=Yes;

    // Delete the following lines.
    SourceExpr="Item Ledger Entry".Quantity;
    DataSetFieldName=Item_Ledger_Entry__Quantity_Control1040032 }
    { 1040034;TextBox ;11100;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Invoiced Quantity";
    DataSetFieldName=Item_Ledger_Entry___Invoiced_Quantity__Control1040034 }
    { 1040035;TextBox ;13050;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)";
    // End of the deleted lines.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected___Control1040035 }
    ...

    Code de substitution 1

    ...{ 1040032;TextBox   ;9150 ;0    ;1800 ;423  ;FontBold=Yes;

    // Add the following lines.
    SourceExpr=ItemShippedQty;
    DataSetFieldName=Item_Ledger_Entry__Quantity_Control1040032 }
    { 1040034;TextBox ;11100;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemInvoicedQty;
    DataSetFieldName=Item_Ledger_Entry___Invoiced_Quantity__Control1040034 }
    { 1040035;TextBox ;13050;0 ;1800 ;423 ;FontBold=Yes;
    SourceExpr=ItemCostAmtExpected;
    // End of the added lines.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected___Control1040035 }
    ...

    Code existant 2

    ...ENG=Quantity];

    // Delete the following line.
    SourceExpr="Item Ledger Entry".Quantity - "Item Ledger Entry"."Invoiced Quantity";
    // End of the deleted line.

    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040040 }
    ...

    Code de substitution 2

    ...ENG=Quantity];

    // Add the following line.
    SourceExpr=ItemQuantity;
    // End of the added line.

    DataSetFieldName=Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040040 }
    ...

    Code existant 3

    ...ENG=Cost];

    // Delete the following line.
    SourceExpr="Item Ledger Entry"."Cost Amount (Expected)" - "Value Entry"."Cost Amount (Actual)";
    // End of the deleted line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040058 }
    ...

    Code de substitution 3

    ...ENG=Cost];

    // Add the following line.
    SourceExpr=ItemCostAmount;
    // End of the added line.

    DataSetFieldName=Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040058 }
    ...
  8. Modifier le code dans les Variables globales dans le Stock livré non facturé rapport (10541) comme suit :
    Code existant 1

    ...NoOfItems@1040006 : Integer;
    ...

    Code de substitution 1

    ...NoOfItems@1040006 : Integer;

    // Add the following lines.
    ItemQuantity@1040007 : Decimal;
    ItemCostAmount@1040008 : Decimal;
    ItemShippedQty@1040009 : Decimal;
    ItemInvoicedQty@1040010 : Decimal;
    ItemCostAmtExpected@1040011 : Decimal;
    ItemQuantityTotal@1040012 : Decimal;
    ItemCostAmountTotal@1040013 : Decimal;
    ItemShippedQtyTotal@1040014 : Decimal;
    ItemInvoicedQtyTotal@1040015 : Decimal;
    ItemCostAmtExpectedTotal@1040016 : Decimal;
    // End of the added lines.

    ...

    Code existant 2

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry__Quantity.Value)-Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>39</ZIndex>
    ...

    Code de substitution 2

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065.Value)</Value>
    // End of the added line.

    <ZIndex>39</ZIndex>
    ...

    Code existant 3

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Cost_Amount__Expected__.Value)-Sum(Fields!Value_Entry__Cost_Amount__Actual__.Value)</Value>
    // End of the deleted line.

    <ZIndex>38</ZIndex>
    ...

    Code de substitution 3

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069.Value)</Value>
    // End of the added line.

    <ZIndex>38</ZIndex>
    ...

    4 le code existant

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry__Quantity.Value)</Value>
    // End of the deleted line.

    <ZIndex>37</ZIndex>
    ...

    Code de remplacement 4

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity_Control1040066.Value)</Value>
    // End of the added line.

    <ZIndex>37</ZIndex>
    ...

    Code existant 5

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>36</ZIndex>
    ...

    Code de remplacement 5

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Invoiced_Quantity__Control1040067.Value)</Value>
    // End of the added line.

    <ZIndex>36</ZIndex>
    ...

    6 le code existant

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Cost_Amount__Expected__.Value)</Value>
    // End of the deleted line.

    <ZIndex>35</ZIndex>
    ...

    Code de remplacement 6

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected___Control1040068.Value)</Value>
    // End of the added line.

    <ZIndex>35</ZIndex>
    ...

    Code existant 7

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040080.Value)</Value>
    // End of the deleted line.

    <ZIndex>12</ZIndex>
    ...

    Code de remplacement 7

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040080.Value)</Value>
    // End of the added line.

    <ZIndex>12</ZIndex>
    ...

    Code existant 8

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Cost_Amount__Expected__.Value)-Sum(Fields!Value_Entry__Cost_Amount__Actual__.Value)</Value>
    // End of the deleted line.

    <ZIndex>11</ZIndex>
    ...

    Code de remplacement 8

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040081.Value)</Value>
    // End of the added line.

    <ZIndex>11</ZIndex>
    ...

    Code existant 9

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry__Quantity.Value)</Value>
    // End of the deleted line.

    <ZIndex>10</ZIndex>
    ...

    Code de remplacement 9

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Item_Ledger_Entry__Quantity.Value)</Value>
    // End of the added line.

    <ZIndex>10</ZIndex>
    ...

    Code existant 10

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>9</ZIndex>
    ...

    Code de remplacement 10

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Invoiced_Quantity_.Value)</Value>
    // End of the added line.

    <ZIndex>9</ZIndex>
    ...

    Code existant 11

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Cost_Amount__Expected__.Value)</Value>
    // End of the deleted line.

    <ZIndex>8</ZIndex>
    ...

    Code de remplacement 11

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Item_Ledger_Entry___Cost_Amount__Expected__.Value)</Value>
    // End of the added line.

    <ZIndex>8</ZIndex>
    ...

    Code existant 12

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry_Quantity.Value)-Sum(Fields!Item_Ledger_Entry__Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>20</ZIndex>
    ...

    Code de remplacement 12

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040040.Value)</Value>
    // End of the added line.

    <ZIndex>20</ZIndex>
    ...

    Code existant 13

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Cost_Amount__Expected__.Value)-Sum(Fields!Value_Entry__Cost_Amount__Actual__.Value)</Value>
    // End of the deleted line.

    <ZIndex>19</ZIndex>
    ...

    Code de remplacement 13

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040058.Value)</Value>
    // End of the added line.

    <ZIndex>19</ZIndex>
    ...

    Code existant 14

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry_Quantity.Value)</Value>
    // End of the deleted line.

    <ZIndex>18</ZIndex>
    ...

    Code de remplacement 14

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity_Control1040032.Value)</Value>
    // End of the added line.

    <ZIndex>18</ZIndex>
    ...

    Code existant 15

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>17</ZIndex>
    ...

    Code de remplacement 15

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Invoiced_Quantity__Control1040034.Value)</Value>
    // End of the added line.

    <ZIndex>17</ZIndex>
    ...

    Code existant 16

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Cost_Amount__Expected__.Value)</Value>
    // End of the deleted line.

    <ZIndex>16</ZIndex>
    ...

    Code de remplacement 16

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected___Control1040035.Value)</Value>
    // End of the added line.

    <ZIndex>16</ZIndex>
    ...

    Code existant 17

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry_Quantity.Value)-Sum(Fields!Item_Ledger_Entry__Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>29</ZIndex>
    ...

    Code de remplacement 17

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity_.Value)</Value>
    // End of the added line.

    <ZIndex>29</ZIndex>
    ...

    Code existant 18

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Cost_Amount__Expected__.Value)-Sum(Fields!Value_Entry__Cost_Amount__Actual__.Value)</Value>
    // End of the deleted line.

    <ZIndex>28</ZIndex>
    ...

    Code de remplacement 18

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual__.Value)</Value>
    // End of the added line.

    <ZIndex>28</ZIndex>
    ...

    Code existant 19

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry_Quantity.Value)</Value>
    // End of the deleted line.

    <ZIndex>27</ZIndex>
    ...

    Code de remplacement 19

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry__Quantity.Value)</Value>
    // End of the added line.

    <ZIndex>27</ZIndex>
    ...

    Code existant 20

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Invoiced_Quantity_.Value)</Value>
    // End of the deleted line.

    <ZIndex>26</ZIndex>
    ...

    Code de remplacement 20

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Invoiced_Quantity_.Value)</Value>
    // End of the added line.

    <ZIndex>26</ZIndex>
    ...

    Code existant 21

    ...</Style>

    // Delete the following line.
    <Value>=Sum(Fields!Item_Ledger_Entry__Cost_Amount__Expected__.Value)</Value>
    // End of the deleted line.

    <ZIndex>25</ZIndex>
    ...

    Code de remplacement 21

    ...</Style>

    // Add the following line.
    <Value>=Last(Fields!Item_Ledger_Entry___Cost_Amount__Expected__.Value)</Value>
    // End of the added line.

    <ZIndex>25</ZIndex>
    ...

    Code existant 22

    ...</Field>

    // Delete the following lines.
    <Field Name="Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065Format">
    <DataField>Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065Format</DataField>
    // End of the deleted lines.

    </Field>
    ...

    Code de remplacement 22

    ...</Field>

    // Add the following lines.
    <Field Name="Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065">
    <DataField>Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065</DataField>
    </Field>
    <Field Name="Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065Format">
    <DataField>Item_Ledger_Entry__Quantity____Item_Ledger_Entry___Invoiced_Quantity__Control1040065Format</DataField>
    </Field>
    <Field Name="Item_Ledger_Entry__Quantity_Control1040066">
    <DataField>Item_Ledger_Entry__Quantity_Control1040066</DataField>
    // End of the added lines.

    </Field>
    ...

    Code existant 23

    ...</Field>

    // Delete the following lines.
    <Field Name="Item_Ledger_Entry___Invoiced_Quantity__Control1040067Format">
    <DataField>Item_Ledger_Entry___Invoiced_Quantity__Control1040067Format</DataField>
    // End of the deleted lines.

    </Field>
    ...

    Code de remplacement 23

    ...</Field>

    // Add the following lines.
    <Field Name="Item_Ledger_Entry___Invoiced_Quantity__Control1040067">
    <DataField>Item_Ledger_Entry___Invoiced_Quantity__Control1040067</DataField>
    </Field>
    <Field Name="Item_Ledger_Entry___Invoiced_Quantity__Control1040067Format">
    <DataField>Item_Ledger_Entry___Invoiced_Quantity__Control1040067Format</DataField>
    </Field>
    <Field Name="Item_Ledger_Entry___Cost_Amount__Expected___Control1040068">
    <DataField>Item_Ledger_Entry___Cost_Amount__Expected___Control1040068</DataField>
    // End of the added lines.

    </Field>

    24 le code existant

    ...</Field>
    <Field Name="Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069Format">
    ------

    Code de remplacement 24

    ...</Field>

    // Add the following lines.
    <Field Name="Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069">
    <DataField>Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069</DataField>
    </Field>
    // End of the added lines.

    <Field Name="Item_Ledger_Entry___Cost_Amount__Expected______Value_Entry___Cost_Amount__Actual___Control1040069Format">
    ---------
  9. Modifier le code dans les Sections de données élément numéro 2 dans le Stock livré non facturé rapport (10541) comme suit.


Conditions préalables

Vous devez disposer d’un des produits suivants est installé pour appliquer ce correctif :

  • La version anglais (Royaume-Uni) de Microsoft Dynamics NAV 2009 Service Pack 1

  • La version anglais (Royaume-Uni) de Microsoft Dynamics NAV 2009 R2

Informations sur la suppression

Vous ne pouvez pas supprimer ce correctif.

État

Microsoft a confirmé l'existence de ce problème dans les produits Microsoft répertoriés dans la section « S'applique à ».

Remarque Il s’agit d’un article de « Dernière minute » créé directement à partir de l’organisation de support technique de Microsoft. Les informations contenues dans ce document sont fournies en l'état, en réponse à des problèmes nouveaux. En raison de la rapidité de leur mise à disposition, les documents peuvent contenir des erreurs typographiques et peuvent être révisés à tout moment sans préavis. Consultez les Conditions d’utilisationpour d’autres considérations.

Besoin d’aide ?

Vous voulez plus d’options ?

Explorez les avantages de l’abonnement, parcourez les cours de formation, découvrez comment sécuriser votre appareil, etc.

Les communautés vous permettent de poser des questions et d'y répondre, de donner vos commentaires et de bénéficier de l'avis d'experts aux connaissances approfondies.

Ces informations vous ont-elles été utiles ?

Dans quelle mesure êtes-vous satisfait(e) de la qualité de la langue ?
Qu’est-ce qui a affecté votre expérience ?
En cliquant sur Envoyer, vos commentaires seront utilisés pour améliorer les produits et services de Microsoft. Votre administrateur informatique sera en mesure de collecter ces données. Déclaration de confidentialité.

Nous vous remercions de vos commentaires.

×