BUG - ITEM TRACING - On Trace

Ravi_ThakkarRavi_Thakkar Member Posts: 392
Hello All,

There is one bug in Item Tracing facility in below code of Codeunit 6520:
IF RecRef.GET("Record Identifier") THEN BEGIN
        IF RecRef.NUMBER = DATABASE::"Production Order" THEN BEGIN
          RecRef.SETTABLE(ProductionOrder);
          [color=#BF0000][b]Description := STRSUBSTNO('%1 %2 %3 %4',ProductionOrder.Status,RecRef.CAPTION,TempTrackEntry."Entry Type","Document No."
);[/b][/color]        END;
Here, Description is the field of "Item Tracing Buffer" table having length 50.
In code hilighted above, 4 field values are going to be assigned in Description.
Field -Maximum Possible Length in Characters
ProdOrder.Status -12 (Values: Simulated,Planned,Firm Planned,Released,Finished)
RecRef.CAPTION -16 (Value: Production Order)
"Entry Type" -15 (Value: Purchase,Output,Consumption,Transfer,Negative Adjmt.,Positive Adjmt.,Sale)
"Document No." -20
Total Possible length -63

System is throwing an error.

So, is there anybody having same bug?
Is there any bug fix available from Microsoft?
Ravi_Thakkar
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com

Comments

  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    ???
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • raveendran.sraveendran.s Member Posts: 119
    These types of bugs are commonly there in the product. The same scenario appears in case invoice while doing get unposted Documents (GRN /Shipments) where the document number is bigger.
    here we have to take call whether the no of characters in the Document No needs to reduced or some character shrinking has to be done in the prefixes.
    --
    Regards,
    Raveendran.BS
Sign In or Register to comment.