Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 175888 articles
Browse latest View live

Post custom field from LedgerJournalTrans To 1. CustTrans and 2. GeneralJournalAccountEntry

$
0
0

Hi,

I'm able to pass a custom field from LedgerJournalTrans to CustTrans on Posting from General Journal by following the below link:

https://vgrandhi.wordpress.com/2013/12/24/post-a-custom-field-to-vendtranscusttrans-through-journal/ 

I have also implemented passing that custom field from LedgerJournalTrans to GeneralJournalAccountEntry by following this link:

http://vsitblog.blogspot.com/2013/08/pass-customized-fields-to.html

The problem I'm facing is, when a customer transaction is posted from general journal, that custom field is passing to CustTrans but not to GeneralJournalAccountEntry (Main Account Ledger Entry via Posting Profile linked to customer). Any clue on which method to look for?

Next I want to implement it for Intercompany transactions. Any tips greatly appreciated.

Thanks.


D365 F&O : Customizing form datasource methods with event handlers or COC

$
0
0

Hi All,

Recently I had a requirement to disable edit,create,delete access from LedgerJournalTransAsset form based on setup on the journal name.

I have used chain of command for the form to perform this function(bellow disabled code) . But i don't know hot to get datasource from active method.

I have also tried to use event handler method OnActivated. but this not work, when i debug the sender.allowEdit still on true.

=> Is there another way to disable edit,create,delete access  of datasource, when user open the form, he shouldn't  have access to change any thing(all fields)

Please find sample code below that i have tried : 

[ExtensionOf(formStr(LedgerJournalTransAsset))]
//[ExtensionOf(formdatasourcestr(LedgerJournalTransAsset, LedgerJournalTrans))]
final class FFY_LedgerJournalTransAsset_Extension
{
[FormDataSourceEventHandler(formDataSourceStr(LedgerJournalTable, LedgerJournalTable), FormDataSourceEventType::Activated)]
public static void LedgerJournalTable_OnActivated(FormDataSource sender, FormDataSourceEventArgs e)
{
sender.allowEdit(false);
sender.allowDelete(false);
sender.allowCreate(false);
}

[FormDataSourceEventHandler(formDataSourceStr(LedgerJournalTransAsset, LedgerJournalTrans), FormDataSourceEventType::Activated)]
public static void LedgerJournalTrans_OnActivated(FormDataSource senderTrans, FormDataSourceEventArgs e)
{
senderTrans.allowEdit(false);
senderTrans.allowDelete(false);
senderTrans.allowCreate(false);
}

/*

public int active()
{
boolean ret;

ret = next active(); // Next Keyword for performing chain of command – here parent init executed

if(ret)
{
LedgerJournalTrans_ds.allowCreate(FalseTrue::False);
LedgerJournalTrans_ds.allowEdit(FalseTrue::False);
LedgerJournalTrans_ds.allowDelete(FalseTrue::False);
}
return ret;
}
*/

}

How to disable the Approve button on Purchase Order Workflow

$
0
0

Hi,

We have a requirement to disable the Approve button in Purchase order workflow as we are doing integration and making it approve through code.

It is not possible to achieve it through workflow config as its giving error while disabling it from configurations.

Please help

Creating Purchase order from sales order through direct delivery in ax 2012 r2

$
0
0

Hi all, 

We are having an issue in linking sales order and purchase order. 

For example: 

I am creating a sales order as shown below with two sales lines.

Then I will click the Direct delivery button on the Action pane to create a purchase order.

Therefore a purchase order is created with two lines from the sales order. I can also able to see the item reference at the line details level.

we created a new service item as shipping to enter the shipping charges. 

I have added one more new line to the purchase order to enter the shipping charges. 

Issue: Now my third line is not linked to the sales order, therefore my item reference is shown null value. 

Can anyone suggest me how to link the third line to the sales order? 

Thanks in advance.

AX 2012 R2 to R3 upgrade - Compile errors??

$
0
0

I did a test upgrade from 2012 R2 CU6 to 2012 R3 CU13.

I have aroud 2k compile errors, most of which don't make sense.  Here is an example:

\Forms\WHSParameters\Methods\numberSeqPreInit

Error: 'The enumeration does not exist'

Code: 

This isn't even an object we use, have used, or have modified.  Shouldn't the upgrade have brought in all the enumerations for 'NumberSeqModule'?  There are hundreds of errors like this one.

Did I do something wrong during the upgrade?  I followed the instructions located here:

https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/scenario-perform-in-place-upgrade-to-ax-2012-r2-or-ax-2012-r3

Modify the Popup Message.

$
0
0

Good Day Sir/Mam,

I need your help.

How can I modify this Popup Message, after I closed my New Vendor the popup message is showing up.

I just want to see the codes behind that popup.

Thanks in Advance

One Credit Note ID can be used to issue two separate credit notes

$
0
0

Hi

i want to if we make one credit note request for same customer by selecting three different invoices with credit amount then is it possible to issue three separate credit note for these three invoices by using same credit note ID.

Class static method extension

$
0
0

Hello,

I am having trouble in using extension for class static method.

Have requirement to add a range to existing OMOperatingUnitHelper class operatingUnitLookup method.

Anyone can help me in this.

Thanks in advance,

Swati Kothari


How to generate free text invoice in RMB currency

$
0
0

Hi Expert,

I am trying to generate free text invoice in USD. However when I post the invoice, its AR is in USD, which the revenue is USD account as well. But I want the revenue account to show in RMB, not just transferred in RMB. How to achieve this?

About the Operation picking list

$
0
0

Hi ~ 

Why i check this check box, but when the Oper.NO 20 is completed and post the route card, it do not generate the picking list ?

Am I wrong with the effect of this checkbox?

Show a field in the table encrypted.

$
0
0
For example, you have a table where you keep passwords. Can we show the field where passwords are entered in a different format?

User over the tempDB

$
0
0

Dear Experts,

On daily basis I have to add a user from the domain over the TempDB and when the server reset the service, that specific user remove automatically which cause issue over the MS Dynamics AX 2012 R2 CU7.

Does anyone has any idea to fix this issue permanently. 

Regards,

Ahmed

Item Lot's receipt / Printing labels wms ax 2012 r3

$
0
0

Hi,

Using wms ax 2012 r3 with CU3
When receiving products Controlled by Fefo, in the mobile device. I had the following problems:

1 - I must enter the batch number and the expiry date manually for each carton for each container even if it is a receipt of the same batch

2- Even if the overall quantity is pre-taught the launch of printing labels is not done at once, I have to launch it manually for each container

Someone would have an idea please?

Need to make editable location dimension during posting of Sales Packing Slip (SalesEditLines form)

$
0
0

Hello all,

Need to make editable location dimension during posting of Sales Packing Slip (SalesEditLines form). How can I make this.

Thank You

Siddhant Singh

How to Get Pending Project Hours Transaction with Service Order Numbers

$
0
0

Hi,

we are creating time-sheets for our workers and after approval of time-sheets through system all the hour transaction lines automatically going to  their respective service orders and project. then we are going in each service order and posting the hours transaction lines that come into service order automatically through time-sheets. 

Here i want to know that is there any way to get report of all pending hour transaction lines (pending for posting) along with service order numbers.

there is another following way to get pending project hour transactions but problem is in this report service order number is not reflecting. but i need the report with their related service order numbers.

Project management and accounting/Common/Transactions/Pending project transactions


Labels of an environment lost

$
0
0

Dear all,

we're working in AX2009 and within AX several environments for our collegues in the related countries are installed. The translations of these environment labels are stored in the corresponding label files, *.ald and *.ali

It now happended that when opening one particular environment only the labels numbers are seen, not the definitions. That happened only in one environment, all others are ok.

Looking in the corresponding label files all the definitions are there, but AX2009 does not show them in the application.

What could be the reason? Where does AX2009 connect the application with the label files?

Could someone help please?

many thanks

egydd5

Release a SO to warehouse

$
0
0

The problem occurs when I release a SO to warehouse many times. I release it to warehouse, then cancel the work and the wave, change some settings and then release the SO again. After a few tries, I start to get this error. even if I create a new SO, I still receive this error. I suppose there is a buffer stuck somewhere but I cannot understand where. I had the same issue also in production - I release to whs, then cancel the work, change settings and release again. After a few tries, the system started to return the same error.

How can I suppress bracketed suffixes on button text?

$
0
0

Hello

Can anyone tell me why some buttons on a form get given suffixes in brackets to the button text? On the example below I have 5 identical buttons with text of A, B, C, D and E respectively. When the form is compiled and run 4 of the buttons get given a bracketted suffix.

I would like to control this behaviour to stop the suffixes appearing. 

Thanks in advance

Stephen

Changes in a tree control

$
0
0

Hi Experts,

My question is regarding the family tree in the AX, I have a design family tree for a project with thousands of components for drawings. Please see the image. 

The problem i am facing is whenever new drawings are added in the family tree, I am not notified. Is there a way to work around this issue? like any kind of report generated or column added which can show the date when the component was created?

Let me know if more information is required on this, I am new user of AX.

Best regards and Thanks,

Sami

X++ Query for a Related Field Fixed Relations

$
0
0

Hi Experts,

Can someone please convert the below SQL Statement to the X++ Query? 

if i simply give the relations to 'true' then the related fixed relations between whsInventTable and whsFilters table are not considering for except for enum '1' 

Note : I want to filter the WHSFilters.FilterTitle field in a Dialog

while select inventTable
join whsInventTable
join whsFilters
where inventTable.ItemId == whsInventTable.ItemId
&&( (whsInventTable.FilterCode[1] == whsFilters.FilterNum && whsFilters.FilterTitle == 0 )
|| (whsInventTable.FilterCode[2] == whsFilters.FilterNum && whsFilters.FilterTitle == 1 )
|| (whsInventTable.FilterCode[3] == whsFilters.FilterNum && whsFilters.FilterTitle == 2 )
|| (whsInventTable.FilterCode[4] == whsFilters.FilterNum && whsFilters.FilterTitle == 3 ))
{
info(inventTable.ItemId);
}

Any Help would be appreciated

Viewing all 175888 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>