4.00 changes vs. 370

Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
Today, I've upgraded one of my add-ons to 4.0 and I've noticed some changes in Navision 4.00 which affects also add-on programming.

1.

On the Contact card and all related (Customer, Vendor, etc) this is added in the OnFindRecord Trigger
RecordFound := FIND(Which);
CurrForm.EDITABLE := RecordFound OR (GETFILTER("No.") = '');
EXIT(RecordFound);

2.
The document dimension table is run modaly from code instead of from the menuitem with runformlink...
ShowDocDim()
DocDim.SETRANGE("Table ID",DATABASE::"Sales Header");
DocDim.SETRANGE("Document Type","Document Type");
DocDim.SETRANGE("Document No.","No.");
DocDim.SETRANGE("Line No.",0);
DocDims.SETTABLEVIEW(DocDim);
DocDims.RUNMODAL;
GET("Document Type","No.");

Has anyone else noticed changes like this?

I am going to implement these changes in my add-on.
Sign In or Register to comment.