x++


How do I get the caller Form's name in the Insert() of a table in AX 2012?


How do I get the caller Form's name in the Insert() of a table in AX 2012?
Check the dataSource's formRun.
FormDataSource fds;
FormName fn;
if (this.isFormDataSource())
{
fds = this.dataSource() as FormDataSource;
if (fds)
{
fn = fds.formRun().name();
}
}

Related Links

how to protect the x++ source code
About Data Dictionary
setTimeOut and local function
Passing FromControl in a lookup override method
Reference control from datamethod in generated design
Extended EDT does not compare dates
How to display a tooltip in Dynamics AX 4.0?
how to disable intellisense in ax2012's code editor?
How do you “Run” a class
General quesions about Dynamics Ax
Convert date into julian date
How to change the level of AX info messages
X++ unbound control
WeekOfYear in X++ using .net lib
How to tell what module has called the program
Getting the index of an array element of EDT Dimension

Categories

HOME
phpword
assembly
scikit-learn
jpa
codenvy
css3
hessian
solaris
jsf-2.2
ms-access-2016
aws-cli
vxml
flume
okhttp
endeca
android-securityexception
ipmitool
angular-dart
dynamic-sql
job-scheduling
null-pointer
html5-appcache
foreign-keys
nim
connector
breadth-first-search
user-experience
ios10.2
epsilon
displaytag
has-and-belongs-to-many
apktool
android-things
carrierwave
gitlab-api
zend-debugger
wacom
jett
twos-complement
instantiation
hunspell
navigator
numpy-broadcasting
apiary.io
sql-server-ce
metawidget
jvmti
p4merge
azure-arm
trigonometry
levenshtein-distance
memory-mapping
strftime
double-click
jboss-4.2.x
wcftestclient
lightning
qtranslate
spring-data-couchbase
android-testing
cup
bbpress
seq
java-websocket
taocp
seek
spring-cloud-feign
rspec2
i386
hclust
clipboard.js
np-spring
kendo-upload
maybe
dynamics-nav-2016
sapi
wiredep
nutiteq
osc
xmltype
adehabitathr
theos
primitive-types
iso-prolog
cocos3d
device-tree
rcaller
decoupling
drupal-nodes
eclipse-kepler
light
windows-phone-8-sdk
superscrollorama
iboutlet
subgraph
extconf.rb
hibernateexception
pinch
listactivity
google-ajax-api
codebase
instantiationexception
opml
duplex
cfwindow
strtod
scrubyt
todos
localizable.strings
dsoframer
soappy
online-storage
appliance

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