Ak používate jazyk nemčina (Švajčiarsko) spustiť správa 11584 11587 vo Švajčiarsku verziu Microsoft Dynamics NAV 2009, "celkové číslo Faktúry alebo kreditnou poznámky"vždy zobrazí ako nula. Tento problém sa vyskytuje v nasledujúcich produktov:
-
Švajčiarsku verziu Microsoft Dynamics NAV 2009 R2
-
Švajčiarsku verziu Microsoft Dynamics NAV 2009 SP1
Riešenie
Informácie o rýchlej oprave
Rýchla oprava je k dispozícii od spoločnosti Microsoft. Je však určená iba opraviť problém popísaný v tomto článku. Použite ju iba v počítačoch s týmto konkrétnym problémom. Môže, že táto rýchla oprava bude ďalej testovaná. Ak vám nespôsobuje tento problém, odporúčame vám počkať na ďalšiu Microsoft Dynamics NAV 2009 service pack alebo ďalšej verzii Microsoft Dynamics NAV, ktorá obsahuje túto rýchlu opravu.
Poznámka: V špeciálnych prípadoch sa poplatky, ktoré sú telefonickú podporu nemusia účtovať ak technickú podporu Professional pre Microsoft Dynamics a súvisiace produkty zistí, že táto konkrétna aktualizácia vyrieši váš problém. Ďalšie otázky a žiadosti o technickú podporu, ktoré sa netýkajú tejto špecifickej aktualizácie, podliehajú bežným sadzbám za poskytovanie technickej podpory.Informácie o inštalácii
Spoločnosť Microsoft poskytuje príklady programovacieho kódu len ako názornú ukážku bez vyjadrených či predpokladaných záruk. Tie okrem iného zahŕňajú predpokladané záruky obchodovateľnosti alebo vhodnosti na konkrétny účel. Tento článok predpokladá, že ovládate predvádzaný programovací jazyk a nástroje, ktoré sa používajú na vytváranie a ladenie procedúr. Pracovníci technickej podpory spoločnosti Microsoft môžu vysvetliť fungovanie konkrétneho postupu. Ale nemôžu tieto príklady poskytovať pridanú funkčnosť alebo konštrukčné procedúry zohľadňujúce vaše konkrétne požiadavky.
Poznámka: Pred inštaláciou tejto rýchlej opravy, kontrola všetkých používateľov klienta Microsoft Dynamics NAV systém. To zahŕňa služby Microsoft Dynamics NAV aplikácie servera (NAS). Mali by ste byť iba klient prihláseného používateľa je pri implementácii túto rýchlu opravu. Vykonávať túto rýchlu opravu, musíte mať licencie pre vývojárov. Odporúčame, aby používateľského konta v okne prihlásenia systému Windows alebo v okne prihlásenia do databázy pridelí "SUPER" úlohu ID. Ak používateľské konto nemožno priradiť úlohu ID "SUPER", musíte overiť, že používateľské konto má nasledujúce povolenia:-
Zmeniť povolenia pre objekt, ktorý sa zmení.
-
Povolenia na vykonanie systému objekt ID 5210 a systém objekt ID 9015
objekt.
Poznámka: Nemusíte mať práva ukladá údaje, pokiaľ budete musieť vykonať opravy údajov.
Zmeny kódu
Poznámka: vždy test kód opravy v prostredí kontrolované pred použitím opravy výroby počítače. Pred použitím zmeny, importujte všetky aktualizácie SEPA.
Ak chcete vyriešiť tento problém, postupujte nasledovne:-
Zmena kódu v údaje položky číslo 1 sekcie SR zákazníka. Faktúry zobraziť správa Std (11584):
Existujúci kód...ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Delete the following lines. SourceExpr="Document Type"; DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } // End of the deleted lines. } } { PROPERTIES { SectionType=Body; ...Nahradenie kódu
... ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Add the following lines. SourceExpr=[ ("Document Type" = "Document Type"::Invoice)]; DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } { 1150010;TextBox ;17100;0 ;150 ;423 ;Visible=No; SourceExpr=("Document Type" = "Document Type"::"Credit Memo"); DataSetFieldName=Cust__Ledger_Entry__Document_Type_1 } // End of the added lines. } } { PROPERTIES { SectionType=Body; ... -
Zmena kódu v CalcExrate funkcia v SR zákazníka. Faktúry zobraziť správa Std (11584):
Nahradenie kód 1...<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight> </Style> <Value>=iif(True, CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Delete the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // End of the deleted line. +CStr(Code.CalcProfit(Fields!Cust__Ledger_Entry__Profit__LCY__.Value))+chr(177) +CStr(Code.CalcFooterProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY__.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY__.Value)),"")</Value> </Textbox> </ReportItems> ...Nahradenie kód 1
...<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight> </Style> <Value>=iif(True, CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Add the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_1.Value))+Chr(177) // End of the added line. +CStr(Code.CalcProfit(Fields!Cust__Ledger_Entry__Profit__LCY__.Value))+chr(177) +CStr(Code.CalcFooterProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY__.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY__.Value)),"")</Value> </Textbox> </ReportItems> ...Existujúci kód 2
...TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Delete the following lines. Function CalcNoOfInvoices(DocumentType as string) if DocumentType = "Invoice" // End of the deleted lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Nahradenie kód 2
...TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Add the following lines. Function CalcNoOfInvoices(DocumentType as Boolean) if DocumentType // End of the added lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Existujúci kód 3
...NoOfInvoices += 1
end if return NoOfInvoices End Function // Delete the following lines. Function CalcNoOfCredMemos(DocumentType as string) if DocumentType = "Credit Memo" // End of the deleted lines. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Nahradenie kód 3
...NoOfInvoices += 1
end if return NoOfInvoices End Function // Add the following lines. Function CalcNoOfCredMemos(DocumentType as Boolean) if DocumentType // End of the added lines. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Existujúci kód 4
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY__"> <DataField>Cust__Ledger_Entry__Amount__LCY__</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY__Format"> <DataField>Cust__Ledger_Entry__Amount__LCY__Format</DataField> ...Nahradenie kód 4
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> // Add the following lines. <Field Name="Cust__Ledger_Entry__Document_Type_1"> <DataField>Cust__Ledger_Entry__Document_Type_1</DataField> </Field> // End of the added lines. <Field Name="Cust__Ledger_Entry__Amount__LCY__"> <DataField>Cust__Ledger_Entry__Amount__LCY__</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY__Format"> <DataField>Cust__Ledger_Entry__Amount__LCY__Format</DataField> ... -
Zmena kódu v údaje položky číslo 1 sekcie SR zákazníka. Zoznam FCY faktúry (11585):
Existujúci kód... ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Delete the following lines. SourceExpr="Document Type"; DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } // End of the deleted lines. } } { PROPERTIES { SectionType=Body; ...Nahradenie kódu
... ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Add the following lines. SourceExpr=("Document Type" = "Document Type"::Invoice); DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } { 1150011;TextBox ;17100;0 ;150 ;423 ;Visible=No; ForeColor=65535; SourceExpr=("Document Type" = "Document Type"::"Credit Memo"); DataSetFieldName=Cust__Ledger_Entry__Document_Type_1 } // End of the added lines. } } { PROPERTIES { SectionType=Body; ... -
Zmena kódu v CalcExrate funkcia v SR zákazníka. Zoznam FCY faktúry (11585):
Nahradenie kód 1...<TextAlign>Right</TextAlign>
<VerticalAlign>Middle</VerticalAlign> </Style> <Value>=iif(True ,CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Delete the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_.Value))+chr(177) // End of the deleted line. +CStr(Code.CalcProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY___Control33.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY___Control56.Value)),"")</Value> </Textbox> </ReportItems> </TableCell> ...Nahradenie kód 1
...<TextAlign>Right</TextAlign>
<VerticalAlign>Middle</VerticalAlign> </Style> <Value>=iif(True ,CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Add the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_1.Value))+chr(177) // End of the added line. +CStr(Code.CalcProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY___Control33.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY___Control56.Value)),"")</Value> </Textbox> </ReportItems> </TableCell> ...TotalProfitLCY = 0 TotalProfitPct = 0
TotalAmountLCY = 0 End Function // Delete the following lines. Function CalcNoOfInvoices(DocumentType as string) if DocumentType = "Invoice" // End of the deleted lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Nahradenie kód 2
...TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Add the following lines. Function CalcNoOfInvoices(DocumentType as Boolean) if DocumentType // End of the added lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Existujúci kód 3
...NoOfInvoices += 1
end if return NoOfInvoices End Function // Delete the following lines. Function CalcNoOfCredMemos(DocumentType as string) if DocumentType = "Credit Memo" // Add of the deleted lines. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Nahradenie kód 3
...NoOfInvoices += 1
end if return NoOfInvoices End Function // Add the following lines. Function CalcNoOfCredMemos(DocumentType as Boolean) if DocumentType // End of the added lines. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Existujúci kód 4
...TotalAmountLCY = TotalAmountLCY + AmountLCY
return TotalAmountLCY End Function</Code> <DataSets> <DataSet Name="DataSet_Result"> <Fields> <Field Name="Customer_Invoices_ListCaption"> <DataField>Customer_Invoices_ListCaption</DataField> </Field> <Field Name="FORMAT_TODAY_0_4_"> ...Nahradenie kód 4
...TotalAmountLCY = TotalAmountLCY + AmountLCY
return TotalAmountLCY End Function</Code> <DataSets> <DataSet Name="DataSet_Result"> // Add the following lines. <DataSetInfo xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"> <DataSetName>DataSet</DataSetName> <TableName>Result</TableName> </DataSetInfo> // End of the added lines. <Fields> <Field Name="Customer_Invoices_ListCaption"> <DataField>Customer_Invoices_ListCaption</DataField> </Field> <Field Name="FORMAT_TODAY_0_4_"> ...Existujúci kód 5
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> <Field Name="Cust__Ledger_Entry__Document_No___Control11"> <DataField>Cust__Ledger_Entry__Document_No___Control11</DataField> </Field> <Field Name="COPYSTR_FORMAT__Document_Type___1_1__Control13"> <DataField>COPYSTR_FORMAT__Document_Type___1_1__Control13</DataField> ...Nahradenie kód 5
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> // Add the following lines. <Field Name="Cust__Ledger_Entry__Document_Type_1"> <DataField>Cust__Ledger_Entry__Document_Type_1</DataField> </Field> // End of the added linds. <Field Name="Cust__Ledger_Entry__Document_No___Control11"> <DataField>Cust__Ledger_Entry__Document_No___Control11</DataField> </Field> <Field Name="COPYSTR_FORMAT__Document_Type___1_1__Control13"> <DataField>COPYSTR_FORMAT__Document_Type___1_1__Control13</DataField> ...Existujúci kód 6
... </Fields>
<Query> <CommandText /> <DataSourceName>DummyDataSource</DataSourceName> </Query> // Delete the following lines. <rd:DataSetInfo> <rd:DataSetName>DataSet</rd:DataSetName> <rd:TableName>Result</rd:TableName> </rd:DataSetInfo> // End of the deleted lines. </DataSet> </DataSets> <DataSources> <DataSource Name="DummyDataSource"> <ConnectionProperties> ...Nahradenie kód 6
...</Fields>
<Query> <CommandText /> <DataSourceName>DummyDataSource</DataSourceName> </Query> </DataSet> </DataSets> <DataSources> <DataSource Name="DummyDataSource"> <ConnectionProperties> ... -
Zmena kódu v údaje položky číslo 1 sekcie SR zákazníka. Zoznam faktúr vysielania správy (11586):
Existujúci kód... ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Delete the following lines. SourceExpr="Document Type"; DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } // End of the deleted lines. } } { PROPERTIES { SectionType=Body; ...Nahradenie kódu
...ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Add the following lines. SourceExpr=("Document Type" = "Document Type"::Invoice); DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } { 1150012;TextBox ;17100;0 ;150 ;423 ;Visible=No; ForeColor=65535; SourceExpr=("Document Type" = "Document Type"::"Credit Memo"); DataSetFieldName=Cust__Ledger_Entry__Document_Type_1 } // End of the added lines. } } { PROPERTIES { SectionType=Body; ... -
Zmena kódu v CalcExrate funkcia v SR zákazníka. Zoznam faktúr vysielania správy (11586):
Nahradenie kód 1...TextAlign>Right</TextAlign>
<VerticalAlign>Middle</VerticalAlign> </Style> <Value>=iif(True ,CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Delete the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_.Value))+chr(177) // End of the deleted lines. +CStr(Code.CalcProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY___Control33.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY___Control41.Value)),"")</Value> </Textbox> </ReportItems> </TableCell> ...Nahradenie kód 1
... <TextAlign>Right</TextAlign>
<VerticalAlign>Middle</VerticalAlign> </Style> <Value>=iif(True ,CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Add of the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_1.Value))+chr(177) // End of the added line. +CStr(Code.CalcProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY___Control33.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY___Control41.Value)),"")</Value> </Textbox> </ReportItems> </TableCell> ...Existujúci kód 2
...TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Delete the following lines. Function CalcNoOfInvoices(DocumentType as string) if DocumentType = "Invoice" // End of the deleted lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Nahradenie kód 2
... TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Add the following lines. + Function CalcNoOfInvoices(DocumentType as Boolean) + if DocumentType // End of the added lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Existujúci kód 3
...end if
return NoOfInvoices End Function Function CalcNoOfCredMemos(DocumentType as string) // Delete the following line. if DocumentType = "Credit Memo" // End of the deleted line. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Nahradenie kód 3
...end if
return NoOfInvoices End Function Function CalcNoOfCredMemos(DocumentType as string) // Add the following line. if DocumentType // End of the added line. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Existujúci kód 4
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY___Control41"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control41</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY___Control41Format"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control41Format</DataField> ...Nahradenie kód 4
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> // Add the following lines. <Field Name="Cust__Ledger_Entry__Document_Type_1"> <DataField>Cust__Ledger_Entry__Document_Type_1</DataField> </Field> // End of the added lines. <Field Name="Cust__Ledger_Entry__Amount__LCY___Control41"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control41</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY___Control41Format"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control41Format</DataField> ... -
Zmena kódu v údaje položky číslo 1 sekcie SR zákazníka. Zoznam platbu faktúry (11587):
Existujúci kód... ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Delete the following lines. SourceExpr="Document Type"; DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } // End of the deleted lines. } } { PROPERTIES { SectionType=Body; ...Nahradenie kódu
... ForeColor=65535;
SourceExpr="Sales (LCY)"; DataSetFieldName=Cust__Ledger_Entry__Sales__LCY__ } { 1150005;TextBox ;17250;0 ;150 ;423 ;Visible=No; ForeColor=65535; // Add the following lines. SourceExpr=("Document Type" = "Document Type"::Invoice); DataSetFieldName=Cust__Ledger_Entry__Document_Type_ } { 1150013;TextBox ;17100;0 ;150 ;423 ;Visible=No; ForeColor=65535; SourceExpr=("Document Type" = "Document Type"::"Credit Memo"); DataSetFieldName=Cust__Ledger_Entry__Document_Type_1 } // End of the added lines. } } { PROPERTIES { SectionType=Body; ... -
Zmena kódu v CalcExrate funkcia v SR zákazníka. Zoznam platbu faktúry (11587):
Nahradenie kód 1...<TextAlign>Right</TextAlign>
<VerticalAlign>Middle</VerticalAlign> </Style> <Value>=iif(True ,CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) //Delete the following line. +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_.Value))+chr(177) // End of the deleted line. +CStr(Code.CalcProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY___Control33.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY___Control100.Value)),"")</Value> </Textbox> </ReportItems> </TableCell> ...Nahradenie kód 1
...<TextAlign>Right</TextAlign>
<VerticalAlign>Middle</VerticalAlign> </Style> <Value>=iif(True ,CStr(Code.CalcNoOfInvoices(Fields!Cust__Ledger_Entry__Document_Type_.Value))+Chr(177) // Add the following line. + +CStr(Code.CalcNoOfCredMemos(Fields!Cust__Ledger_Entry__Document_Type_1.Value))+chr(177) // End of the added line. +CStr(Code.CalcProfitPct(Fields!Cust__Ledger_Entry__Profit__LCY___Control33.Value,Fields!Cust__Ledger_Entry__Sales__LCY__.Value))+chr(177) +CStr(Code.CalcAmountLCY(Fields!Cust__Ledger_Entry__Amount__LCY___Control100.Value)),"")</Value> </Textbox> </ReportItems> </TableCell> ...Existujúci kód 2
...TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Delete the following lines. Function CalcNoOfInvoices(DocumentType as string) if DocumentType = "Invoice" // End of the deleted lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Nahradenie kód 2
...TotalProfitLCY = 0
TotalProfitPct = 0 TotalAmountLCY = 0 End Function // Add the following lines. Function CalcNoOfInvoices(DocumentType as Boolean) if DocumentType // End of the added lines. NoOfInvoices += 1 end if return NoOfInvoices End Function ...Existujúci kód 3
...NoOfInvoices += 1
end if return NoOfInvoices End Function // Delete the following lines. Function CalcNoOfCredMemos(DocumentType as string) if DocumentType = "Credit Memo" // End of the deleted lines. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Nahradenie kód 3
... NoOfInvoices += 1
end if return NoOfInvoices End Function // Add the following lines. Function CalcNoOfCredMemos(DocumentType as Boolean) if DocumentType // End of the added lines. NoOfCredMemos += 1 end if return NoOfCredMemos End Function ...Existujúci kód 4
...<DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY___Control100"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control100</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY___Control100Format"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control100Format</DataField> ...Nahradenie kód 4
... <DataField>Cust__Ledger_Entry__Sales__LCY__Format</DataField>
</Field> <Field Name="Cust__Ledger_Entry__Document_Type_"> <DataField>Cust__Ledger_Entry__Document_Type_</DataField> </Field> // Add the following lines. <Field Name="Cust__Ledger_Entry__Document_Type_1"> <DataField>Cust__Ledger_Entry__Document_Type_1</DataField> </Field> // End of the added lines. <Field Name="Cust__Ledger_Entry__Amount__LCY___Control100"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control100</DataField> </Field> <Field Name="Cust__Ledger_Entry__Amount__LCY___Control100Format"> <DataField>Cust__Ledger_Entry__Amount__LCY___Control100Format</DataField> ...
Požiadavky
Musíte mať jednu z nasledovných produktov nainštalovaný chcete použiť túto rýchlu opravu:
-
Švajčiarsku verziu Microsoft Dynamics NAV 2009 R2
-
Švajčiarsku verziu Microsoft Dynamics NAV 2009 SP1
Informácie o odstránení
Nemôžete odstrániť túto rýchlu opravu.
Stav
Spoločnosť Microsoft potvrdila, že ide o problém v produktoch spoločnosti Microsoft, ktoré sú uvedené v časti Vzťahuje sa na.
Poznámka: To je "Rýchlo publikovať" článok vytvorené priamo v rámci organizácie technickej podpory spoločnosti Microsoft. Uvedené informácie sa poskytuje ako-v reakcii na naliehavé problémy. Rýchlosťou robiť materiály môžu obsahovať typografické chyby a môžu byť kedykoľvek bez predchádzajúceho upozornenia. Prečítajte si Podmienky používaniaz iných dôvodov.