นำไปใช้กับ
Dynamics NAV 2009

เมื่อคุณเลือกที่ "แสดง AutoInvoices/Autocr ไม่สามารถแสดงตัวเลือกการบันทึก"เพื่อแสดงตัวอย่างรายงานสมุดบัญชีอินวอยซ์ขายในไคลเอนต์ RTC ใน Microsoft Dynamics NAV 2009 หมายเลขประจำสินค้า และบรรทัดรวมรุ่นภาษาสเปน ทำตามขั้นตอนต่าง ๆ ในส่วนของการเปลี่ยนแปลงรหัสเพื่อแก้ไขปัญหานี้ ปัญหานี้เกิดขึ้นในผลิตภัณฑ์ต่อไปนี้:

  • Microsoft Dynamics NAV 2009 R2 รุ่นภาษาสเปน

  • SP1 2009 นำทางของ Dynamics Microsoft รุ่นภาษาสเปน

การแก้ปัญหา

ข้อมูลโปรแกรมแก้ไขด่วน

โปรแกรมแก้ไขด่วนจะพร้อมใช้งานได้ในขณะนี้จาก Microsoft อย่างไรก็ตาม มีเป้าหมายเพียงเพื่อการแก้ไขปัญหาที่อธิบายไว้ในบทความนี้ นำวิธีนี้ไปใช้กับระบบที่ประสบกับปัญหาที่เฉพาะเจาะจงเท่านั้น โปรแกรมแก้ไขด่วนนี้อาจได้รับการทดสอบเพิ่มเติม ดังนั้น ถ้าคุณจะไม่รุนแรงได้รับผลกระทบจากปัญหานี้ เราขอแนะนำให้ คุณรอ service pack ถัดไปของ Microsoft Dynamics NAV 2009 หรือเวอร์ชันถัดไป Microsoft Dynamics NAV ที่ประกอบด้วยโปรแกรมแก้ไขด่วนนี้หมายเหตุ ในกรณีพิเศษ ค่าธรรมเนียมค่าใช้จ่ายสำหรับการสนับสนุนโทรศัพท์อาจถูกยกเลิกถ้า Technical Support Professional สำหรับ Microsoft Dynamics และผลิตภัณฑ์ที่เกี่ยวข้องตรวจพบว่าการปรับปรุงเฉพาะจะแก้ปัญหาของคุณ ค่าใช้จ่ายในการสนับสนุนตามปกติจะใช้กับคำถามและปัญหาในการสนับสนุนเพิ่มเติมซึ่งไม่สอดคล้องตามเกณฑ์สำหรับโปรแกรมปรับปรุงเฉพาะที่เกี่ยวข้อง

ข้อมูลการติดตั้ง

Microsoft ให้ตัวอย่างการเขียนโปรแกรมไว้สำหรับประกอบการอธิบายเท่านั้นโดยไม่มีการรับประกันไม่ว่าจะโดยชัดแจ้งหรือโดยนัย กรณีนี้รวมถึงแต่มิได้จำกัดเพียงแค่การการรับประกันโดยนัยเกี่ยวกับการจำหน่ายเป็นสินค้าหรือความเหมาะสำหรับวัตถุประสงค์เฉพาะ บทความนี้ตั้งสมมติฐานว่าคุณมีความคุ้นเคยกับภาษาการเขียนโปรแกรมที่กำลังแสดงและคุ้นเคยกับเครื่องมือที่ใช้ใน การสร้างและแก้จุดบกพร่องของขั้นตอนการดำเนินการ วิศวกรฝ่ายสนับสนุนของ Microsoft สามารถช่วยอธิบายเกี่ยวกับหน้าที่การใช้งานของกระบวนการเฉพาะ อย่างไรก็ตาม จะไม่แก้ไขตัวอย่างเหล่านี้เพื่อเพิ่มฟังก์ชัน หรือสร้างขั้นตอนเพื่อตอบสนองความต้องการเฉพาะของคุณหมายเหตุ ก่อนที่คุณติดตั้งโปรแกรมแก้ไขด่วนนี้ โปรดตรวจสอบว่า ผู้ใช้ไคลเอนต์ของ Microsoft Dynamics NAV ทั้งหมดเข้าสู่ระบบออกจากระบบ ข้อมูลนี้รวมถึงบริการ Microsoft Dynamics NAV แอพพลิเคชันเซิร์ฟเวอร์ (NAS) คุณควรไคลเอ็นต์เฉพาะผู้ใช้ที่เข้าสู่ระบบเมื่อคุณใช้โปรแกรมแก้ไขด่วนนี้เมื่อต้องการใช้โปรแกรมแก้ไขด่วนนี้ คุณต้องมีสิทธิ์การใช้งานสำหรับนักพัฒนาเราขอแนะนำว่า บัญชีผู้ใช้ ในหน้าต่างล็อกอินของ Windows หรือ ในหน้าต่างล็อกอินฐานข้อมูลสามารถกำหนดรหัสการเข้าถึงข้อมูล "ขั้นสูง" ถ้าบัญชีผู้ใช้ไม่สามารถกำหนดรหัสการบทบาท "SUPER" คุณต้องตรวจสอบว่า บัญชีผู้ใช้มีสิทธิ์ต่อไปนี้:

  • สิทธิ์การปรับเปลี่ยนสำหรับออปเจ็กต์ที่คุณจะสามารถเปลี่ยน

  • สิทธิ์ในการดำเนินการ สำหรับออบเจ็กต์5210 รหัสวัตถุของระบบและระบบ 9015 ID ของวัตถุวัตถุ

หมายเหตุ คุณไม่จำเป็นต้องมีสิทธิ์ไปยังร้านค้าข้อมูลยกเว้นว่าคุณจำเป็นต้องซ่อมแซมข้อมูล

การเปลี่ยนแปลงรหัส

หมายเหตุทดสอบรหัสแก้ไขในสภาพแวดล้อมการควบคุมเสมอก่อนที่คุณแก้ไขการนำไปใช้กับคอมพิวเตอร์ของคุณผลิต ก่อนที่จะใช้การเปลี่ยนแปลง โปรดนำเข้าปรับปรุง SEPA ทั้งหมดเมื่อต้องการแก้ไขปัญหานี้ เปลี่ยนแปลงรหัสนี้ในตัวแปรส่วนกลางในรายงานสมุดบัญชีอินวอยซ์ขาย (10704) เป็นดังนี้:

รหัสที่อยู่ 1

... END.    }    RDLDATA    {      <?xml version="1.0" encoding="utf-8"?>// Delete the following line.<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">// End of the deleted line.<Body>      <Height>6.345cm</Height>      <ReportItems>        <Textbox Name="AuxVatEntry">          <Height>0.423cm</Height>...

รหัสแทนที่ 1

...END.    }    RDLDATA    {      <?xml version="1.0" encoding="utf-8"?>// Add the following line.<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">// End of the added line.<Body>      <Height>6.345cm</Height>      <ReportItems>        <Textbox Name="AuxVatEntry">          <Height>0.423cm</Height>...

รหัสที่มีอยู่ 2

... <ReportItems>                          <Textbox Name="textbox211">                            <Style>                              <FontSize>7pt</FontSize>                              <FontWeight>700</FontWeight>// Delete the following line.<Format>=Fields!Base_Base2Format.Value</Format>// End of the deleted line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสแทนที่ 2

...<ReportItems>                          <Textbox Name="textbox211">                            <Style>                              <FontSize>7pt</FontSize>                              <FontWeight>700</FontWeight>// Add the following line.<Format>N</Format>// End of the added line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสที่มีอยู่ 3

...<ReportItems>                          <Textbox Name="textbox83">                            <Style>                              <FontSize>7pt</FontSize>                              <FontWeight>700</FontWeight>// Delete the following line.<Format>=Fields!VATBuffer4_BaseFormat.Value</Format>// End of the deleted line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสแทนที่ 3

... <ReportItems>                          <Textbox Name="textbox83">                            <Style>                              <FontSize>7pt</FontSize>                              <FontWeight>700</FontWeight>// Add the following line.<Format>N</Format>// End of the added line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสที่มีอยู่ 4

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Delete the following line.<Hidden>=iif(Fields!AutoDocNo.Value="" or (Fields!ShowAutoInvCred.Value=TRUE and Fields!SortPostDate.Value=TRUE),TRUE,FALSE)</Hidden>// End of the deleted line.</Visibility>                  </TableRow>                </TableRows>              </Footer>              <Grouping Name="Table1_Group2">...

รหัสแทนที่ 4

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Add the following line.<Hidden>=iif(LAST(Fields!AutoDocNo.Value)="" or (Fields!ShowAutoInvCred.Value=TRUE and Fields!SortPostDate.Value=TRUE),TRUE,FALSE)</Hidden>// End of the added line.</Visibility>                  </TableRow>                </TableRows>              </Footer>              <Grouping Name="Table1_Group2">...

รหัสที่มีอยู่ 5

...<ReportItems>                          <Textbox Name="textbox332">                            <Style>                              <FontSize>7pt</FontSize>                              <FontWeight>700</FontWeight>// Delete the following line.<Format>=Last(Fields!VATBuffer2_BaseFormat.Value)</Format>// End of the deleted line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสแทนที่ 5

...<ReportItems>                          <Textbox Name="textbox332">                            <Style>                              <FontSize>7pt</FontSize>                              <FontWeight>700</FontWeight>// Add the following line.<Format>N</Format>// End of the added line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสที่มีอยู่ 6

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Delete the following line.<Hidden>=iif(Fields!SortPostDate.Value,TRUE,FALSE) OR iif(Fields!VATEntry__No__Series_Caption.Value="",TRUE,FALSE)</Hidden>// End of the deleted line.</Visibility>                  </TableRow>                  <TableRow>                    <Height>0.423cm</Height>                    <TableCells>...

รหัสแทน 6

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Add the following line.<Hidden>=iif(LAST(Fields!SortPostDate.Value),TRUE,FALSE) OR iif(Fields!VATEntry__No__Series_Caption.Value="",TRUE,FALSE)</Hidden>// End of the added line.</Visibility>                  </TableRow>                  <TableRow>                    <Height>0.423cm</Height>                    <TableCells>...

รหัสที่มีอยู่ 7

... <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <TextAlign>Left</TextAlign>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>// Delete the following line.<Value>=Fields!TotalCaption_Control113.Value</Value>// End of the deleted line.                            <ZIndex>27</ZIndex>                          </Textbox>                        </ReportItems>                      </TableCell>                      <TableCell>...

รหัสแทนที่ 7

...<PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <TextAlign>Left</TextAlign>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>// Add the following line.<Value>=Fields!TotalCaption.Value</Value>// End of the added line.                            <ZIndex>27</ZIndex>                          </Textbox>                        </ReportItems>                      </TableCell>                      <TableCell>...

รหัสที่มีอยู่ 8

... <ColSpan>2</ColSpan>                        <ReportItems>                          <Textbox Name="textbox271">                            <Style>                              <FontSize>7pt</FontSize>// Delete the following line.<Format>=Fields!VATBuffer2_Base_Control86Format.Value</Format>// End of the deleted line.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสแทนที่ 8

...<ColSpan>2</ColSpan>                        <ReportItems>                          <Textbox Name="textbox271">                            <Style>                              <FontSize>7pt</FontSize>// Add the following lines.<FontWeight>700</FontWeight><Format>N</Format>// End of the added lines.                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสที่มีอยู่ 9

...<ReportItems>                          <Textbox Name="textbox285">                            <CanGrow>true</CanGrow>                            <Style>                              <FontSize>7pt</FontSize>                              <Format>N</Format>                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>...

รหัสแทนที่ 9

...<ReportItems>                          <Textbox Name="textbox285">                            <CanGrow>true</CanGrow>                            <Style>                              <FontSize>7pt</FontSize>// Add the following line.<FontWeight>700</FontWeight>// End of the added line.                              <Format>N</Format>                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingRight>4pt</PaddingRight>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>...

รหัสที่มีอยู่ 10

...<ReportItems>                          <Textbox Name="textbox286">                            <CanGrow>true</CanGrow>                            <Style>                              <FontSize>7pt</FontSize>                              <Format>N</Format>                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสแทนที่ 10

...<ReportItems>                          <Textbox Name="textbox286">                            <CanGrow>true</CanGrow>                            <Style>                              <FontSize>7pt</FontSize>// Add the following line.<FontWeight>700</FontWeight>// End of the added line.                              <Format>N</Format>                              <PaddingBottom>2pt</PaddingBottom>                              <PaddingTop>2pt</PaddingTop>                              <VerticalAlign>Middle</VerticalAlign>                            </Style>...

รหัสที่มีอยู่ 11

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Delete the following line.<Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>// End of the deleted line.                    </Visibility>                  </TableRow>                </TableRows>              </Footer>              <Grouping Name="Table1_Group3">...

รหัสแทนที่ 11

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Add the following line.<Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>// End of the added line.                    </Visibility>                  </TableRow>                </TableRows>              </Footer>              <Grouping Name="Table1_Group3">...

รหัสที่มีอยู่ 12

... </Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Delete the following liine.<Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>// End of the deleted line.                    </Visibility>                  </TableRow>                  <TableRow>                    <Height>0.423cm</Height>                    <TableCells>...

รหัสแทนที่ 12

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Add the following line.<Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>// End of the added line.                    </Visibility>                  </TableRow>                  <TableRow>                    <Height>0.423cm</Height>                    <TableCells>...

รหัสที่มีอยู่ 13

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Delete the following line.<Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>// End of the deleted line.                    </Visibility>                  </TableRow>                </TableRows>              </Header>            </TableGroup>...

รหัสแทนที่ 13

...</Textbox>                        </ReportItems>                      </TableCell>                    </TableCells>                    <Visibility>// Add the following line.<Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>// End of the added line.                    </Visibility>                  </TableRow>                </TableRows>              </Header>            </TableGroup>...

ข้อกำหนดเบื้องต้น

คุณต้องมีหนึ่งผลิตภัณฑ์ต่อไปนี้ติดตั้งอยู่เพื่อใช้โปรแกรมแก้ไขด่วนนี้:

  • Microsoft Dynamics NAV 2009 R2 รุ่นภาษาสเปน

  • SP1 2009 นำทางของ Dynamics Microsoft รุ่นภาษาสเปน

ข้อมูลการเอาออก

คุณไม่สามารถเอาโปรแกรมแก้ไขด่วนนี้

สถานะ

Microsoft ยืนยันว่านี่เป็นปัญหาในผลิตภัณฑ์ของ Microsoft ซึ่งแสดงไว้ในส่วน "นำไปใช้กับ"

หมายเหตุ นี่คือบทความ "เผยแพร่เร็ว" ที่สร้างขึ้นโดยตรงจากภายใน Microsoft สนับสนุนองค์กร ข้อมูลในที่นี้ให้ไว้ตามสภาพ เพื่อตอบสนองกับปัญหาที่เกิดขึ้นใหม่ เป็นผลมาจากความเร็วในการทำให้พร้อมใช้งาน วัสดุอาจรวมถึงข้อผิดพลาดการพิมพ์ผิด และอาจแก้ไขได้ตลอดเวลาโดยไม่ต้องแจ้งให้ทราบ ดูข้อตกลงการใช้สำหรับข้อควรพิจารณาอื่น ๆ

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

สํารวจสิทธิประโยชน์ของการสมัครใช้งาน เรียกดูหลักสูตรการฝึกอบรม เรียนรู้วิธีการรักษาความปลอดภัยอุปกรณ์ของคุณ และอื่นๆ