x++


How do I get the previous field value in the modifiedField method of a Dynamic Ax table?


I would like to be able to perform some logic in the table.modifiedField method which compares the previous value of a field to the new value. How do I get to the previous value?
The record buffer as it was before any modifications is available through the this.orig() method.
public void modifiedField(fieldId _fieldId)
{
super(_fieldId);
info(strfmt("Field number %1 changed from %2 to %3",_fieldId,this.orig().(_fieldId),this.(_fieldId)));
}

Related Links

How can you get a detailed error descriptions in Dynamics AX?
How to get the length of an array?
X++ loop through lines in grid control
Concatenating row values in x++
How do you access a macro in the AOT macro node?
How can I set the Backgoundcolor of an AX2012 Action Pane Button
How to Edit address using X++ in AX 2012
Number sequence issue Ax 2012?
Find code that's running in a Batch Job
What is the _isMexican boolean for in the Global::Checkpower method?
AlwaysOnTop property not behaving properly
Boolean AND logic in Microsoft Dynamics AX 2012 AIF QueryCriteria
Table: PrintMgmtSettings Field: Printjobsettings(Blob)
What happened to the hrplimittablerelationship table in ax-2012-r2?
Why is my changes ignored to releaseupdate scripts in dynamics ax 2012 r2
What is “old sys” exactly and why would I receive errors in 2012 because of a missing Macro?

Categories

HOME
cygwin
beautifulsoup
embedded
microsoftgraph
turing-machines
gdb
cheerio
jmeter
pyqt
case
themes
battery
oracle-apex-5
r-googlesheets
carousel
alsa
rds
mips
parameters
big-o
onclick
ado.net
polling
modal-dialog
barcode
qpython
spin
arangodb
reactive-programming
mautic
why3
emoji
angular-dart
scrolltop
parameter-passing
microsoft-dynamics-nav
android-7.0-nougat
jersey-1.0
cfml
connector
blade
pagespeed
angular-routing
joptionpane
interpreter
roundup
perlbrew
game-theory
gpio
jasmine-node
amazon-quicksight
fractions
subclass
browser-sync
send
r-grid
mailkit
jett
slacktextviewcontroller
openerp-7
xcode7.3
reactivekit
ideascript
nohup
railstutorial.org
laravel-elixir
softmax
outputcache
placeholder
xbmc
corruption
carrot2
amq
lsyncd
bootstrap-tags-input
cubism.js
burrows-wheeler-transform
signalr.client
x-tag
installshield-2010
qiime
omniauth-facebook
hadoop-partitioning
blitline
gocql
text-search
mod-proxy
uncompress
openbabel
apache-spark-1.3
angular-gettext
jbake
android-vibration
deform
appserver
jqmodal
verold
terminate
accesscontrolexception
visual-studio-express
notorm
isqlquery
hidapi
node-blade
abstract-data-type
argouml
joomla3.1
pstack
jquery-blockui
vfs
httponly
pinch
landscape-portrait
webdev.webserver
django-paypal
socketserver
collectionviewsource
interop-domino
sifr3
fault-tolerance
sqlobject
java1.4

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App