Change log in Code

RawHeatRawHeat Member Posts: 63
I have upgraded Navision from Nav 5 to Nav 2009.
I want to create a log for all the changes that I have made in the code for codeunits 22 and 80.
I want to created a log that shows how the code looked in earlier version and what changes are made in the newer version.
Can i get this change log directly from Navison Developer's Toolkit or any other kit/way or do i have to created it manually? :?: :?:

An Example of what i need is as below
Change Log 24. July 2009

+
+
| OBJECT Codeunit 90 Purch.-Post |
+
+
Before (OLD)
Codeunit 90
Properties
PurchLine.AdjustStructureAmounts(PurchHeader);
PurchLine.UpdatePurchLines(PurchHeader);
END;
TotalPurchaseTaxAmount := 0;
PostItemChargeAssgntDiff := FALSE;
PurchLine6.RESET;
PurchLine6.SETRANGE("Document Type","Document Type");
PurchLine6.SETRANGE("Document No.","No.");
After (NEW)
PurchLine.AdjustStructureAmounts(PurchHeader);
PurchLine.UpdatePurchLines(PurchHeader);
END;
TotalPurchaseTaxAmount := 0;
+ TotalVatablePurchaseTaxAmount := 0; // PS53124
PostItemChargeAssgntDiff := FALSE;
PurchLine6.RESET;
PurchLine6.SETRANGE("Document Type","Document Type");
PurchLine6.SETRANGE("Document No.","No.");

Before (OLD)
Codeunit 90
Properties
ChargeItemAmountLoadedOnItem := 0;
ChargeItemInputTaxCredit := 0;
ChargeItemPerOrder := FALSE;
LSTTaxType := FALSE;
IF (PurchLine."Service Tax Amount" + PurchLine."Service Tax eCess Amount" +
PurchLine."Service Tax SHE Cess Amount" <> 0)
THEN BEGIN
IF "Location Code" <> '' THEN BEGIN
After (NEW)
ChargeItemAmountLoadedOnItem := 0;
ChargeItemInputTaxCredit := 0;
ChargeItemPerOrder := FALSE;
LSTTaxType := FALSE;
+ // PS53124.begin
+ TotalQtyInvoiced := 0;
+ TotalTaxAmount := 0;
+ // PS53124.end
IF (PurchLine."Service Tax Amount" + PurchLine."Service Tax eCess Amount" +
PurchLine."Service Tax SHE Cess Amount" <> 0)
THEN BEGIN
IF "Location Code" <> '' THEN BEGIN

Comments

  • matttraxmatttrax Member Posts: 2,309
    Try downloading Beyond Compare. I think it's www.scootersoftware.com, but Google it to be sure. It's only good for 30 days, but I find it extremely useful.
  • ara3nara3n Member Posts: 9,256
    You can look at this tool.

    http://www.mergetool.com/
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • RawHeatRawHeat Member Posts: 63
    Thanks for replies...

    I have used Beyond compare but i dint find anything that creates a Log as i require.. I ve never tried Merge tool... I will check it. Hope so Merge Tool works
  • RawHeatRawHeat Member Posts: 63
    Hi ara3n , thanks for your help but Merge tools is actually used for very old versions of navision. Also it includes fob and fdb files for the older versions of navision. when i say old I mean versions even before NAV 2.0. There is no setup file too. do i need to use the same package or any new versions have come for Merge tool???
  • ara3nara3n Member Posts: 9,256
    you can use mergetool with new version. even with 2009.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • RawHeatRawHeat Member Posts: 63
    yes absolutely i can use merge tool with newer version.. but can change log be created from it?????

    ultimately what i want to do is not merging but create a change log??
  • kinekine Member Posts: 12,562
    Araxis have export to HTML...

    Diff result is description of the changes...

    just look at the tools I have posted...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • RawHeatRawHeat Member Posts: 63
    YA KINE actually i was checking the list of tools provided by u.

    i got a tool called "diff".. just checking it out...

    hope so i get the same format as i ve shown above...
  • kinekine Member Posts: 12,562
    Descriptions of different Diff output formats: e.g. there
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • RawHeatRawHeat Member Posts: 63
    ya i understood. in earlier post when u mentioned diff it meant difference.
    but i actually got a tool call diff that compares text files.
    but got no help from there.

    actually Beyond compare is the best from those i found till now.
    it exports the difference in several formats out of which one format comes very close to what i require.

    still friends if any of u find accurate answer plz do post ur suggestion
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.