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

Form DataSource Deleting EventHandler

$
0
0

i wanna prevent the user from delete a record based on condition

i used eventhandler for form datasource deleting eventhandler i used the below code

[FormDataSourceEventHandler(formDataSourceStr(PurchTable, PurchTable), FormDataSourceEventType::Deleting)]
public static void PurchTable_OnDeleting(FormDataSource sender, FormDataSourceEventArgs e)
{
// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult();

PurchTable purchTable = sender.cursor() ;

if(purchTable.purchid == '1234')
checkFailed("you can not delete this PO");


}
but still can deleted it
i tried to get the eventargs result by below code

// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult();

but it gives and error i wanted to do like that

// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult()

if(purchTable.purchid == '1234')
result = result  && checkFailed("you can not delete this PO");

but it gives an error

any help please?


Management Reporter 2012 Installation Files

$
0
0

Hello Everyone.

We lost the server that had all our installation media for legacy applications which included Dynamics AX 2009 and Management reporter 2012. I need to get the installer for Management Reporter 2012. I can't seem to find it anywhere on the internet. Can someone direct me where I can get it?

Issues with downloading listings of Accounts receivable from the General ledger

$
0
0

Hi Guys,

I have been having issues generating customer listings that agree with the account receivables balance in the general ledger.

I was able to use the detailed listing download functionality and I do not know how to include a field for customer name.

Can anyone help?

Is the newly released Subscription Billing and Projects Linkage only for basic T&M projects with no accrual and no WIP?

$
0
0

Is the newly released Subscription Billing and Projects Linkage only for basic T&M projects with no accrual and no WIP? 

Scenario 1. if costs are posted to WIP then on billing schedule driven invoicing the WIP costs should move to project cost/P&L. However it does not happen

Scenario 2. If costs are posted to P&L and there is revenue accrual then on billing schedule driven invoicing the accrued revenue is not reversed to actual project invoiced revenue.

Am I missing any setup or the new functionality does not cater to these scenarios?

Workflow Notification link is not opening currently selected record.

$
0
0

I have workflow which is created to send notification email to the approver.The approver is set in dynamics application.Above is the personal timeoff request form where the record is submitted for workflow.The link is then sent to the approver after the workflow is submitted.The issue with the link is it is always opening the first record in the form and not opening the selected record during workflow submission.Is there a way to send a link which has the currently selected record in the form.As per the image the 4th record is the one selected but the link always opens the first one.I checked the logic in the init method it always fetches the first record since there is no caller form to fetch the currently selected data.How can we proceed on this?

Please help me on this issue.

Thanks.

Create Dynamic columns in Grid or Create Pivot table in Grid

$
0
0

Hello Everyone

i have a requirement that make column dynamically based on selected data

let us assume i have a filter multi select for inventlocations and if i select 3 the grid will contain 3 columns if i select 5 the grid will contain 5 columns

how can i reach my requirements i need a code to do that ?

thanks in advance

Workflow Notification link is not opening currently selected record.

$
0
0

I have workflow which is created to send notification email to the approver.The approver is set in dynamics application.Above is the personal timeoff request form where the record is submitted for workflow.The link is then sent to the approver after the workflow is submitted.The issue with the link is it is always opening the first record in the form and not opening the selected record during workflow submission.Is there a way to send a link which has the currently selected record in the form.As per the image the 4th record is the one selected but the link always opens the first one.I checked the logic in the init method it always fetches the first record since there is no caller form to fetch the currently selected data.How can we proceed on this?

Please help me on this issue.

Thanks.

Extra functionality for product editor.

$
0
0

Hello

I am a new developer at a company. I should solve a training exercise. Please guide me.

I design the total cost button, but I don't know how generate the code of X++.

The exercise is as follow:

Requirement specification This exercise consists of three smaller components. Cost calculation • Functionality for calculating the total cost of a product based on its BOM lines recursively. • An example product with sub products can be seen below, where A is the product and the rest of the letter is different level of nested subproducts. • Cost is in this case defined as: o Total cost = (B * Q) + (C * Q) + (F * Q) where Q is quantity for the bom line. o C = (D * Q) + (E * Q) and F = (I * Q). • Structure: o A   B   C • D • E   F • I BOM Unit defined on product. • Add Unit field to product. • The BOM line Unit field should be set by the SubProduct when the SubProduct is added to the BOM line. BOM cycle check • Ensure a product cannot a part of itself, as a this would result in an infinite loop. • Example: o A   B   C • D • A   F • I 


How to add custom form in production floor execution in d365fo

$
0
0

Hi Experts,

I have a requirement where I need to select a production order from the production floor.

Then I need to create a button which when clicked, shows its BOM transaction.

As of now, I have created a button, need your suggestion on creating a custom form.

Thanks 

Difference between load status Shipped and Received in Ax 2012

$
0
0

Hello

Can someone simply explain the differences between  Load status"Shipped" and "Received"  ("Inbound" from Purchase orders) in AX 2012? 

From what I have understood, it´s the same status in the end, but something must separate them.

regards BCC

Does LCS Cost anything?

$
0
0

Hi,

I have been asked if LCS has any cost. Do you know if any cost for Azure has to be paid by a partner?

Thanks

Multi-line discount

$
0
0

In a multi-line discount, can I place an AX1 item if 12 units are sold in an AX2 item apply a 5% discount?

Number Sequence Group Error in AX2012

$
0
0

Hello All,

While creating "Sales Order" , Once clicked on 'Packing Slip' I got a  error message - Field 'Number Sequence Group 'is Mandatory, Please Assign Number Sequence Group First.
Could you please advice on it how to deal with this ? what set-up is require ?

Thank you in Advance !

Is there a way to Adjust Inventory on multiple line item in Dynamics AX 2012 R3 CU9

$
0
0

In AX 2012 R3 CU9, we currently have the ability to Adjust inventory on items that are entered one at a time.  The entry is in Inventory & Warehouse Management >  Journals  >Item transactions  >Inventory adjustment

We now have a need to Adjust inventory on hundreds of items, so instead of entering them one-by-one, is there a way to Adjust inventory on multiple items, either using the Inventory adjustment entry, import entry, DIXF or some other way?   

edit method not working

$
0
0

Hi I do have a form with a form datasource set to allowedit = NO. We do have an edit method for one field on the form to enter a value in one field. As Sysadmin it works but not with user roles.

Any sugegstions?


Unable to attach file in Customer Attachments in d365f&o

$
0
0

Document Upload Page pop-up is not showing while i am trying to attach new file in Customer Attachments in D365 F&O

employee position

$
0
0

Can we have 2 or more active positions for a single employee?

can we have one employee working on a position in a entity and same employee working as a different position on a different entity?.

If we are doing an integration with a third party then how can we identify if any changes happen to an employee regarding report to position, position name or legal entity, what should be our indicator for that.

Physical inventory and available physical mismatch

$
0
0

In the item on hand inventory form, the physical inventory showing 40 qty and available physical is 7

Now we are trying to transfer or sold the quantity 40,

System prompt an error only 7 inventory is available, we need to make it as 0 in the physical inventory.

Can you please tell us how can we do it in the AX2012?

Document number in workflow history

$
0
0

Dears , 

I am working on customizing the workflow history form and I need to display details when I click on the document ID. I want to show the same document ID for all work items assigned to me. How can I achieve this?



AX 2012R3 Cumulative update 9 can use windows Server 2022

$
0
0

Hi ,

Currently We are using Dynamics AX 2012 R3 Cumulative 9 update . Could you please let us know for Dynamics AX 2012 R3 Cumulative 9 update can we use Windows server 2022 ? Or which windows server is compatible for AX 2012 R3 Cumulative 9 update.

Thanks and Regards

Prudhvi

 

Viewing all 72043 articles
Browse latest View live


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