I am new to Ms Dynamics Ax. How can we access currently active Business Unit from Morphx. I need to add one textField in Create Sales Order form that will automatically take currently Active Business Unit. Any help will be appreciated .. Thanx!!
Accessing active Business Unit from Morphx Ax 2012
46 Views Asked by Hassan At
1
There are 1 best solutions below
Related Questions in AXAPTA
- Nested Json using Data Contract Class in AX 2012 R3
- Pass parameter to validateWrite method in table
- Is there a way to extend a table to be a valid time state table
- How to add OffsetLedgerDimension to Fixed Asset Journal by x++?
- Convert 'Container' type data into serialization without X++ Conpeek
- How to manage dual-sync when single table data is saved to multiples tables from staging table in F&O?
- Join expected in select statement on X++
- SQL filter from range expression like used in Dynamics Ax 2012
- Change checkbox value without datasource and other than the current one AX2012
- Export all records from grid in ax 2012 r2
- export more than 1 million records from dynamics-365-operations (AX 365)
- CODA format d365 fin and ops automate bank statement import
- Declaration class as array in AX 2012
- Labels in Dynamics AX V4
- Resource not opening Excel file in ax 2012
Related Questions in X++
- Nested Json using Data Contract Class in AX 2012 R3
- getting errors while installing ISV licence using AXUpdateInstaller.exe devinstall for D365FO
- How to call OriginalDocuments form by code D365fo
- Pass parameter to validateWrite method in table
- Is there a way to extend a table to be a valid time state table
- How to add OffsetLedgerDimension to Fixed Asset Journal by x++?
- D365 F&O Add field to Expense Journal Lines that is available in Invoice Proposal
- D365 Countdown Timer
- Convert 'Container' type data into serialization without X++ Conpeek
- Join expected in select statement on X++
- Change checkbox value without datasource and other than the current one AX2012
- Next call on Chain of Command in X++ D365 FO
- Export all records from grid in ax 2012 r2
- export more than 1 million records from dynamics-365-operations (AX 365)
- Retrieve data from a display method in D365 FO, x++
Related Questions in MORPH-X
- Auto Extract Interface in AX2012 X++ Code Editor
- Dynamics AX How I can open a table in a brand new window and not inside developer window
- Changing the Background- Color of the X++ Editor of MSDAX
- Compiler throwing error as variable is not declared X++
- CustTableListPage filtering is too slow
- AX 2012 legacy report (ReportRun) called from an AIF web service
- Accessing active Business Unit from Morphx Ax 2012
- Suspend a transactions using code with Example
- Axapta 2009 Report PagesTotal
- Is there a way to add more text to a range value?
- how to set autosum property in x++ for a morphx report
- What do I do when MorphX won't let me check in?
- Helptext property of Button
- Add a Relation foreign key in AX2012
- Create new unique field in table CustTable
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you want the active Company you are working with and the user ist logged in, the answer is
curext();
If your are looking for the Company the SalesOrder saved in you can also Access the
SalesTable.DataAreaId