อาการ
หลังจากที่คุณติดตั้งรุ่นล่าสุดของรายงานรายการบิลของลูกค้า ถ้าคุณใช้อินวอยซ์กับธุรกรรมการชำระเงินที่เกี่ยวข้อง และจากนั้น ลงรายการบัญชีใน 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 ของวัตถุวัตถุ
หมายเหตุ คุณไม่จำเป็นต้องมีสิทธิ์ไปยังร้านค้าข้อมูลยกเว้นว่าคุณจำเป็นต้องซ่อมแซมข้อมูล
การเปลี่ยนแปลงรหัส
หมายเหตุ เสมอทดสอบรหัสแก้ไขในสภาพแวดล้อมการควบคุมก่อนที่คุณนำไปใช้แก้ไขปัญหากับคอมพิวเตอร์ของคุณผลิตเมื่อต้องการแก้ไขปัญหานี้ ให้ทำตามขั้นตอนเหล่านี้:
-
เปลี่ยนรหัสในรายงานรายการบิลของลูกค้า (12117) เป็นดังนี้:รหัสที่อยู่ 1
...DataItemTableView=SORTING(Cust. Ledger Entry No.,Entry Type,Posting Date) WHERE(Entry Type=CONST(Application)); OnPreDataItem=BEGIN// Delete the following line.CustLedgEntry1.COPYFILTER("Posting Date", "Detailed Cust. Ledg. Entry"."Posting Date"); // IT0004// End of the deleted line. END; OnAfterGetRecord=BEGIN...
รหัสแทนที่ 1
...DataItemTableView=SORTING(Cust. Ledger Entry No.,Entry Type,Posting Date) WHERE(Entry Type=CONST(Application)); OnPreDataItem=BEGIN// Add the following line.FindAppliedDtldCustLedgEntry(CustLedgEntry1."Entry No.");// End of the added line. END; OnAfterGetRecord=BEGIN...
รหัสที่มีอยู่ 2
... { END; OnAfterGetRecord=BEGIN// Delete the following lines.IF ("Entry No." = 0) OR ("Unapplied by Entry No." <> 0) OR("Document Type" IN["Document Type"::Payment,"Document Type"::Refund,"Document Type"::Dishonored,"Document Type"::" "])THENShowDetailedCustLedgerEntry := TRUEELSEShowDetailedCustLedgerEntry := FALSE;// IT0015.begin//VSTF275923 begin// VSTF305887.begin//IF PrintCustLedgEntry2 THENIF PrintCustLedgEntry2 AND ("Document Type" <> "Document Type"::Payment) THENCurrReport.SKIP;// VSTF305887.end//CurrReport.SKIP;//VSTF275923 end// IT0015.endCustLedgEntry3.GET("Applied Cust. Ledger Entry No.");CustLedgEntry3.CALCFIELDS("Original Amt. (LCY)");// IT0004.beginClosedByAmountLCY := "Amount (LCY)";TotalForCustomer += "Amount (LCY)";// IT0004.endTotalClosedByAmntLCY += "Amount (LCY)"; // IT0005// End of the deleted lines. END; DataItemLink=Cust. Ledger Entry No.=FIELD(Entry No.);...รหัสแทนที่ 2
...END; OnAfterGetRecord=BEGIN// Add the following lines.IF NOT TempDetailedCustLedgEntryApp.GET("Entry No.") THENCurrReport.SKIP;CustLedgEntry3.GET("Cust. Ledger Entry No.");CustLedgEntry3.CALCFIELDS("Original Amt. (LCY)");AppliedDocumentTypeText := FORMAT(CustLedgEntry3."Document Type");ClosedByAmountLCY := "Amount (LCY)";TotalForCustomer -= "Amount (LCY)";TotalClosedByAmntLCY -= "Amount (LCY)";// End of the added lines. END; DataItemLink=Cust. Ledger Entry No.=FIELD(Entry No.);...
รหัสที่มีอยู่ 3
... SectionWidth=24450; SectionHeight=846; OnPreSection=BEGIN// Delete the following line.CurrReport.SHOWOUTPUT(ShowDetailedCustLedgerEntry)// End of the deleted line. END; }...
รหัสแทนที่ 3
...SectionWidth=24450; SectionHeight=846; OnPreSection=BEGIN// Add the following lines.IF ("Unapplied by Entry No." <> 0) THENCurrReport.SHOWOUTPUT(FALSE);// End of the added lines. END; }...
รหัสที่มีอยู่ 4
...ForeColor=65535; SourceExpr="Document Type" = "Document Type"::Dishonored; DataSetFieldName=Document_Type_____Document_Type___Dishonored }// Delete the following lines.{ 1130123;TextBox ;24000;0 ;150 ;423 ;Visible=No;SourceExpr=ShowDetailedCustLedgerEntry;DataSetFieldName=ShowDetailedCustLedgerEntry }// End of the deleted lines. } } { PROPERTIES...
รหัสแทนที่ 4
... ForeColor=65535; SourceExpr="Document Type" = "Document Type"::Dishonored; DataSetFieldName=Document_Type_____Document_Type___Dishonored } } } { PROPERTIES...
-
เปลี่ยนแปลงรหัสนี้ในตัวแปรส่วนกลางในรายงานรายการบิลของลูกค้า (12117) เป็นดังนี้:รหัสที่อยู่ 1
...Text000@1130000 : TextConst 'ENU=Please specify the Ending Date'; Text001@1130001 : TextConst 'ENU=The Bank Receipts Risk Period Value must not be blank in Sales Setup'; SalesSetup@1130002 : Record 311; EndingDate@1130003 : Date; ExposureDate@1130004 : Date; OnlyOpened@1130005 : Boolean;...
รหัสแทนที่ 1
... Text000@1130000 : TextConst 'ENU=Please specify the Ending Date'; Text001@1130001 : TextConst 'ENU=The Bank Receipts Risk Period Value must not be blank in Sales Setup'; SalesSetup@1130002 : Record 311;// Add the following lines.CustLedgEntry3@1130130 : Record 21;TempDetailedCustLedgEntryApp@1130131 : TEMPORARY Record 379;// End of the added lines. EndingDate@1130003 : Date; ExposureDate@1130004 : Date; OnlyOpened@1130005 : Boolean;...
รหัสที่มีอยู่ 2
... TotExpAmntForCust@1130011 : Decimal; BalanceDue@1130012 : Decimal; NULL@1130013 : DateFormula;// Delete the following lines.CustLedgEntry3@1130130 : Record 21;PrintCustLedgEntry2@1130014 : Boolean;ShowDetailedCustLedgerEntry@1130015 : Boolean INDATASET;// End of the deleted lines. BEGIN {...
รหัสแทนที่ 2
... TotExpAmntForCust@1130011 : Decimal; BalanceDue@1130012 : Decimal; NULL@1130013 : DateFormula;// Add the following lines.PrintCustLedgEntry2@1130014 : Boolean;AppliedDocumentTypeText@1130132 : Text[30];LOCAL PROCEDURE FindAppliedDtldCustLedgEntry@1130007(CustLedgerEntryNo@1130000 : Integer);VARDetailedCustLedgEntry@1130001 : Record 379;DetailedCustLedgEntryApplied@1130003 : Record 379;BEGINTempDetailedCustLedgEntryApp.RESET;TempDetailedCustLedgEntryApp.DELETEALL;DetailedCustLedgEntry.SETRANGE("Cust. Ledger Entry No.",CustLedgerEntryNo);DetailedCustLedgEntry.SETRANGE("Entry Type",DetailedCustLedgEntry."Entry Type"::Application);DetailedCustLedgEntry.SETRANGE(Unapplied,FALSE);DetailedCustLedgEntryApplied.SETRANGE("Entry Type",DetailedCustLedgEntryApplied."Entry Type"::Application);IF DetailedCustLedgEntry.FINDSET THENREPEATDetailedCustLedgEntryApplied.SETRANGE("Applied Cust. Ledger Entry No.",DetailedCustLedgEntry."Applied Cust. Ledger Entry No.");DetailedCustLedgEntryApplied.SETFILTER("Cust. Ledger Entry No.",'<>%1',CustLedgerEntryNo);DetailedCustLedgEntryApplied.SETRANGE("Customer No.",DetailedCustLedgEntry."Customer No.");DetailedCustLedgEntryApplied.SETRANGE("Transaction No.",DetailedCustLedgEntry."Transaction No.");IF DetailedCustLedgEntryApplied.FINDSET THENREPEATTempDetailedCustLedgEntryApp := DetailedCustLedgEntryApplied;IF TempDetailedCustLedgEntryApp.INSERT THEN;UNTIL DetailedCustLedgEntryApplied.NEXT = 0;UNTIL DetailedCustLedgEntry.NEXT = 0;END;// End of the added lines. BEGIN {...
-
เปลี่ยนรหัสในรายงานรายการบิลของบัญชีผู้จัดจำหน่าย (12116) เป็นดังนี้:รหัสที่อยู่ 1
... </TableRow> </TableRows> </Header> <Visibility> <Hidden>=IIF(Fields!ShowDetailedCustLedgerEntry.Value,TRUE,FALSE)</Hidden> </Visibility> </TableGroup> </TableGroups> <Top>2.22222cm</Top>...
รหัสแทนที่ 1
... </TableRow> </TableRows> </Header>// Delete the following lines.<Visibility><Hidden>=IIF(Fields!ShowDetailedCustLedgerEntry.Value,TRUE,FALSE)</Hidden></Visibility>// End of the deleted lines. </TableGroup> </TableGroups> <Top>2.22222cm</Top>...
รหัสที่มีอยู่ 2
...Field Name="Detailed_Cust__Ledg__Entry_Cust__Ledger_Entry_No_"> <DataField>Detailed_Cust__Ledg__Entry_Cust__Ledger_Entry_No_</DataField> </Field> <Field Name="ShowDetailedCustLedgerEntry"> <DataField>ShowDetailedCustomerLedgerEntry</DataField> </Field> </Fields> <Query> <CommandText />...
รหัสแทนที่ 2
...<Field Name="Detailed_Cust__Ledg__Entry_Cust__Ledger_Entry_No_"> <DataField>Detailed_Cust__Ledg__Entry_Cust__Ledger_Entry_No_</DataField> </Field>// Delete the following lines.<Field Name="ShowDetailedCustLedgerEntry"><DataField>ShowDetailedCustomerLedgerEntry</DataField></Field>// End of the deleted lines. </Fields> <Query> <CommandText />...
ข้อกำหนดเบื้องต้น
คุณต้องมีหนึ่งผลิตภัณฑ์ต่อไปนี้ติดตั้งอยู่เพื่อใช้โปรแกรมแก้ไขด่วนนี้:
-
Microsoft Dynamics NAV 2009 R2 รุ่นภาษาอิตาลี
-
SP1 2009 นำทางของ Dynamics Microsoft รุ่นภาษาอิตาลี
ข้อมูลการเอาออก
คุณไม่สามารถเอาโปรแกรมแก้ไขด่วนนี้
สถานะ
Microsoft ยืนยันว่านี่เป็นปัญหาในผลิตภัณฑ์ของ Microsoft ซึ่งแสดงไว้ในส่วน "นำไปใช้กับ"
หมายเหตุ นี่คือบทความ "เผยแพร่เร็ว" ที่สร้างขึ้นโดยตรงจากภายใน Microsoft สนับสนุนองค์กร ข้อมูลในที่นี้ให้ไว้ตามสภาพ เพื่อตอบสนองกับปัญหาที่เกิดขึ้นใหม่ เป็นผลมาจากความเร็วในการทำให้พร้อมใช้งาน วัสดุอาจรวมถึงข้อผิดพลาดการพิมพ์ผิด และอาจแก้ไขได้ตลอดเวลาโดยไม่ต้องแจ้งให้ทราบ ดูข้อตกลงการใช้สำหรับข้อควรพิจารณาอื่น ๆ