Hi Tore,
You need to add the menuitem to the form CustTable.
Exportfile for AOT version 1.0 or later
Formatversion: 1
***Element: FTM
; Microsoft Dynamics MENUITEM : CustSort unloaded
;
--------------------------------------------------------------------------------
VERSION 1
MENUITEM #CustSort
Type: 2
PROPERTIES
Name #CustSort
ObjectType #Report
Object #CustSort
ENDPROPERTIES
ENDMENUITEM
***Element: RG
; Microsoft Dynamics Report: CustSort nicht geladen
;
--------------------------------------------------------------------------------
VERSION 1
REPORT #CustSort
PROPERTIES
Name #CustSort
ENDPROPERTIES
METHODS
Version: 3
SOURCE #fetch
#public boolean fetch()
#{
# boolean ret;
# custTable ct;
# ;
# ct = fds.getFirst(1);
# while (ct)
# {
# this.send(ct);
# ct = fds.getNext();
# ret = true;
# }
#
# return ret;
#}
ENDSOURCE
SOURCE #init
#public void init()
#{
# FormRun fr;
#
# super();
# fr = element.args().caller();
# fds = fr.dataSource();
#}
ENDSOURCE
SOURCE #classDeclaration
#public class ReportRun extends ObjectRun
#{
# FormDataSource fds;
#}
ENDSOURCE
ENDMETHODS
QUERY #Query
PROPERTIES
Name #Query
Version #3
NextUniqueId #1001
ENDPROPERTIES
METHODS
Version: 3
SOURCE #classDeclaration
#public class QueryRun extends ObjectRun
#{
#}
ENDSOURCE
ENDMETHODS
BLOCKS
BLOCK #CustTable
PROPERTIES
Name #CustTable
Table #CustTable
UniqueId #1000
ENDPROPERTIES
FIELDLIST
PROPERTIES
ENDPROPERTIES
ENDFIELDLIST
SORTING
ENDSORTING
LINES
ENDLINES
BLOCKS
ENDBLOCKS
ENDBLOCK
ENDBLOCKS
ENDQUERY
DESIGNS
DESIGN
PROPERTIES
Name #ReportDesign1
ReportTemplate #InternalList
ENDPROPERTIES
AUTOBODIES
PROPERTIES
ENDPROPERTIES
AUTOBODY #CustTable
PROPERTIES
Name #CustTable_1
ENDPROPERTIES
STRFIELD
PROPERTIES
Name #CustTable_AccountNum
Table #CustTable
DataField #AccountNum
ENDPROPERTIES
ENDSTRFIELD
STRFIELD
PROPERTIES
Name #CustTable_Name
Table #CustTable
DataField #Name
ENDPROPERTIES
ENDSTRFIELD
STRFIELD
PROPERTIES
Name #CustTable_NameAlias
Table #CustTable
DataField #NameAlias
ENDPROPERTIES
ENDSTRFIELD
STRFIELD
PROPERTIES
Name #CustTable_Phone
Table #CustTable
DataField #Phone
ENDPROPERTIES
ENDSTRFIELD
ENDAUTOBODY
ENDAUTOBODIES
ENDDESIGN
ENDDESIGNS
ENDREPORT
***Element: PRN
; Microsoft Dynamics Project : SortFromForm unloaded
;
--------------------------------------------------------------------------------
PROJECTVERSION 2
PROJECT #SortFromForm
SHARED
PROPERTIES
Name #SortFromForm
ENDPROPERTIES
GROUP #Object1
PROPERTIES
Name #Object1
ProjectGroupType #All
GroupMask #
PreventEditProperties #No
ENDPROPERTIES
BEGINNODE
FILETYPE 0
UTILTYPE 2
UTILOBJECTID 0
NODETYPE 296
NAME #CustSort
ENDNODE
ENDGROUP
BEGINNODE
FILETYPE 0
UTILTYPE 18
UTILOBJECTID 0
NODETYPE 202
NAME #CustSort
ENDNODE
ENDPROJECT
***Element: END
,,
Mit freundlichen Grüßen / Best regards / Med venlig hilsen
Jesper Jørgensen / Abt. NMT-XD
Senior Product Manager
arvato systems | Technologies GmbH
An der Autobahn 18
33311 Gütersloh
[EMAIL PROTECTED] <blocked::blocked::blocked::mailto:[EMAIL PROTECTED]>
Phone: +49 5242 / 40 80 54
Fax: +49 5242 / 40 80 40
Mobile: +49 172 / 571 03 34
http://www.as-T.biz <blocked::blocked::http://www.as-t.biz/>
arvato systems | Technologies GmbH
Joachim-Jungius-Str. 9, 18059 Rostock
Geschäftsführung: Erwin Pietz, Matthias Moeller
Amtsgericht Rostock - HRB 7497
________________________________
"Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und
ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie
sicher, dass die Information in dieser Nachricht ausschließlich an die
adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie
gesendet worden sein, dann informieren Sie bitte umgehend den Absender und
löschen Sie die Nachricht. Vielen Dank."
"The information in this e-mail and any attachments is confidential. The
information must only be held in areas that have controlled and limited access
to the addressed persons. If this e-mail has been sent to you in error, please
immediately notify the sender and delete the e-mail. Thanks."
________________________________
________________________________
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag
von torre_no
Gesendet: Donnerstag, 15. Mai 2008 12:37
An: [email protected]
Betreff: [development-axapta] How do I know which field is sorted at, and the
sortorder in a grid?
I shall make a report which is sorted at the same field as the user has
chosen in the grid. IUs it possible? How do I know which field the user
has clicked (for sorting)?
Tore
[Non-text portions of this message have been removed]