บทความนี้นำไปใช้กับ Microsoft Dynamics NAV สำหรับระบบภาษาสเปน (es)
อาการ
เมื่อคุณเรียกใช้รายงาน 205 และรายงาน 405 ใน Microsoft Dynamics NAV 2013 รุ่นภาษาสเปน ชื่อเรื่องของคอลัมน์หายไปในส่วนของข้อมูลจำเพาะเกี่ยวกับจำนวน VAT ชำระเงินล่วงหน้า
การแก้ปัญหา
ข้อมูลโปรแกรมแก้ไขด่วน
โปรแกรมแก้ไขด่วนจะพร้อมใช้งานได้ในขณะนี้จาก Microsoft อย่างไรก็ตาม มีเป้าหมายเพียงเพื่อการแก้ไขปัญหาที่อธิบายไว้ในบทความนี้ นำวิธีนี้ไปใช้กับระบบที่ประสบกับปัญหาที่เฉพาะเจาะจงเท่านั้น โปรแกรมแก้ไขด่วนนี้อาจได้รับการทดสอบเพิ่มเติม ดังนั้น ถ้าคุณจะไม่รุนแรงได้รับผลกระทบจากปัญหานี้ เราขอแนะนำให้ คุณรอ service pack ถัดไปของ 2013 NAV Dynamics ของ Microsoft หรือ Microsoft Dynamics NAV เวอร์ชันถัดไปที่ประกอบด้วยโปรแกรมแก้ไขด่วนนี้
หมายเหตุ ในกรณีพิเศษ ค่าธรรมเนียมค่าใช้จ่ายสำหรับการสนับสนุนโทรศัพท์อาจถูกยกเลิกถ้า Technical Support Professional สำหรับ Microsoft Dynamics และผลิตภัณฑ์ที่เกี่ยวข้องตรวจพบว่าการปรับปรุงเฉพาะจะแก้ปัญหาของคุณ ค่าใช้จ่ายในการสนับสนุนตามปกติจะใช้กับคำถามและปัญหาในการสนับสนุนเพิ่มเติมซึ่งไม่สอดคล้องตามเกณฑ์สำหรับโปรแกรมปรับปรุงเฉพาะที่เกี่ยวข้อง
ข้อมูลการติดตั้ง
Microsoft ให้ตัวอย่างการเขียนโปรแกรมไว้สำหรับประกอบการอธิบายเท่านั้นโดยไม่มีการรับประกันไม่ว่าจะโดยชัดแจ้งหรือโดยนัย กรณีนี้รวมถึงแต่มิได้จำกัดเพียงแค่การการรับประกันโดยนัยเกี่ยวกับการจำหน่ายเป็นสินค้าหรือความเหมาะสำหรับวัตถุประสงค์เฉพาะ บทความนี้ตั้งสมมติฐานว่าคุณมีความคุ้นเคยกับภาษาการเขียนโปรแกรมที่กำลังแสดงและคุ้นเคยกับเครื่องมือที่ใช้ใน การสร้างและแก้จุดบกพร่องของขั้นตอนการดำเนินการ วิศวกรฝ่ายสนับสนุนของ Microsoft สามารถช่วยอธิบายเกี่ยวกับหน้าที่การใช้งานของกระบวนการเฉพาะ อย่างไรก็ตาม จะไม่แก้ไขตัวอย่างเหล่านี้เพื่อเพิ่มฟังก์ชัน หรือสร้างขั้นตอนเพื่อตอบสนองความต้องการเฉพาะของคุณ
หมายเหตุ ก่อนที่คุณติดตั้งโปรแกรมแก้ไขด่วนนี้ โปรดตรวจสอบว่า ผู้ใช้ไคลเอนต์ของ Microsoft Navision ทั้งหมดเข้าสู่ระบบออกจากระบบ ข้อมูลนี้รวมถึงผู้ใช้ไคลเอ็นต์บริการแอพลิเคชัน Navision Microsoft (NAS) คุณควรไคลเอ็นต์เฉพาะผู้ใช้ที่เข้าสู่ระบบเมื่อคุณใช้โปรแกรมแก้ไขด่วนนี้
เมื่อต้องการใช้โปรแกรมแก้ไขด่วนนี้ คุณต้องมีสิทธิ์การใช้งานสำหรับนักพัฒนา
เราขอแนะนำว่า บัญชีผู้ใช้ ในหน้าต่างล็อกอินของ Windows หรือ ในหน้าต่างล็อกอินฐานข้อมูลสามารถกำหนดรหัสการเข้าถึงข้อมูล "ขั้นสูง" ถ้าบัญชีผู้ใช้ไม่สามารถกำหนดรหัสการบทบาท "SUPER" คุณต้องตรวจสอบว่า บัญชีผู้ใช้มีสิทธิ์ต่อไปนี้:
-
สิทธิ์การปรับเปลี่ยนสำหรับออปเจ็กต์ที่คุณจะสามารถเปลี่ยน
-
สิทธิ์ Execute สำหรับออบเจ็กต์5210 รหัสวัตถุของระบบและ สำหรับออบเจ็กต์ระบบ 9015 ID ของวัตถุ
หมายเหตุ คุณไม่จำเป็นต้องมีสิทธิ์ไปยังร้านค้าข้อมูลยกเว้นว่าคุณจำเป็นต้องซ่อมแซมข้อมูล
การเปลี่ยนแปลงรหัส
หมายเหตุ เสมอทดสอบรหัสแก้ไขในสภาพแวดล้อมการควบคุมก่อนที่คุณนำไปใช้แก้ไขปัญหากับคอมพิวเตอร์ของคุณผลิต
เมื่อต้องการแก้ไขปัญหานี้ ให้ทำตามขั้นตอนเหล่านี้:
-
เปลี่ยนรหัสของคุณสมบัติในรายงานการยืนยันใบสั่ง (205) เป็นดังนี้:
รหัสที่มีอยู่... SourceExpr=PrepmtVATAmountLine."VAT Identifier" }
{ 191 ;4 ;Column ;PrepaymentVATAmtSpecCaption;
SourceExpr=PrepaymentVATAmtSpecCaptionLbl }
{ 7808;3 ;DataItem;PrepmtTotal ;
DataItemTable=Table2000000026;
DataItemTableView=SORTING(Number)
WHERE(Number=CONST(1));
OnPreDataItem=BEGIN
...รหัสแทน
... SourceExpr=PrepmtVATAmountLine."VAT Identifier" }
{ 191 ;4 ;Column ;PrepaymentVATAmtSpecCaption;
SourceExpr=PrepaymentVATAmtSpecCaptionLbl }
// Add the following lines.
{ 1101001;4;Column ;PrepmtVATPercentCaption;
SourceExpr=VATPecrentCaptionLbl }
{ 1101002;4;Column ;PrepmtVATBaseCaption;
SourceExpr=VATECBaseCaptionLbl }
{ 1101003;4;Column ;PrepmtVATAmtCaption ;
SourceExpr=VATAmountCaptionLbl }
{ 1101004;4;Column ;PrepmtVATIdentCaption;
SourceExpr=VATIdentifierCaptionLbl }
{ 1101005;4;Column ;PrepmtLineAmtCaption;
SourceExpr=LineAmountCaptionLbl }
{ 1101006;4;Column ;PrepmtTotalCaption ;
SourceExpr=TotalCaptionLbl }
// End of the lines.
{ 7808;3 ;DataItem;PrepmtTotal ;
DataItemTable=Table2000000026;
DataItemTableView=SORTING(Number)
WHERE(Number=CONST(1));
OnPreDataItem=BEGIN
... -
เปลี่ยนแปลงรหัสนี้ในฟังก์ชันBlanksForIndentในรายงานการยืนยันใบสั่ง (205) เป็นดังนี้:
รหัสที่อยู่ 1... <DataField>VATIdentifier_PrepmtVATAmtLine</DataField>
</Field>
<Field Name="PrepaymentVATAmtSpecCaption">
<DataField>PrepaymentVATAmtSpecCaption</DataField>
</Field>
<Field Name="PrepmtPaymentTermsDesc">
<DataField>PrepmtPaymentTermsDesc</DataField>
</Field>
<Field Name="PrepmtPaymentTermsCaption">
<DataField>PrepmtPaymentTermsCaption</DataField>
...รหัสแทนที่ 1
... <DataField>VATIdentifier_PrepmtVATAmtLine</DataField>
</Field>
<Field Name="PrepaymentVATAmtSpecCaption">
<DataField>PrepaymentVATAmtSpecCaption</DataField>
</Field>
// Add the following lines.
<Field Name="PrepmtVATPercentCaption">
<DataField>PrepmtVATPercentCaption</DataField>
</Field>
<Field Name="PrepmtVATBaseCaption">
<DataField>PrepmtVATBaseCaption</DataField>
</Field>
<Field Name="PrepmtVATAmtCaption">
<DataField>PrepmtVATAmtCaption</DataField>
</Field>
<Field Name="PrepmtVATIdentCaption">
<DataField>PrepmtVATIdentCaption</DataField>
</Field>
<Field Name="PrepmtLineAmtCaption">
<DataField>PrepmtLineAmtCaption</DataField>
</Field>
<Field Name="PrepmtTotalCaption">
<DataField>PrepmtTotalCaption</DataField>
</Field>
// End of the lines.
<Field Name="PrepmtPaymentTermsDesc">
<DataField>PrepmtPaymentTermsDesc</DataField>
</Field>
<Field Name="PrepmtPaymentTermsCaption">
<DataField>PrepmtPaymentTermsCaption</DataField>
...รหัสที่มีอยู่ 2
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!VATIdentifierCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 2
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!PrepmtVATIdentCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 3
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!VATPecrentCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 3
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!PrepmtVATPercentCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 4
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!LineAmountCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 4
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!PrepmtLineAmtCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 5
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!VATBaseCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 5
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!PrepmtVATBaseCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 6
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!VATAmountCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทน 6
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!PrepmtVATAmtCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 7
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!TotalCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 7
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!PrepmtTotalCaption.Value</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
... -
เปลี่ยนรหัสของคุณสมบัติในรายงานใบสั่ง (405) เป็นดังนี้:
รหัสที่มีอยู่... SourceExpr=PrepmtVATAmountLine."VAT Identifier" }
{ 203 ;4 ;Column ;PrepmtVATAmtSpecCaption;
SourceExpr=PrepmtVATAmtSpecCaptionLbl }
{ 7808;3 ;DataItem;PrepmtTotal ;
DataItemTable=Table2000000026;
DataItemTableView=SORTING(Number)
WHERE(Number=CONST(1));
OnPreDataItem=BEGIN
...รหัสแทน
... SourceExpr=PrepmtVATAmountLine."VAT Identifier" }
{ 203 ;4 ;Column ;PrepmtVATAmtSpecCaption;
SourceExpr=PrepmtVATAmtSpecCaptionLbl }
// Add the following lines.
{ 1101001;4;Column ;PrepmtVATPercentCaption;
SourceExpr=VATPercentCaptionLbl }
{ 1101002;4;Column ;PrepmtVATBaseCaption;
SourceExpr=VATBaseCaptionLbl }
{ 1101003;4;Column ;PrepmtVATAmtCaption ;
SourceExpr=VATAmtCaptionLbl }
{ 1101004;4;Column ;PrepmtVATIdentCaption;
SourceExpr=VATIdentCaptionLbl }
{ 1101005;4;Column ;PrepmtLineAmtCaption;
SourceExpr=LineAmtCaptionLbl }
{ 1101006;4;Column ;PrepmtTotalCaption ;
SourceExpr=TotalCaptionLbl }
// End of the lines.
{ 7808;3 ;DataItem;PrepmtTotal ;
DataItemTable=Table2000000026;
DataItemTableView=SORTING(Number)
WHERE(Number=CONST(1));
OnPreDataItem=BEGIN
--------------------------------------------------------------------------------
... -
เปลี่ยนแปลงรหัสนี้ในฟังก์ชันInitializeRequestในรายงานใบสั่ง (405) เป็นดังนี้:
รหัสที่อยู่ 1... <DataField>PrepmtVATAmtLineVATIdentifier</DataField>
</Field>
<Field Name="PrepmtVATAmtSpecCaption">
<DataField>PrepmtVATAmtSpecCaption</DataField>
</Field>
</Fields>
<Query>
<DataSourceName>DataSource</DataSourceName>
<CommandText />
</Query>
...รหัสแทนที่ 1
... <DataField>PrepmtVATAmtLineVATIdentifier</DataField>
</Field>
<Field Name="PrepmtVATAmtSpecCaption">
<DataField>PrepmtVATAmtSpecCaption</DataField>
</Field>
// Add the following lines.
<Field Name="PrepmtVATPercentCaption">
<DataField>PrepmtVATPercentCaption</DataField>
</Field>
<Field Name="PrepmtVATBaseCaption">
<DataField>PrepmtVATBaseCaption</DataField>
</Field>
<Field Name="PrepmtVATAmtCaption">
<DataField>PrepmtVATAmtCaption</DataField>
</Field>
<Field Name="PrepmtVATIdentCaption">
<DataField>PrepmtVATIdentCaption</DataField>
</Field>
<Field Name="PrepmtLineAmtCaption">
<DataField>PrepmtLineAmtCaption</DataField>
</Field>
<Field Name="PrepmtTotalCaption">
<DataField>PrepmtTotalCaption</DataField>
</Field>
// End of the lines.
</Fields>
<Query>
<DataSourceName>DataSource</DataSourceName>
<CommandText />
</Query>
...รหัสที่มีอยู่ 2
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=First(Fields!VATIdentCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 2
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=First(Fields!PrepmtVATIdentCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 3
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=First(Fields!VATPercentCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 3
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=First(Fields!PrepmtVATPercentCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 4
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=First(Fields!LineAmtCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 4
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=First(Fields!PrepmtLineAmtCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 5
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=First(Fields!VATBaseCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทนที่ 5
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=First(Fields!PrepmtVATBaseCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 6
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=First(Fields!VATAmtCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสแทน 6
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=First(Fields!PrepmtVATAmtCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...รหัสที่มีอยู่ 7
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=First(Fields!TotalCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>รหัสแทนที่ 7
... <KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.+ <Value>=First(Fields!PrepmtTotalCaption.Value)</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>Segoe UI</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
...
ข้อกำหนดเบื้องต้น
คุณต้องมี Microsoft Dynamics NAV 2013 ติดตั้งอยู่เพื่อใช้โปรแกรมแก้ไขด่วนนี้รุ่นภาษาสเปน
ข้อมูลการเอาออก
คุณไม่สามารถเอาโปรแกรมแก้ไขด่วนนี้
สถานะ
Microsoft ยืนยันว่านี่เป็นปัญหาในผลิตภัณฑ์ของ Microsoft ซึ่งแสดงไว้ในส่วน "นำไปใช้กับ"
หมายเหตุ นี่คือบทความ "เผยแพร่เร็ว" ที่สร้างขึ้นโดยตรงจากภายใน Microsoft สนับสนุนองค์กร ข้อมูลในที่นี้ให้ไว้ตามสภาพ เพื่อตอบสนองกับปัญหาที่เกิดขึ้นใหม่ เป็นผลมาจากความเร็วในการทำให้พร้อมใช้งาน วัสดุอาจรวมถึงข้อผิดพลาดการพิมพ์ผิด และอาจแก้ไขได้ตลอดเวลาโดยไม่ต้องแจ้งให้ทราบ ดูข้อตกลงการใช้สำหรับข้อควรพิจารณาอื่น ๆ