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

On Order Quantity is stuck

$
0
0

Hi All,
I have already cancelled the 88 quantity 
But it still stuck in on order.
It should not be exist in on order and back to available physical.
Kindly help 


Expense report workflow submission failed

$
0
0

Dear all,

When I am submitting the workflow of expense report it is giving me an error- 

Please help me all,

It is giving me an error related to accounting distributions

Using Classes to Create a Dialog

$
0
0

I created a button that should open a dialog box, but I don't want the method to be written on clicked. I want to create a separate class that will be called. How do I do this?

Getting error while posting error

$
0
0

Hi All,

I am getting error while posting error. error is  (A number sequence has not been set up for the reference in the are AP). i tried to change References in number sequence setup. when i try then aging i got error please help me in that.

Project Budget

$
0
0

Hi,

I am trying to close the Stock closure and faced an"Unexpected error". Here there are two lines in the Project Budget Allocation for the Same Budget line. One for recording the Original budget and carry forwarded budget amount, another one for marking the revisions made within the same budget line. 

In the Projectbudgetreductionhistory table, it is having projbudgetallocationlineidcost value as the original budget. But it should be revision as per the code while debugging.

In the Revisionline budget amount is 0. See the screenshot for reference.

Is it good practice to update the Projbudgetreductionhistory line with the Revisionbudget which is having 0 amount in the Backend? Please advise.

Regards,

Ram.

Looking for the advise to purging the data for few tables in D365FO

$
0
0

Hi All,

I'm working on purging the data for a few tables of D365FO that include custom tables too. I would like to know from you if there is any impact on day to day activities by truncating the data for certain periods (ex: 30/60/90/365 days and soon).

 
Apart from the below list, are there any other tables where we can purge the data that doesn't have any impact day-to-day business process or functionality?
Here are list of tables:
BOMCalcTrans,
Batch,
Costsheetcache,
batchhistory,
whsworkusersessionlog,
docuhistory,
whswaveexecutionhistory,
sessionrecoverablestategenerictable,
whsworkscreatehistory,
ecoresreleasedproduct2staging,
inventtrans,
generaljournalaccountentry,
inventdim,
whsworkline,
inventitemprice,
jmgchangelog,
whswavemethodstatus,
DTA_input,
batchjob,
inventsum,
inventitemcostgrouprollup,
ledgerjournaltrans,
securityobjecthistory,
inventtransorigin,
generaljournalentry,
syslastvalue,
inventcosttrans,
vtxxmlfiles,
dimensionvaluedeleteaudit

Account Payable Invoice posting automation

$
0
0

Account Payable Invoice posting automation

Account Payable > Journal > invoice Journal > select journal > post > batch processing

Goto batch > find batch job > select task > click parameter below blank screen shows

 

 

General ledger > General Journal > select journal > post > batch processing

Goto batch > find batch job > select task > click parameter below screen shows

 

I want to have same behavior; I want to have same parameter screen on AP invoice so I can filter the records.

During debug I found

Form > LedgerJournalParmPost >> parmIsMultiSelectPostEnabled >> isMultiSelectPostEnabled if false then does not shows the filter or query. I am not sure how set “isMultiSelectPostEnabled” so I can filter AP invoice posting

Is there any work flow , or setting I have to set ?

Thank you,

How to set report page size dynamically

$
0
0

Dears, 

I have a customized report and there is multi column show and hide based on expressions. My issue is when the columns is hidden there is white space that need to be removed.

The question is there any solution to set the report page width based on the rendered body?



Download F&O demo

$
0
0

Hello,

I have created a VM and downloaded VHD files. Everything is working fine until i execute  https://usnconeboxax1aos.cloud.onebox.dynamics.com/. I received an error msg "cannot reach the page" 

Any help would be appreciated. I have login in as Admin with a password of pass@word1. 

I can reach the internet from the VM without any issues. 

Thanks for your help

OB

How do I cancel posted Pro Forma Product Receipt

$
0
0

Hi All,
I have a question 
If I done posting from this Pro forma product receipt.
But lastly, I found someone has over receive quantity of the item.
Is there a way to reverse or cancel?  

(Do walk me through the steps. If can. I will really appreciate.)

How To add new AOS instace on cluster load balancing

$
0
0

i have aos live one,


and I installed 3 new AOS which will be used as follows.
1 AOS as LoadBalance and Active AOS
1 AOS as Active AOS
1 AOS as Batch Server


I have created a cluster but can't add AOS server, a message appears "The Application Object Server cannot be marked as a Load Balancer while a member of the 'Non Load Balanced AOS Instance"

how to solve this

Dynamics 365 Warehouse Management mobile application customizations (inpound > po recieve) Unexpected difference between request and session data

$
0
0

Hello ,

i want to check if there is item id in this page then add control (bar code related to this item id)

1-i reach out the class that i supposed to make extension from it .

2-i make extension from the displayForm method .

3- i write my logic in this method.

* i have tested this customization carefully but a lot of error happened in the production in the mobile devices in this page like

'Unexpected difference between request and session data'

* i want to know if this customization missing some code or done using another way 

** iam talking about customizations not creating menu or menu item and  related steps from scrach**

[ExtensionOf(classstr(WHSWorkExecuteDisplayPOReceiving))]
final class MobileDeviceInboundPORecieving_Extension
{

    
        public container displayForm(container _con, str _buttonClicked )
    {
        container ret;
        container sub;
        ret = next displayForm(_con,_buttonClicked);

        if(CustomizationsAllowed::Find("RF").CustomizationStatus == NoYes::Yes)
        {
            if(pass)
            {
                if(pass.exists("userid"))
                {
                    if(this.IsUserCustomizationAllowed(pass.lookup("userid")))
                    {
                        if(_buttonClicked =="OK")
                        {
                            if(this.getControlLocation(ret,"barcode") == 0)
                            {
                                if(pass.exists("ItemId"))
                                {
                                    if(pass.lookup("ItemId") !="")
                                    {
                                        sub = this.buildControl("text", "barcode", "barcode", 1,this.CheckPOItemsBarCode(pass.lookup("ItemId")), extendedTypeNum(WHSRFUndefinedDataType), '', 0,false);
                                        ret = conIns(ret,this.getControlLocation(ret,"ItemId")+1,sub);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        return ret;
    }

    public str CheckPOItemsBarCode(ItemId _ItemId)
    {
        InventItemBarcode _InventItemBarcode;
        str ret ="";

            select firstonly _InventItemBarcode where
                _InventItemBarcode.itemId == _ItemId;

            if(_InventItemBarcode)
            {
                ret = _InventItemBarcode.itemBarCode;
            }
        return ret;
    }

    public boolean IsUserCustomizationAllowed(str userid)
    {
        WHSWorkUser _WHSWorkUser;

        select firstonly1 _WHSWorkUser
            where _WHSWorkUser.UserId == userid;

        return _WHSWorkUser.AllowCustomization;
    }

}

 

Project Category deactivation

$
0
0

We need to disable/deactivate project category for further usages. Is there any way other than deleting it?

SSRS report was running perfectly before database restore and after database restored the report is not openning.

$
0
0

Before DB restore the SSRS report was running perfectly now after the DB restored the report is not running and showing parameter CurrentuserId doesnot exist.

Performed:

Redeployed report

Added to print management.

Did not find any luck !

Lookup field on DocuView form, form goes blank after lookup

$
0
0

I have added a new string field to the DocuView form with a lookup (as below). When I open the form I see all the existing data on the form. When I do the lookup it works as expected, however when the lookup returns the DocuView form is wiped of all data. When I exit and return into the DocuView I see the selection made on the lookup. I know I need to do something to "capture" and then return the DocuView but not sure what that is or how to accomplish it. Thanks for any help.


public void lookup()
{
sysTableLookup sysTableLookup;
Query Artquery = new Query();
QueryBuildDataSource qbds;
FormRun callerForm;


//super();
callerForm = element.args().caller();

// Instantiate sysTableLookup object using table which will provide the visible fields
sysTableLookup = SysTableLookup::newParameters(tableNum(ArtCustomerAdvocateV1), this);


// Create the query.
qbds= Artquery.addDataSource(tableNum(ArtCustomerAdvocateV1));

sysTableLookup.parmQuery(Artquery);

// Specify the fields to show in the form.
sysTableLookup.addLookupfield(fieldNum(ArtCustomerAdvocateV1, Name));

// Perform the lookup
sysTableLookup.performFormLookup();

}


Dynamics 365 Warehouse Management mobile application customizations (inpound > po recieve) Unexpected difference between request and session data

$
0
0

Hello ,

i want to check if there is item id in this page then add control (bar code related to this item id)

1-i reach out the class that i supposed to make extension from it .

2-i make extension from the displayForm method .

3- i write my logic in this method.

* i have tested this customization carefully but a lot of error happened in the production in the mobile devices in this page like

'Unexpected difference between request and session data'

* i want to know if this customization missing some code or done using another way 

** iam talking about customizations not creating menu or menu item and  related steps from scrach**

[ExtensionOf(classstr(WHSWorkExecuteDisplayPOReceiving))]
final class MobileDeviceInboundPORecieving_Extension
{

    
        public container displayForm(container _con, str _buttonClicked )
    {
        container ret;
        container sub;
        ret = next displayForm(_con,_buttonClicked);

        if(CustomizationsAllowed::Find("RF").CustomizationStatus == NoYes::Yes)
        {
            if(pass)
            {
                if(pass.exists("userid"))
                {
                    if(this.IsUserCustomizationAllowed(pass.lookup("userid")))
                    {
                        if(_buttonClicked =="OK")
                        {
                            if(this.getControlLocation(ret,"barcode") == 0)
                            {
                                if(pass.exists("ItemId"))
                                {
                                    if(pass.lookup("ItemId") !="")
                                    {
                                        sub = this.buildControl("text", "barcode", "barcode", 1,this.CheckPOItemsBarCode(pass.lookup("ItemId")), extendedTypeNum(WHSRFUndefinedDataType), '', 0,false);
                                        ret = conIns(ret,this.getControlLocation(ret,"ItemId")+1,sub);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        return ret;
    }

    public str CheckPOItemsBarCode(ItemId _ItemId)
    {
        InventItemBarcode _InventItemBarcode;
        str ret ="";

            select firstonly _InventItemBarcode where
                _InventItemBarcode.itemId == _ItemId;

            if(_InventItemBarcode)
            {
                ret = _InventItemBarcode.itemBarCode;
            }
        return ret;
    }

    public boolean IsUserCustomizationAllowed(str userid)
    {
        WHSWorkUser _WHSWorkUser;

        select firstonly1 _WHSWorkUser
            where _WHSWorkUser.UserId == userid;

        return _WHSWorkUser.AllowCustomization;
    }

}

 

Upload a CSV file to a SharePoint document library

$
0
0

Hi.  We have a Dynamics AX2012 R2 site and we want to use X++ to create a shipping order to a third party logistics organisation (3PL).  We are doing this currently by creating a CSV file in the 3PL required format and saving it to a network share and then uploading it to a SharePoint document library.   Does anyone have any suggestions about whether the upload to SharePoint is doable in AX2012 R2 X++ and if so any suggestion about how that may be achieved.   We have out serious time into this project to find a solution.  Regards. James

Amount origin on Posted sales tax displays 0

$
0
0

Hello, 

I find a bug in standard AX 2012. On the reversing tax trans record of Posted sales tax, amount origin shows as 0, instead of the actual negative amount.

Can anyone help with finding references to the fix?

Rgds,

Cyrille 

Missing tables in SQLDICTIONARY

$
0
0

Hello guys,

I need to find the table names, table ID and so on of some tables in AX12. I used the table SQLDICTIONARY to find the required info. It works fine, however I noticed, that some of the tables are missing in SQLDICTIONARY, for example table AifOutboundPort. This table exists in AOT, but I can not get the table ID and name from SQLDICTIONARY, the table is just not there. 

Is there please any reason, why some of the tables are missing in SQLDICTIONARY? And is there some other table that might be used to get required data? I need to get the data using SQL, not x++ code.

Many thanks, regards Sayid.

X++ Catch does not catch the error

$
0
0

Hey,

i am kind a new on development D365 Fo i faced problem about try catch statement which is not exception not catched by catch.

When i trying to insert my customProd method throws error. I am expecting this insert error should be catched by statement .

When i trying to debug i can see  "inventory dimensions site must be consistent within the lot" error on infolog.

public void customProd(List _myList)
{
    MyClass myClass;
    literator = new ListIterator(_myList.parmTamamlandi());
    while(literator.more())
    {
        myClass = literator.value();
        ttsbegin;
        if(!this.prodStart(myClass))
        {
            ttsabort;
            literator.next();
            continue;
        }
        if(!this.finished(myClass))
        {
            ttsabrot;
            literator.next();
            continue;
        }
        ttscommit;
    }
}

public boolean finished(MyClass _myClass)
{
    try
    {
        // setting prodjournal table
        
        // setting prodjournalprod table
        
        prodJournalProd.insert(); 
        
    }
    catch
    {
        // i want to do something here 
    }
}

otherhand when i remove tts statement from customProd method and put them into finished method its working fine.

Is there anything i am missing ? what should i do for catch the error on first statement.

Viewing all 175888 articles
Browse latest View live


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