Quantcast
Viewing all 72043 articles
Browse latest View live

Sales retun disable in posting

Hi Experts,

Account department requested to get Sales return in Sales return legder.

How can do it. I have check posting profile is disable. I read that Brazil region have this feature.

I am in Middle east . Is there any way to enable it.

Image may be NSFW.
Clik here to view.

Thanks,

Faiz


Separate payment journal for Retail transactions ax 2012

Hi

Do we have an option in AX 2012 to post separate payment journals for each transactions posted in a single retail statement for a store?

For example: In a retail statement for a store, I have 10 transaction with different payment methods. when posting this statement I need to have 10 payment journals created and posted.

Do we have any standard setup in AX 2012?

Please advise

Thanks

Vishal

Sheet Lookup Value Empty - Data Import Export Framework

Hi, 

I am trying to Import Purchase orders (Header and Lines). Im using Excel sheet as source Data format. But when i select the Sheet lookup, it shows empty. How to solve this. Image may be NSFW.
Clik here to view.

Regards,

Ram

Failed to execute query because no root data source on the form matches the root datasource on the query.

Error message: "Failed to execute query because no root data source on the form matches the root data source on the query."

I have this problem when I want to test joining 2 data sources by X++ code.

My form looks simple, just 2 data sources (SaLesTable, SalesLine) with default properties

Image may be NSFW.
Clik here to view.

The code below is from SalesLine:init data source.

public void init()
{
    Query                   q;
    QueryBuildDataSource    qBSalesTable;
    QueryBuildDataSource    qBSalesLine;

    super();
    
    q = new Query();

    qBSalesTable  = q.addDataSource(tablenum(SalesTable));
    qBSalesLine = qBSalesTable.addDataSource(tablenum(SalesLine));
    qBSalesLine.addLink(fieldnum(SalesTable,SalesId),fieldnum(SalesLine,SalesId));
    qBSalesLine.joinMode(JoinMode::InnerJoin);
    qBSalesLine.addRange(fieldnum(SalesTable,SalesId)).value("001*");

    info(q.toString());
    this.query(q);
}

Anyone know why I have such an error?

increase hijri months

greeting everyone

i converted Gregorian date to hijri date

and now i need to increase months by number which i give to that date

for example date is and number i give

date =29/8/1442

number= 7

result date =29/3/1443

i need the increase happened to hijri date not to Gregorian date

because my hijri date after converted it's consider as string value

Global Application Class Variable is null

Created an AX 2012 R3 project (below) that utilizes Print Management functionality to email an individualized Payment Advice to each vendor within a journal batch.

Image may be NSFW.
Clik here to view.

After the initial testing in our dev environment the code was moved UAT where it passed user testing.  Next additional acceptance testing criteria passed in Production Staging, and finally the code was deployed Production.  However, it failed to calculate a payment amount for the Info box message, Control report and the Payment Advice report. 

The initial debug run revealed an interesting result.  At the first breakpoint the Global Variable APPL appears uninstantiated?

Image may be NSFW.
Clik here to view.

This is not the case in all three previous environments Dev, UAT, and Staging.  The Production environment is different only that it has three AOS’s.  Could this be contributing to the problem?  How and where (server or client) can the APPL  be initialized. 

                                    Image may be NSFW.
Clik here to view.

I much appreciate any help on this issue.

Thanks to all.

Rodney

Is it possible to modify same AOT object in both usr and cus layer?

Hi All,

Is it possible to  modify same AOT object in both usr and cus layer (eg:forms-accountant_br). can i modify the example form in usr layer and cus layer is it possible?

Thanks,

Phani

Dynamics AX 2012 Enterprise Portal Receipts Error

When trying to upload receipts to an expense it returns a permission error message, any ideas what might cause that? I've tired looking everywhere, it works fine in Production, just having issues in UAT.


How to get product categories for released product

Hi Everyone,

Im aware that there is no report to display Product Categories for Released Product.

My concern now, how do i get items list with it product categories?

What table that i can use to get those data?

Thanks

Automatically create purchase requisition and convert to purchase order when raw materials are missing or below quantity

Hi, i would like to ask about is it required to code for automatically create purchase requisition and convert to purchase order when raw materials are missing or below quantity? I would like to have a function which when i make sales order, the quantity of certain raw materials are missing or below. system will automatically create new purchase requisition and convert to purchase order. 

Have a nice day and thank you. 

Best Regards. 

Shi Min

ZIP File Creation without XML

Hi 

I want to create the ZIP file . I have use SysTaskRecorderPackageZip i am able to get the zip file but i am geeting XML file also i donot want that . 

Is any other way to create the ZIP File without XML . 

Thanks 

Pushpendra singh

Invoice report, send by e-mail ( pdf attachment) broken.

Hi,

One of Our workers recently reported that the reports generated by the pdf, when She tries to do it the usual way (open raport -> print -> send by e-mail, choose PDF there ), the attached file is corrupted(weights only 4KB), this only happens for one customer in one company. In Our parent company, on the same server this customer works fine(although this I suppose is totally different record in the customers, since its different company, so it doesnt really matter). Also this happens to everyone in case You wanted to know.

What could be the possible cause of this problem and how to fix it?

Best regards, Emil.

WBS Multiple users edit framework from AX 2012 missing/changed

Hi,

Our company is using AX 2012 R3 and are in the process of upgrading to D3565 FO. Currently there is a business requirement for multiple users accessing and editing a single WBS and in AX 2012 there is OOB framework to show if another user has a WBS open and is editing it and actually displays which user it is.

Image may be NSFW.
Clik here to view.

This functionality is very important to how tasks flow in our business. There can be one user changing a status while another user would be updating other information for the same task.

Initially seeing the Draft, Show differences, Publish, View published functionality using the new ProjPlanVersion table and associated WBS schema data entity we thought that using some combination of the new functionality would account for the scenario of multiple users needing to edit a WBS at the same time.

However after having two different users try making changes at the same time to the same WBS, editing, saving, publishing and refreshing, all different combinations it appears that the D365FO does not account for multiple users editing the WBS like it did in AX 2012.

Is there a suggested resolution to this or some documentation explaining how the new functionality is intended to account for this circumstance? 

Thank you,

Bill 

How to give

A table has two fields. one is "empcode" and other one is enum "Gender" which has 2 values say "Male" & "Female".

If there is one record with empcode "0003" of gender "Male" in the system. When user tries to create one more record in system with same empcode  "0003" and same Gender "Male" then, system should not accept it. 

How to write the code so that it throws error message "Record already exists".

But if empcode is same and Gender is not same then it should accept.

 

How to added multiple values in single dialog field

Hi All,

I created simple dialog class in working fine. Please find the below screen short .

Issues :Already " Package Type " is first dialog ,in that   I need one more field like Description.Pls find the Table values screen short  

       Dialog      dialog;
        DialogField dialogField,dialogField2,dialogField3;
        DialogGroup dialogGroup;
        EcomPackBoxType   PackageType;
        Description255      Description;
        EcomPackBoxTypeMaster ecomPackBoxTypeMaster;
        ;
      
        dialog = new Dialog("Customer info");
             
       
        dialogField = dialog.addField(identifierStr(EcomPackBoxType));       
        dialogField2 = dialog.addField(extendedTypeStr(Name),'Recommended pack size');
        dialogField3 = dialog.addField(extendedTypeStr(Amount),'Calculated weight');
     
        dialog.run();
      
        if(dialog.closedOk())
        {
            // if click ok button they will get and display user value
            info(strFmt("%1",dialogField.value()));
        }

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.


AX TEST 2012 dynamics

what is the differ btween relase product and product master? 
what is the default variants in the system? 

what is the differ btween doing inventory from movment journal insted of to do it from so and po 

Error:A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Hi AX Community,

Getting error when I run Bill of material report only.

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Rearrange/Move grid column control layout

Is there a way to change column position by X++ code?

I created one field in grid by code

formBuildGroupControl = element.form().design().control('Grid');
formBuildStringControl = formBuildGroupControl.addDataField(formBuildDataSource.id(), fieldNum(MyTable, MyField));
formBuildStringControl.name('ValueColumn');

adn the other one is created by AOT:

Image may be NSFW.
Clik here to view.

My problem is that the "InvoiceAccount" field appears in the first place on the grid, and the field I created appears in the second place.
My goal is to find a way to move "InvoiceAccount" to the last place on the grid.

The last thing I would like to do is move the code, because I also work on standard code which also creates dynamic fields. The best solution for me would be to move this one field, instead of 5 dynamic fields.

I was looking for a solution to the problem in "FormBuildStringControl", unfortunately there is no method there that could help me.

Fixed Asset has Value Model status 'Not yet acquired' although the asset was acquired in December 2017.

Hi Guys,

Need your help regarding an issue. A fixed Asset shows value model status as 'Not yet Acquired' although the asset was acquired three years back. Also the fixed asset appears in fixed asset acquired list page. So confused how this could be possible. 

How to calculate By /CO Product TCA burden cost (Per precent, Per Series and Per Qty)

Hi, Can you explain me what is the benefit of TCA than Manual cost allocation.? And also pls let me know how is the AX calculate TCA burden cost for,

I. Per Percentage.

ii. Per Qty

iii. Per Series.

Since I am new to dynamics AX,If you can explain me through  calculation formula, highly appropriate .tq

Viewing all 72043 articles
Browse latest View live