Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads

Purchase Order Reports

$
0
0

Can anyone suggest a report to run on Purchase Orders, I want to see original purchase order value, goods receipted against purchase order, and current status of purchase order


Rework Production in AX 2012 r3

$
0
0

Scenario : I have one product (Product name : water 5 x 330ML ) , Unit size is Box, inside box have 5 Pieces x 330ML. This is my production order using for the last 2 months, but now I need to rework this product and change the piece number to 6. That means the same item code rework with 6 pieces like Water 6 x 330ML after I need to release my order.

In the above scenario anyone has experience please advise me on how to configure in ax 2012 r3.

Note: The same item has BOM and Formula.

How to find printer name for Invoices setups - AX 2012

$
0
0

Hi All,

We have one site1, it is getting the printers from another site2, we checked the site printers setups, but the printer name is not configured for Site1, when we checked it is a batch job sending Invoices to Site1 printer, verified the code for the batch job, no where printer name is configured for Site1.

How we can check from the front end .

Please advice us.

Regards,

Akbar

Vendor email address with purpose Purchasing was not found - AX 2012

$
0
0

Hi All,

we have a customization where POs are getting created in AX from AIF integartion, once they are getting created - using customised class we are "Confirming" the PO by calling the standard class PurchFormLetter, for few Vendors there is no purpose defined as "Purchasing" so getting the below info:

"Vendor email address with purpose Purchasing was not found".

we want to check from where the above info is getting thrown, so we can modify the code to accept the purpose without "Purchasing" defined for Vendors.

Please advice where we can see the above info coming.

Tried to debug the code but it is going inside the "Super" method, but didnt find anywhere the above info.

Is there any setups for purpose apart from Vendor setups.

Please advise.

Regards,

Akbar

I added enum field in all customers(CustTable) form and sales order(Sales Table). In sales order enum field value should come from customer master for the associated customer for the sales order

$
0
0

Create a enum field named as "ABC code" and create enum value as below and Add this enum field in the customer master in general tab -

a) None b) A C) B D) C

Add ABC code in the sales order and this value should come from customer master for the associated customer for the Sales order.

Can you please help me

How To Use Azure DevOps Repos with D365FO?

$
0
0

Hi dears in the community !

I just started learning Azure DevOps, because I want to always make sure that my AxModel have the latest code changes.

But I'm not actually able to understand how a developer like me gonna use it in my daily development tasks.

So I have an AxModel for example the model is called "AxModel1".

And I have an Azure DevOps project with a Repo Called "Repo1".

Will the "Repo1" have the "AxModel1" files only?

Because If I'm a developer who is assigned for example to a task to create an SSRS report into AxModel1, what is the procedure exactly?

The developer should clone the repo into his Visual Studio?

Then how the references will work if he wanted to write code that references standard Ax Models objects outside the AxModel1?

I'm confused here actually to what should be available in the Repo as a D365FO Development and what the developer will clone or fork.

I'm sorry for my lack of knowledge and I hope I was clear.

Any advice is appreciated !

Thanks in advance !

Retrieve enum value from unbound enum control

$
0
0

Hello, I have an unbound control named ElementType

The original control have 7 values inside but i have created a new dialog and on this dialog, according the selected record I fill the enum with different values everytime. 


public void init()
{     

        ElementTable selectedRecord = this.args().record();
        Set enumSet = new Set(Types::Enum);
        
        switch (selectedRecord.ElementType)
        {
                case ElementType::Object:
                case ElementType::Milestone:
                    enumSet.add(ElementType::Task);
                    enumSet.add(ElementType::Milestone);
                    break;

                case ElementType::Task:
                    enumSet.add(ElementType::Task);
                    enumSet.add(ElementType::Milestone);
                    enumSet.add(ElementType::Line);
                    
                    break;

                default:
                    break;
        }
        
         sysFormEnumComboBox::newParameters(element,element.controlId(formControlStr(ElementTypeSelectionDialog,ElementType)),enumNum(ElementType),enumSet, "@Test:ElementType");

         super();
}



It works fine but now i want to retrive this value in CloseOk. The problem is that when I am using  any2enum(ElementType.selection() it return the value of the original enum. 

For example as you see I add three values (Task, Line, Milestone). But when I try to get the value with the above line it return the index of the first value of the enum that is not declared in the set. 

I tried to do it by comparing the selection with specific values (0,1,2) but the problem there is that the set is dynamic and everytime the set can be filled with different values. So that does not make sense. 

Do you have anything in mind that can solve this issue?


No bar code has been set up for that combination. Label printing was cancelled for the product. HELP

$
0
0

First, I cannot print labels for purchases order because I need to set up bar code for the combination...
I really don't know what this means and I don't find information about this.

Secondly, I manage to assign a template to the product label option but not the Shelf label option. To do so I right clicked on "report name" then I went into View details.
Then it sends me to a page without a name or a path.
Adding templates there add them for the product label but not the shelf label.
See pictures


The folder '\ specified for the document type does not exist.

$
0
0

I get this error when tryin to create Threshold discount code in AX2012 - any idea?

Need to call API. First to get response in form of token and then send some data to API to get response in True/False.

$
0
0

Hi everyone,

I need to get response from an API call which will send me a token. And onse token received, I need to call API to get response.

I have already tested the API CALL from power automate and it is working fine.

Now I need help in getting this process to be done from a class call. Could you please help me with the code which I can use to get this done?

Regards

Siddhant Singh

List Lookup values in D365Fo

$
0
0

Hi All,

I have string values like below

String Keyvalue = "Test1","Test2","Test3";

Using about values need to show lookup()

I tried below methos but is not working.

while statement 
 {

  queryBuildRange.value(queryValue(""));
}

Vendor Prepayment report

$
0
0

Hi All, 

On AX 2012 R3, We need a report that shows all pending vendor pre-payment and balances of prior vendor pre-payment. 


Does this feature exists in AX 2012 R3?  I saw it in D365.. 

Thanks


Francois

Stopping sale of items with unavailable stocks from MPOS?

$
0
0

Can we stop sale of items from MPOS if system is showing unavailable stocks?

I know that option at backoffice is available on Item Model Group, Category level and Warehouse level for stopping negative stocks, but the question pertains to Modern Point of Sales (MPOS)?

AX 2009 Documentation

$
0
0

I'm looking for documentation and/or user guides for AX 2009. Does anyone know where I can find these things?

Thanks!

Jack

Multiple approval workflow.

$
0
0

Hi,

I have a requirement where I need to create a workflow with multiple approvals, kindly guide me on this.

Thanks


Recurrence count issue in Batch job in AX 2012 R3

$
0
0

Hello everyone,

I have created batch job to create GL entries in AX 2012 R3 and set recurrence like set Count  =10 in "End after" and count = 10 in Minutes as per below screen.

The batch job should the run specified count in "End after" column but when I run this job ,it is automatically ended after finishing 5 count. I have checked in Batch job history there are only 5 lines with Ended status. Then after I have re run it then it is completed after 6 count without any error.

Can anyone tell me how to fix this issue. Thanks in advance.

 

Seeking Advice: Handling SEPA XML Files for Direct Debit and Direct Credit in Ireland (IRL)

$
0
0

Hello everyone, I'm a customer located in Ireland (IRL), where SEPA (Single Euro Payments Area) is used for Direct Debit and Direct Credit transactions. Being new to Europe, I have limited experience with SEPA, and I've encountered a specific issue.

I've noticed that there is no standard layout for SEPA files in Ireland. The organization I'm dealing with has provided me with sample XML files, but I'm having trouble comparing them due to their format.

I would greatly appreciate some guidance on how to tackle this situation. How do you typically handle SEPA XML files? What steps or tools do you recommend for effectively comparing and working with them? Any insights or advice would be highly valuable. Thank you in advance!

Transfer order receipt

$
0
0

Good Day,

Kindly assist

i am unable to receive a transfer order, it is giving me an error, see screenshot below

Intercompany planning with Planning optimization enabled

$
0
0

Anyone know why I would be getting the following error when attempting to run intercompany planning after enabling Planning optimization?

Can I create display method with parameters on class extensions

$
0
0

Hi,

When I want to create class extension for displayExchRate  in CustInvoiceTable, i got this error. 

"Display methods can take only optional arguments, other than the first argument which can be a table."

display CustExchRate displayExchRate(date _date)
{
#isoCountryRegionCodes
CustExchRate s;
;

s = next getExchRate(_date);

return s;
}

Thanks in advance,

Best regards,

A Journal Entry post to allocate costs for hours was posted to an incorrect project and I am unable to reverse it, any ideas on how to reverse it?

$
0
0

To allocate costs for hours allocated to projects, my company utilizes a journal entry.  

    *We receive a spreadsheet with the hours for each project.  

    *The hours are put into another spreadsheet and the calculation HRS X $$$ is then input into the journal entry. 

    *Dr it to the project (applicable project number) and credit is to a general allocation of labor GL.  

We utilize the project module and the allocation of costs is posted to the project.  

However, the allocation for one project was incorrect.  It should have gone to project 2266 but it was posted to 2226.  

Because we post in a journal entry, I thought to reverse the incorrect posting, I could simply reverse it.  Debit to the general allocation of labor GL and credit the project.  However, this is NOT the case.  

To make sure I was correct, I utilized our Test database.  

Does anyone know of another way that could possibly be utilized to reverse the incorrect posting?  

I also attempted to use the reverse transaction function and received an error message that that function is not available.  

Thank you in advance.  

WAREHOUSES - WISHES TO BLOCK IT, POSSIBLE? PLEASEHELP

$
0
0

WAREHOUSES - WISHES TO BLOCK IT, POSSIBLE? PLEASEHELP


Unable to fetch data entity details using postman, getting 401 unauthorization error

$
0
0

Hi Team,

When fecthing data entity details using postman getting 401 Unauthorization error.

I am working at on premise environment getting the error and same process i have created in cloud hosted but its working fine.

Can any one suggest?

Get Data from another Table?

$
0
0

Hi now I dev x++ for Data Provider

1.  Set up variable

ReturnReasonCode     ReturnReasonCode;
str                                 returnReasonCodeID;
str                                 returnReasonDesc;

2. I try to filter data in table ReturnReasonCode to show with criteria ReasonCodeId = custInvoiceJour.ReturnReasonCodeId

returnReasonCodeID = custInvoiceJour.ReturnReasonCodeId ;
returnReasonCode = ReturnReasonCode::find(ReturnReasonCode.ReasonCodeId);  // suspect this line error but what's wrong?

3. I show My string
if (returnReasonCode)
{
returnReasonDesc = returnReasonCode.Description; // Get the Description field from the ReturnReasonCode record
}
else
{
// Handle the case when the return reason code is not found
}

and of cause I didn't got error but nothing to show. what's wrong please help.

Ledger Transaction List Report - User AX Frozen

$
0
0

Hi,

We have a user who was running a Ledger Transaction List report from 2017 to current and its has totally frozen him out of AX. He is unable to to do anything.

We have tried ending AX Sessions, Cleared User Data. It appears this report could still be running and until its finished not sure how long he is unable to use his AX.

Any suggestions please?

Thanks





Latest Images