Just press
STRG + ALT + Arrow Keys:
- UP : rotate 0° (normal position)
- RIGHT: rotate 270°
- DOWN: rotate 180°
- LEFT: rotate 90°
TECHNICAL TOPICS: MICROSOFT DYNAMICS AX & DYNAMICS 365 FOR FINANCE AND OPERATIONS - ENTERPRISE EDITION
NumberSeqFormHandler numberSequence;2. Add a new method for the numberSeqFormHandler on the form
NumberSeqFormHandler numberSeqFormHandler() { if (!numberSequence) { numberSequence = numberSeqFormHandler::newForm( NumberSequenceReference::find( typeId2extendedTypeId(typeID(__EDT_NumSeqId__))).NumberSequence, element, __Table_DS, fieldNum(__Table__, __NumSeqId__)); } return numberSequence; }3. Override the datasource method create() / delete() / write() / validateWrite()
public void create(boolean _append = false) { super(_append); element.numberSeqFormHandler().formMethodDataSourceCreate(); } public void write() { ttsbegin; super(); element.numberSeqFormHandler().formMethodDataSourceWrite(); ttscommit; } public boolean validateWrite() { boolean ret; ; ret = super(); ret = ret && element.numberSeqFormHandler().formMethodDataSourceValidateWrite(); return ret; } public void delete() { ttsbegin; element.numberSeq().formMethodDataSourceDelete(); super(); ttscommit; } public void linkActive() { element.numberSeqFormHandler().formMethodDataSourceLinkActive(); super(); }And remeber that continuous number sequences can only be used in transactions (between ttsbegin; and ttscommit;)
super(); ... info(this.query().dataSourceNo(1).toString());
or
info(this.query().dataSourceName("inventTrans").toString());