Saksa (Šveits) keele kasutamisel käivitada aruanne 11584 11587 Šveitsi versioonis Microsoft Dynamics nav-i 2009 "kokku nr. Arved ja krediidi meeldetuletused"on alati kujutatud null. See probleem ilmneb järgmine toode:
-
Microsoft Dynamics nav-i 2009 R2 Šveitsi versioon
-
Šveitsi versioonis Microsoft Dynamics nav-i 2009 SP1
Lahendus
Kiirparanduse teave
Lasknud välja toetatava käigultparanduse on nüüd Microsoftilt saadaval. Kuid see on ette nähtud ainult selles artiklis kirjeldatud probleemi kõrvaldamiseks. Rakendage seda ainult süsteemides, kus ilmneb see konkreetne probleem. Seda käigultparandust võidakse täiendavalt testida. Seega, kui probleem teie tööd tõsiselt ei kahjusta, soovitame oodata järgmist hoolduspaketti Microsoft Dynamics nav-i 2009 või järgmise Microsoft Dynamics nav-i versiooni, mis sisaldab seda kiirparandust.
Märkus. Erijuhtudel kulud, mis tekivad teatud palub tühistada saab kui tehniline toetus Professional Microsoft Dynamics ja nendega seotud toodete leiab, et mõni konkreetne värskendus lahendab teie probleemi. Tavaline tugiteenuste kohaldatakse täiendavat tugiteenust vajavatele küsimustele ning probleemidele, mis pole lahendatavad konkreetse värskenduse installimisega.Installiteave
Microsoft pakub programmeerimisnäiteid ainult artikli illustreerimiseks ilma igasuguse otsese või kaudse garantiita. See hõlmab, kuid ei piirdu kaudseid garantiisid turustatavuse või kindlaks otstarbeks sobivusega. See artikkel eeldab, et olete demonstreeritava programmeerimiskeelega programmeerimise keel ning luua protseduuride ja silumiseks kasutatavate tööriistadega tuttav. Microsofti tugitehnikud võivad aidata mõne konkreetse protseduuri talitlust selgitada. Siiski ei muuda nad neid näiteid lisafunktsioonide pakkumiseks ega Koosta vastavaid protseduure teie konkreetsetele nõuetele.
Märkus. Enne selle kiirparanduse installimist veenduge, et kõik Microsoft Dynamics nav-i kliendi kasutajat sisse loginud süsteem välja. See hõlmab Microsoft Dynamics nav-i rakenduste Server (NAS) teenuseid. Peaks olema ainult kliendi kasutaja on sisse logitud, kui otsustate seda käigultparandust. Selle kiirparanduse rakendamiseks peab teil olema arendaja litsentsi. Soovitame Windowsi sisselogimise aken või aken andmebaasi logimine kasutajakonto määrata "SUPER" rolli ID. Kui "SUPER" rolli ID-d ei saa määratud kasutajakonto, peate veenduma, et kasutaja konto on järgmised õigused:-
Sa muutuvad objekti Muuda õigusi.
-
Käivita luba süsteemi objekti ID 5210 objekti ja süsteemi objekti ID 9015
objekti.
Märkus. Teil pole õigust andmeid talletab enne, kui olete andmete parandamiseks.
Koodi muudatusi
Märkus alati test koodi lahendab kontrollitavas keskkonnas enne rakendamist tootmine arvutite parandused. Enne muudatuse rakendamist proovige importida kõik SEPA värskendused.
Selle probleemi lahendamiseks toimige järgmiselt.-
Andmete üksuse Number 1 jaotistes SR kliendi koodi muuta. Arvete loendis Std aruande (11584):
Kood...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; ...Eemaldamise teave
... 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; ... -
Muuta koodi SR kliendi CalcExrate funktsiooni. Arvete loendis Std aruande (11584):
Kood 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> ...Kood 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> ...Kood 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 ...Asendamine kood 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 ...Kood 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 ...Asendamine kood 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 ...Kood 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> ...Asendamine kood 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> ... -
Andmete üksuse Number 1 jaotistes SR kliendi koodi muuta. Arvete FCY aruanne (11585):
Kood... 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; ...Eemaldamise teave
... 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; ... -
Muuta koodi SR kliendi CalcExrate funktsiooni. Arvete FCY aruanne (11585):
Kood 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> ...Kood 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 ...Asendamine kood 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 ...Kood 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 ...Asendamine kood 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 ...Kood 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_"> ...Asendamine kood 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_"> ...Olemasolevat koodi 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> ...Eemaldamise teave 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> ...Kood 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> ...Eemaldamise teave 6
...</Fields>
<Query> <CommandText /> <DataSourceName>DummyDataSource</DataSourceName> </Query> </DataSet> </DataSets> <DataSources> <DataSource Name="DummyDataSource"> <ConnectionProperties> ... -
Andmete üksuse Number 1 jaotistes SR kliendi koodi muuta. Arvete nimekiri postitamine aruande (11586):
Kood... 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; ...Eemaldamise teave
...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; ... -
Muuta koodi SR kliendi CalcExrate funktsiooni. Arvete nimekiri postitamine aruande (11586):
Kood 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> ...Kood 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> ...Kood 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 ...Asendamine kood 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 ...Kood 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 ...Asendamine kood 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 ...Kood 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> ...Asendamine kood 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> ... -
Andmete üksuse Number 1 jaotistes SR kliendi koodi muuta. Arvete makse aruanne (11587):
Kood... 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; ...Eemaldamise teave
... 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; ... -
Muuta koodi SR kliendi CalcExrate funktsiooni. Arvete makse aruanne (11587):
Kood 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> ...Kood 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> ...Kood 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 ...Asendamine kood 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 ...Kood 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 ...Asendamine kood 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 ...Kood 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> ...Asendamine kood 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> ...
Eeltingimused
Teil peab olema üks selle kiirparanduse installinud järgmisi tooteid:
-
Microsoft Dynamics nav-i 2009 R2 Šveitsi versioon
-
Šveitsi versioonis Microsoft Dynamics nav-i 2009 SP1
Eemaldamise teave
See käigultparandus ei saa eemaldada.
Olek
Microsoft on kinnitanud, et see probleem esineb jaotises "Kehtib järgmiste toodete kohta" loetletud Microsofti toodetel.
Märkus. See on "Kiire avaldamise" artikli loonud otse Microsofti tugiteenuse pakkujalt. Siintoodud teave on esitatud lähtudes-olemasoleval kujul vastusena ilmnenud probleemidele. Kiire avaldamise materjalides esineda trükivigu ja võidakse muuta ette teatamata. Vt Kasutustingimusedmuid kaalutlusi.