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

Ax 4.0 X++: Run a class when a file is created in a folder
How to force/format two decimal places
Regarding X++ query
MultiSelectionHelper not working as expected
Sorting by custInvoiceJour.Dimension
Refresh the main screen in ax dynamics 2009
How to insert into a table field with value from a display method dependent of string
x++ cannot read registry entry
How do I get the caller Form's name in the Insert() of a table in AX 2012?
How to lookup into another table using EDT AX 2012
Set a Date Value to a Date Field in AX2012
Determine if a job is running in X++ code
Dynamics AX 2012 parsing Int32 to table field integer
Cancel Sales order packing slip through x++
Transferring open account records between customers
How to make sure that a form is only opened once?

Categories

HOME
algorithm
beautifulsoup
developer-tools
fpga
powerpoint
jmx
nuget
yandex
soa
big-o
limit
regular-language
nuget-package
trac
boto3
g++
pcl-crypto
dkim
tput
automatic-ref-counting
speech-synthesis
code-generation
flash-player
flatpak
parameter-passing
azure-iot-hub
mvc-mini-profiler
undertow
imagemap
pagespeed
flask-sqlalchemy
android-sharedpreferences
amazon-quicksight
outliers
spotipy
errbot
boost-asio
scrollview
event-flow
processwire
timing
subclipse
microsoft-metro
android-exoplayer
apache-directory
vaadin-charts
strftime
opencmis
plan-9
hammer.js
dtsearch
insight
zenhub
payara-micro
video-conferencing
opengl-4
reshape
offline.js
bootstrap-tags-input
gets
cronexpression
pytables
grails-plugin
reporting-services-2012
winusb
dotnetnuke-7
uicolor
drawstring
synonym
boost-serialization
design-principles
inf
state-restoration
vhosts
gocql
dllimport
xenomai
wiredep
django-urls
amiga
alloy-ui
uvc
osc
gamekit
openbabel
adehabitathr
nsmenu
mdichild
high-resolution
sphinxql
scrypt
c++builder-xe5
windows-phone-8-sdk
monotouch.dialog
iboutlet
cuda-gdb
mapping-by-code
httponly
wiimote
cgimage
google-maps-mobile
jquery-tools
rmdir
timthumb
addchild
glui
wysiwym

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