Applies ToDynamics NAV 2009

本文適用於 Microsoft 動態航行點的英文 (en gb) 的語言地區設定。

狀況

當運送部分開立英國版本的 Microsoft 動態航行點 2009年中時,不出貨庫存開立報表就會顯示不正確的總計。下列產品中,就會發生這個問題︰

  • 英國版本的 Microsoft 動態航行點 2009 Service Pack 1

  • 英國版本的 Microsoft 動態航行點 2009 R2

解決方案

Hotfix 資訊

已經可以從 Microsoft 取得支援的 hotfix。不過,它只被用來修正本文所述的問題。它只適用於發生此特定問題的系統上。此 hotfix 可能會接受其他測試。因此,如果此問題不會嚴重影響,我們建議您等候下一步的 Microsoft 動態航行點 2009 service pack 或包含此 hotfix 的下一個 Microsoft 動態航行點版本。注意 在特殊的情況下,通常會支援呼叫可能已被取消如果技術支援專業人員的 Microsoft 動態及相關的產品所產生的費用會決定某特定更新程式可以解決您的問題。收取支援費用會套用,如果有其他支援問題是,不能限定的特定更新程式。

安裝資訊

Microsoft 會提供程式設計範例僅供說明,而不做任何明示或默示的保證。這包括,但不限於適售性或適合某特定用途之默示擔保責任。本文假設您已相當熟悉使用的我們所示範的程式設計語言以及建立和偵錯程序所使用的工具。Microsoft 技術支援工程師可以協助解釋特定程序的功能。不過,它們不會修改這些範例以提供附加功能或建構程序來滿足您特定需求。注意套用此 hotfix 之前,請確認所有的 Microsoft 動態航行點用戶端使用者會登出系統。這包括 Microsoft 動態航行點應用程式伺服器 (NAS) 服務。您應該是唯一的用戶端使用者已登入,當您實作此 hotfix。若要實作此 hotfix,您必須有開發人員授權。我們建議您在 Windows 登入] 視窗中的色彩,或資料庫登入] 視窗中的使用者帳戶被指派 「 進階 」 的角色識別碼。如果使用者帳戶不能指派為 「 超級 」 的角色識別碼,您必須確認使用者帳戶具有下列權限︰

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

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

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

程式碼變更

注意永遠測試程式碼修正在受控制的環境中才能套用到實際執行電腦的修正程式。若要解決這個問題,請依照下列步驟執行:

  1. 變更資料的項目編號 1 中內建的出貨中的程式碼不,如下所示開立報表 (10541):現有的程式碼

    ...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");...

    取代程式碼

    ...OnPreDataItem=BEGIN                          CurrReport.CREATETOTALS("Value Entry"."Cost Amount (Actual)","Value Entry"."Invoiced Quantity");...
  2. 變更資料的項目編號 1 章節中內建的出貨的程式碼不,如下所示開立報表 (10541):現有的程式碼 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__ }...

    取代程式碼 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__ }...

    現有的程式碼 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__ }...

    取代程式碼 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__ }...

    現有的程式碼 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 }...

    取代程式碼 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

    ...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 }...

    取代程式碼 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. 變更在股票的出貨的資料項目號碼 2 中的程式碼不,如下所示開立報表 (10541):現有的程式碼 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;...

    取代程式碼 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;...

    現有的程式碼 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;...

    取代程式碼 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. 變更資料的項目數目中股票的出貨的 2 區段中的程式碼不,如下所示開立報表 (10541):現有的程式碼 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__ }...

    取代程式碼 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__ }...

    現有的程式碼 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 }...

    取代程式碼 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 }...

    現有的程式碼 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 }...

    取代程式碼 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. 變更資料的項目編號 3,在股票的出貨中的程式碼不,如下所示開立報表 (10541):現有的程式碼

    ...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...

    取代程式碼

    ...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. 變更資料的項目編號 4 中內建的出貨中的程式碼不,如下所示開立報表 (10541):現有的程式碼

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

    取代程式碼

    ...DataItemTable=Table2000000026;// Add the following line.         DataItemTableView=SORTING(Number) WHERE(Number=CONST(1));// End of the added line.          DataItemVarName=ItemTotal;...
  7. 變更資料的項目編號 4 章節中內建的出貨的程式碼不,如下所示開立報表 (10541):現有的程式碼 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 }...

    取代程式碼 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 }...

    現有的程式碼 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 }...

    取代程式碼 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 }...

    現有的程式碼 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 }...

    取代程式碼 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. 變更內建的出貨的全域變數中的程式碼不,如下所示開立報表 (10541):現有的程式碼 1

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

    取代程式碼 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....

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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

    ...</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>...

    取代程式碼 4

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

    現有的程式碼 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>...

    取代程式碼 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

    ...</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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代代碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 14

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

    取代程式碼 14

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

    現有的程式碼 15

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

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代代碼為 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>...

    現有的程式碼 19

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

    取代程式碼 19

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

    現有的程式碼 20

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

    取代 」 代碼 20

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

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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>...

    現有的程式碼 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>...

    取代程式碼 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

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

    取代程式碼 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. 變更資料的項目數目中股票的出貨的 2 區段中的程式碼不開立報表 (10541),如下所示

先決條件

您必須具備套用此 hotfix 之後安裝下列產品的其中一個︰

  • 英國版本的 Microsoft 動態航行點 2009 Service Pack 1

  • 英國版本的 Microsoft 動態航行點 2009 R2

移除資訊

您無法移除此 hotfix。

狀態

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

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

需要更多協助嗎?

想要其他選項嗎?

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

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