Error message while navigating posted sales invoice

sudhiratnasudhiratna Member Posts: 25
Hi All,

I am using NAV R2 version. I am facing the following problem while navigating the posted sales invoices. ( Prepayment applicable)

“This combination of document number and posting date has been used more than once”.


Could anyone tell me the reason for the above error message.

Best regards

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    This is not an error message...Its a message..

    This is the code combination for this Message..
    IF DocExists THEN BEGIN
      IF (NoOfRecords(DATABASE::"Cust. Ledger Entry") + NoOfRecords(DATABASE::"Vendor Ledger Entry") <= 1) AND
         (NoOfRecords(DATABASE::"Sales Invoice Header") + NoOfRecords(DATABASE::"Sales Cr.Memo Header") +
          NoOfRecords(DATABASE::"Sales Shipment Header") + NoOfRecords(DATABASE::"Issued Reminder Header") +
          NoOfRecords(DATABASE::"Issued Fin. Charge Memo Header") + NoOfRecords(DATABASE::"Purch. Inv. Header") +
          NoOfRecords(DATABASE::"Return Shipment Header") + NoOfRecords(DATABASE::"Return Receipt Header") +
          NoOfRecords(DATABASE::"Purch. Cr. Memo Hdr.") + NoOfRecords(DATABASE::"Purch. Rcpt. Header") +
          NoOfRecords(DATABASE::"Service Invoice Header") + NoOfRecords(DATABASE::"Service Cr.Memo Header") +
          NoOfRecords(DATABASE::"Service Shipment Header") +
          NoOfRecords(DATABASE::"Transfer Shipment Header") + NoOfRecords(DATABASE::"Transfer Receipt Header") <= 1)
      THEN BEGIN
       // 
      END ELSE BEGIN
        IF DocNoFilter <> '' THEN
          IF PostingDateFilter = '' THEN
            MESSAGE(Text011)
          ELSE
            MESSAGE(Text012);  // This is the message....
      END;
    
  • Alex_ChowAlex_Chow Member Posts: 5,063
    That message just means that the document number has been used somewhere else.
  • krikikriki Member, Moderator Posts: 9,112
    [Topic moved from 'Navision Financials' forum to 'NAV/Navision Classic Client' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.