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

Technical: D365 FO - Display data in a Grid in an extended form from a datasource that is a temp table(TableType = TempDB).

$
0
0

Hi Experts,
I have a situation, to display data from a datasource that is a temp table(TableType = TempDB) in a Grid on a fomr that is an extension of standard form. With standard filtering functionality supported on the grid.

The method - dataSource.setTmpData(), no longer seems there in D365.

Have been looking for an example, but no luck.

If you have example code, can you please share, its urgent.

Thanks in advance.


How to edit lookup for item Id in batch order ?

$
0
0

when i create a new batch order , i need to show some items number in lookup

so i go to ItemId  field in the dataSource ---> ProadTable--> ItemId --> lookup

i found the next 

public void lookup(FormControl _formControl, str _filterStr)
{
    InventLookup lookup;
    if (#PmfEnabled)
    //if (#PmfEnabled)
    {
        pmfFormCtrl_ProdTableCreate.fieldLookup(
            fieldNum(ProdTable, ItemId), _formControl, _filterStr);
    }
    else
    {
        lookup = new InventLookup(_formControl, new Query(), formStr(InventItemIdLookupPurchase));
        lookup.run();
    }
}


but I didn't understood , where is lookup method 

thank you in advance..

Synchronization errors

$
0
0

Hi,

I just create new filed in Ledger Journal table  getting below error 

Can any one suggest me on below errors pls :-

Error Synchronize database Cannot execute a data definition language command on ().
The SQL database has issued an error.
Info Synchronize database SQL error description: [Microsoft][SQL Server Native Client 11.0][SQL Server]The object 'I_211TYPENUMIDX' is dependent on column 'JOURNALNUM'.
Info Synchronize database SQL statement: ALTER TABLE "DBO".LEDGERJOURNALTABLE ALTER COLUMN JOURNALNUM nvarchar(20) NOT NULL
Error Synchronize database Problems during SQL data dictionary synchronization.
The operation failed.
Info Synchronize database Synchronize failed on 1 table(s)

Error 2:-  Added new field on Agreement table and enable alert rule on field. (error coming when alert getting generated)

[Microsoft][SQL Server Native Client 11.0][SQL Server]A column has been specified more than once in
the order by list. Columns in the order by list must be unique.. The SQL statement was: "SELECT T1.PURCHNUMBERSEQUENCE,T1.VENDACCOUNT,T1.VENDORDATAAREAID,T1.BUYINGLEGALENTITY,T1.WORKFLOWSTATUS_PSN,T1.INSTANCERELATIONTYPE,T1.AGREEMENTCLASSIFICATION,T1.AGREEMENTSTATE,T1.DOCUMENTTITLE,T1.DOCUMENTEXTERNALREFERENCE,T1.CURRENCY,T1.DEFAULTAGREEMENTLINETYPE,T1.DEFAULTAGREEMENTLINEEFFECTIVEDATE,T1.DEFAULTAGREEMENTLINEEXPIRATIONDATE,T1.ORIGINATOR,T1.LANGUAGE,T1.EARLIESTLINEEFFECTIVEDATE,T1.LATESTLINEEXPIRATIONDATE,T1.ISDELETED,T1.DEFAULTDIMENSION,T1.AWARDDATE,T1.DEPARTMENT,T1.PROJECTMANAGER,T1.TOTALAMOUNT,T1.BOOKMARK1_4895,T1.PURCHAGREEMENTSTATUS,T1.DEFAULTAGREEMENTLINEEXPIRATIONDATE1_4895,T1.MODIFIEDDATETIME,T1.MODIFIEDBY,T1.CREATEDDATETIME,T1.RECVERSION,T1.RELATIONTYPE,T1.PARTITION,T1.RECID FROM AGREEMENTHEADER T1 WHERE (((T1.PARTITION=?) AND (T1.RECID=?)) AND (T1.INSTANCERELATIONTYPE IN (4902) )) ORDER BY T1.RECID,T1.RECID OPTION(FAST 2)"

Regards,

KVNKK

Fixed Asset -> Disposal Scrap/Lost, functionality is not available

$
0
0

Dear All,

I am not able to find the Disposal Scrap/Lost functionality in AX, 2012 R3 RTM ?

Please advise.

MRP Reordering Parts

$
0
0

Hi Community

I Have some situation where the MRP is creating MPO for parts even if they are already on a PO and marked with a SO.

Any Idea why it can happend?

Thanks for your help 

Cannot find table security role but can find other tables like SecurityUserRole, UserInfo etc ?

$
0
0

Hello Friends, 

I Cannot find table "securityrole" but can find other tables like SecurityUserRole, UserInfo  etc ?

I check in AOT and sql server database but luck ?  

I am trying to run below query, it fails since it cannot find table SECURITYROLE

select SecurityUserRole.user_ , userinfo.Name , securityRole.aotname

from [MicrosoftDynamicsAX_model].[dbo].[SECURITYROLE] ,

[MicrosoftDynamicsAX].[dbo].[SECURITYUSERROLE] , 
[MicrosoftDynamicsAX].[dbo].[userinfo]

where securityRole.RecId = SecurityUserRole.SecurityRole and
userinfo.id = SecurityUserRole.user_ and

userinfo.enable = 1 
order by SecurityUserRole.user_ , securityRole.aotname

;

Cancel packing slip in inter-company

$
0
0

Hi All ,
i do inter-company transaction between (company A and Company B ) with direct delivery  when i do packing slip from sales order 
at company B an product receipt reflected automatically at purchase order in company A 
but 
when i cancel packing slip at company B  not reflect to product receipt at Company A 
any help for this problem ??? 
thnx in advance .

AX 2012 - On Hand Inventory missing Location value

$
0
0

AX 2012 R3 - using WMS - location is a required field.  Operator intended to process WMS work to move inventory from location X to location Y. 

After reviewing inventory records, the product currently resides in a blank location.  

Any thoughts on how to get that inventory balance from blank to a legitimate location?  Movement journal and quantity adjustments fail as Location is a required field.

Thanks,


User cannot see prepayment report under reports

$
0
0

Good Day

I have a user who cannot see the prepayment report.

Is it role related or is there a way I can enable them to see it.

Regards

Angel AX

Inventory management - Posting (Inventory expenditure, loss and Inventory expenditure, profit posting types)

$
0
0

Issue: The inventory expenditure, loss and Inventory expenditure, profit posting configurations are used for both inventory adjustments and bill of materials WIP clearing accounts. This causes a conflict between two distinct processes – BOM processing and inventory adjustments. BOM processes fine, but when taking a physical and making subsequent inventory adjustments they components will be coded to WIP clearing as opposed to inventory Adjustments.

Details: During the course of BOM processing in Inventory (not the production module), these accounts essentially offset each other for the BOM components. The BOM items use the item group flag on the released product – Comp, Finished, Labor, Outside, Overhead, Print and Supplies. If an item group is not used then you are limited to coding every transaction to a single account defeating the utility of the Item code functionality.

During the course of taking a physical, these accounts are used to capture the physical adjustment. If the adjustment is a negative then the account is debited, if the adjustment is a positive then the account is credited.

The issue arises when we count any of the components - they will use the account 14025 instead of account 62350, because the system is recognizing the item group and using the associated account (14025).

Is this a design flaw? These accounts should be separate because the processes that use these accounts are distinct and not related. What am I missing here?

Mandatory property set as yes not working for a form control which is not linked to data source

$
0
0

i have a date field in my form  which is set as mandatory using property but only red line appears when i click any othedr place it does not show any error or warning message

AX 2012 R2 Sales Order can't save the Personalize??

$
0
0

Hello,

I am a AX system administrator.

I and our users can't change the filed Personalize in AX Sales Order Windows Form??

Please help, thanks in advance.

Have LedgerJourPost permission but AR-Payment Journal Windows Form still no show Post menu icon.

$
0
0

Hello All,

I have a confuse,please help.

I check the user permission have the Action-LedgerJourPost Privilege ,

but in AR-Payment journal Windows still can't see the post button??

Please someone help.

Thanks in advance.

Benchmark toolkit

$
0
0

Hi,

Is there any tutorial in terms of AX 2012 R3 benchmark toolkit? I am not sure if we need any C# skills to implement this?

Thanks,

How can I arrange AX 2012 Custom service XML schema elements.

$
0
0

Hi All, 

I have developed a custom service in AX 2012, in which the expected XML response schema should be as shown below.

<?xml version="1.0"?>

<LoginResponse>

    <CustId>1234ab5678</CustId>

    <EmailId>abc.xyz@gmail.com</EmailId>

    <Authentication>

        <ResponseCode>900</ResponseCode>

        <ReasonCode>901</ReasonCode>

        <ReasonDescription>Invalid Email Address</ReasonDescription>

    </Authentication>

  </LoginResponse>

 

However, the schema generated through the custom service is build with a slight differences where the order of the xml elements [CustID, EmailID, Authentication, ResponseCode, ReasonCode, Description] and the root element label name “WebServiceValidateLoginResponse  xmlns='http://tempuri.org'”  are incorrect when compared with the expected xml.

Generated Schema:

 

<?xml version="1.0"?>

<WebServiceValidateLoginResponse  xmlns='http://tempuri.org'>   

    <Authentication>        

        <ReasonCode>901</ReasonCode>

        <ReasonDescription>Invalid Email Address</ReasonDescription>

        <ResponseCode>900</ResponseCode>

    </Authentication>

    <CustId>1234ab5678</CustId>

    <EmailId>abc.xyz@gmail.com</EmailId>    

  </WebServiceValidateLoginResponse>

 


I Observe that, the elements in the generated schema are arranged in the alphabetic order.

 

To change the tag name, I have tried by changing the label for DataContract class in the [DataContractAttribute] and the same is updated in the Service reference, but in the xml schema it is not getting updated accordingly. And to get the xml elements in sequence as per the requirement I have tried changing the sequence of the parm methods using SysOperationDisplayOrderAttribute("1") in the data contract class and also changed the sequence in the service reference but still I am facing challenges in generating the xml schema.

 

Request you to help me out by sharing your ideas on the same. Thank you in advance.

 

 


Error: Query missing QueryBuildDataSource for FormDataSource

$
0
0

Hello,

I've added a data source to WMSPickingRegistration form with "SalesTable_AAA".

When I try to click the custom drop down to filter records query in "picking list registration with warehouse, it produces this error: 

How will I fix this?

Best regards,

the state of the source document or source document line could not be updated.

$
0
0

Hi All,

we have workflow enabled on purchase order and in the purchase order we have selected service item. we have enabled budget control configuration for vendor invoice and lines. my purchase order is confirmed and we don't want to create product receipt for service item on the purchase order. so directly we are creating invoice.

when budget control configuration is enabled for vendor invoice then we are not able to get purchase order lines when SpecQty selected Ordered Qty in the vendor invoice. we have to select all lines from the purchase order which we have ordered. we also checked for disabled budget control configuration for vendor invoice and lines and checked for the Ordered qty then we are able to get all lines from the purchase order.

currently we have MSD Ax 2012 R3 and Application version 6.3.1000.473. 

can any one please help me out.

Temporary Voucher number does not go according to balance

$
0
0

Hi All,

I'm having an issue with uploading general journal using X++.

So previously, I developed a form to upload excel which will create general journal. The voucher was filled correctly in connection to balance. But the side effect with this, users encounter a lot of duplicate voucher issue.

So we decided to use the allocate voucher number on posting setup. This setting uses the temporary voucher number sequence in general ledger parameter setup. But when I upload the excel, the voucher series was not filled in connection to balance. Instead it generates one temporary voucher number per journal line. Below is my code when I generate the voucher number:

_numberSeq = NumberSeq::newGetVoucherFromId(_ledgerJournalTable.NumberSequenceTable);
_voucher = _numberSeq.voucher();
_axJournalTrans.parmVoucher(_voucher);

I have also tried this code:

_numberSeq = NumberSeq::newGetVoucherFromId(_ledgerJournalTable.NumberSequenceTable);
_voucher = new JournalVoucherNum(JournalTableData::newTable(LedgerJournalTable::find(_ledgerJournalTable.JournalNum))).getNew(true);
_axJournalTrans.parmVoucher(_voucher);

Both give the same result. Any idea what went wrong? Thank you!

Regards,

Raymon

Print Receipt on Suspend Transaction

$
0
0

Hi All ,

I want direct  print receipt  on printer  without preview when user go for suspend transaction.This receipt should print suspended transaction data same like in default receipt print in show journal .

I am trying in PostSuspendTransaction method of suspendtrigger .Can any one could give me right direction How  could I proceed ?

Different Total Amount from Z-Report and Retail Sales

$
0
0

Hi Guys

I use Microsoft Dynamics AX2012 to run 3 stores.

I tried to compare daily report between Z-Report and Retail Sales report, however, I find differences between both reports.

Though the difference is small, in our perspective the data between Z-report and retail sales report should be match since both report use the same data source.

Is there any solution/ justification about this issue?

Any help and opinion for this matter is highly appreciated.

Best regards,

Viewing all 73760 articles
Browse latest View live


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