x++


Dynamics AX 2009 - Modify insert into smmActivities from ProjTableWizard?


I am an AX newbie, and I need to make a modification to the ProjTableWizard form code and have not been able to locate where I need to make the change. Essentially what I need to do is modify the part of the Wizard process when creating a sub-project. I need to figure out how a line is inserted into the smmActivities table, so that I can modify the “Activity Purpose” field (prefix it with the Activity Purpose of its parent Project from the ProjTable Form) following the “Finish” button click on the ProjTableWizard form. So far I have been unable to figure out how the ProjTableWizard form is triggering this insert into smmActivities (and how the Purpose field is being populated from the Wizard). Any help would be greatly appreciated! Thanks
To locate the code that is creating smmActivities records, set a breakpoint in the smmActivities.insert() method, then run the ProjTableWizard. Once the debugger pops up, you can view the stack trace to see where the insert was called from.
When using the ProjTableWizard to create a project from a template, the smmActivities records are created in the class method HierarchyTemplateCopying.copyActivity(). It looks like the Purpose field is simply copied from the smmActivities records associated with the template.

Related Links

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?
How to filter records in line grid based on selected record in header grid?
Dynamic linking gets cleared when inserting new records
Box::info showing “refreshEx”
How to filter lookup values on a dialogfield in Report Dialog based on another dialogfield in AX 2012 AOT reports?
Adding scrollbar to a Group in AX 2012 form
Table query inconsistent
AX2012 Sales Order Creation through AX Classes
How can I loop over Tables which contain specific characters in their AOT name and delete the data?
Having button that runs code, but doesn't submit data to (or validates against) table

Categories

HOME
phpword
gdb
depth
camera
mstest
newrelic
permissions
elasticsearch-5
endeca
why3
naivebayes
endpoint
onedrive-api
coin3d
chargify
dreamweaver
digital-signature
spring-async
jquery-ias
pimcore
exit
qliksense
maze
fable-f#
jackson-modules
errbot
cppreference
failover
sqlpackage
finagle
dotspatial
eviews
powershell-ise
getpixel
yowsup
sharepoint-workflow
ods
loading
demo
getchar
google-cse
stdmap
excel-dna
quicktime
google-photos
cd-burning
sandcastle
restore
gets
flex4.6
jodd
dbamp
thread-sleep
vhosts
gocql
dllimport
vigenere
linked-tables
teamcity-9.1
broadband
rapidsvn
angular-gettext
post-commit-hook
linkedin-jsapi
jama
template-deduction
terminate
clickbank
mt4j
code-duplication
away3d
windows-phone-8-sdk
apache-abdera
preload
asplinkbutton
android-sdk-2.3
argouml
onmousemove
patricia-trie
web-farm
jsr286
jquery-tools
luajava
commerceserver2007
vs-android
cfwindow
wysiwym
flvplayback
soappy
mathematical-typesetting

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App