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

RE: Sales Order status does not change to delivered

$
0
0

Hi Sagar,

I am facing the same problem in Dynamics 365 Finance and Operations. I am trying to cancel the deliver remainder, but it is giving the error: -

"The quantity cannot be reduced. The number of stock transactions on order is too low because the quantity or part of it is referenced by an output order or a works order or is marked against other transactions."

Can you please tell me how to add and cancel it?

Also, how did you permanently solve this problem? 

( I mean we cannot do this every time by adding the deliver remainder and cancelling it. )

Regards,

Anurag Nagarkoti


Sales Order status does not change to delivered

$
0
0

Sales Order status does not change to delivered but all lines having status delivered. No deliver reminder remaining and inter company purchase order having status received. The sales order is derived and purchase order is origin. 

The warehouse management process are used and load of the sales order has status shipped. Shipment has status shipped and work completed.

Any idea.

RE: ERROR: Query extended range failure: Field (xxx) is not visible

$
0
0

Hi Ghetz,

Can you tell more about the itemID_Old field? Is this set to be visible on the table and view? Does the error disappear once you remove this field from the query/coding?

ERROR: Query extended range failure: Field (xxx) is not visible

$
0
0

So we have modified the itemid lookup for purchase lines. The lookup is built, based on a View that has a InventTable as main table, and PriceDiscTable as a related child table.

Administrators can use the lookup, but users in a custom role we have created get this error exactly when they use the lookup:  

"Query extended range failure: Field (AccountCode) is not visible"

AccountCode is a field in PriceDiscTable I've added permissions to the PriceDiscTable to the role, but I still get this error. Any ideas on what can be missing?

This is the code in my lookup method. InventPriceDisc is our custom View:

SELECT * FROM _PriceDiscTable WHERE _PriceDiscTable.AccountRelation == AccountNum;

    qbdP = query.addDataSource(tablenum(InventPriceDisc));
    qbdp.addRange(fieldNum(InventPriceDisc,LanguageId)).value(CompanyInfo::languageId()); 

    
    qbdP.orderMode(ordermode::GroupBy);
    qbdP.addSortField(fieldnum(InventPriceDisc, itemId));    
    qbdP.addSortField(fieldnum(InventPriceDisc, itemId_Old));    
    qbdP.addSortField(fieldnum(InventPriceDisc, PBAInventItemGroupId));
    qbdP.addSortField(fieldnum(InventPriceDisc,Description));
    
    if (_PriceDiscTable)
    {
        queryBuildRange1 = qbdP.addRange(fieldnum(InventPriceDisc, AccountRelation));
        queryBuildRange1.value(strfmt('( ((%2 == %3) && (%4 == "%5")) || ((%2 == %6) && (%4 == "%7")) || ((%2 == %8) && (%4 == %9)) && (( Todate >= %10) || (Todate == %11)) )',
        tableStr(InventPriceDisc),
        fieldStr(InventPriceDisc,AccountCode),
        any2int(TableGroupAll::Table),
        fieldStr(InventPriceDisc,AccountRelation),
        AccountNum,
        any2int(TableGroupAll::GroupId),
        VendTable::find(AccountNum).PriceGroup,
        any2int(TableGroupAll::All),
        sysquery::valueEmptyString(),
        date2strxpp(today()),
        date2strxpp(datenull())));
    }

    sysTableLookup.addLookupfield(fieldnum(InventPriceDisc, ItemId));    
    sysTableLookup.addLookupfield(fieldnum(InventPriceDisc, itemId_Old));    
    sysTableLookup.addLookupfield(fieldnum(InventPriceDisc,Description));
    sysTableLookup.addLookupfield(fieldnum(InventPriceDisc, PBAInventItemGroupId));

    sysTableLookup.parmQuery(query);
    sysTableLookup.performFormLookup();



This is our view:

RE: BYOD features in D365FO

BYOD features in D365FO

$
0
0

Dear All,

Can you please let me know what is BYOD features in D365FO?

Kindly elaborate me.

Please give me more shed on this.

Thanks!

Creating Invoice register jour through the code

$
0
0

Hi

I need to Create an Invoice register jour through the code (AX2012 R3)

I'm confused .

1) There seems to be two approaches , some samples use AxLedgerJournalTable set of classes(like in TMSInvoiceApproval-> createLedgerJournalTrans), some use normal LedgerJournalTable. Our system is customised , we don't really used AIF (DIXF instead) and I'm afraid that AxLedgerJournalTable can miss some logic, so I think inserting directly into LedgerJournalTable/Trans tables would be more appropriate. Am I right?

2) I don't seem to find any consistency in the std. code. Especially in how we populate LedgerDimension, Account, OffsetAccount fields. For "Account" some code uses parmAccount(), some - direct Account assignment. The same for "ledgerDimension" : some use parmLedgerDimension(), some rely on  this.LedgerDimension = DimensionStorage::getDynamicAccount(_account, _accountType); hidden in parmAccount() method, some use DimensionStorage::accountNum2LedgerDimension. What's the difference between the latter/ What is correct?

I'm afraid to miss some necessary background dependant fields recalculation and thus introducing hard to reveal bugs.  

Examples:

CustInPaym_> createLedgerJournalTrans

LedgerJournalTrans.parmAccount(_ledgerJournalTransImport.accountNum(), LedgerJournalACType::Cust, curext());
ledgerJournalTrans.OffsetCompany = curext(); ledgerJournalTrans.OffsetAccountType = LedgerJournalACType::Ledger;
// offset account = ledger account of the bank account
defaultAccount = BankAccountTable::find(offsetAccount).LedgerDimension;
ledgerJournalTrans.parmOffsetLedgerDimension(ledgerJournalTrans.getOffsetLedgerDimensionForLedgerType(defaultAccount, ledgerJournalTrans.getOffsetCompany()));

 

Whilst AssetLVPTransferProposal -> createTransLine:

    ledgerJournalTrans.parmAccount(_assetBook.AssetId, LedgerJournalACType::FixedAssets);
    ledgerJournalTrans.PostingProfile       = AssetTable::find(_assetBook.AssetId).postingProfile(_assetBook.BookId);
    ledgerJournalTrans.TransactionType      = LedgerTransType::FixedAssets;
    ....
ledgerJournalTrans.ExchRate = Currency::exchRate(ledgerJournalTrans.CurrencyCode, ledgerJournalTrans.TransDate); ledgerJournalTrans.DefaultDimension = AssetTable::find(_assetBook.AssetId).defaultDimension(_assetBook.BookId); ..
ledgerJournalTrans.Company = curext(); ledgerJournalTrans.OffsetCompany = curext(); ledgerJournalTrans.OffsetAccountType = LedgerJournalACType::Ledger; ledgerJournalTrans.OffsetDefaultDimension = 0; defaultAccount = AssetTable::find(_assetBook.AssetId).assetOffsetLedgerDimension(ledgerJournalTrans.PostingProfile, AssetPost::assetTransTypeJournal2AssetTransType(_assetTransType), _assetBook.BookId); ledgerJournalTrans.parmOffsetLedgerDimension(ledgerJournalTrans.getOffsetLedgerDimensionForLedgerType(defaultAccount, ledgerJournalTrans.getOffsetCompany()));

And in TrvCreateLedger->createLedgerJournalTrans

    ledgerJournalTrans.parmAccount('', _trvLedgerInfo.parmAccountType());
    ledgerJournalTrans.parmLedgerDimension(_trvLedgerInfo.parmLedgerDimension());
    ledgerJournalTrans.parmOffsetAccount('',_trvLedgerInfo.parmOffsetAccountType());
    ledgerJournalTrans.parmOffsetLedgerDimension(_trvLedgerInfo.parmOffsetLedgerDimension(), curext());

    if(_trvLedgerInfo.parmAccountType() != LedgerJournalACType::Ledger)
    {
        ledgerJournalTrans.parmDefaultDimension(_trvLedgerInfo.parmDefaultDimension());
    }

    if(_trvLedgerInfo.parmOffsetAccountType() != LedgerJournalACType::Ledger)
    {
        ledgerJournalTrans.parmOffsetDefaultDimension(_trvLedgerInfo.parmOffsetDefaultDimension());
    }

    ledgerJournalTrans.AmountCurCredit      =   _trvLedgerInfo.parmAmountCurCredit();
    ...
    ledgerJournalTrans.DefaultDimension     =   _trvLedgerInfo.parmDefaultDimension();


and at the same time in LedgerJournalTrans->initFromTAMDeduction)  we use DimensionStorage::accountNum2LedgerDimension to populate LedgerDimension:

this.LedgerDimension = DimensionStorage::accountNum2LedgerDimension(_tamDeduction.AccountNum,LedgerJournalACType::Cust);

this.AccountType = LedgerJournalACType::Cust;

 

Could you please help to understand the above and write a correct code

RE: No grid values are shown in AX 2009

$
0
0

By one value, do you mean one row? I have seen this behavior when AOS and clients had different versions.

Otherwise please tell us what exactly you see, whether it's the same in all forms and all companies and so on.


No grid values are shown in AX 2009

$
0
0

Hi all,

Today we install an new instance in AX2009 in our server. After installation we restore already existing Application(Appl folder) and Database in new instance.

Now while open the AX client the grid values shows only one value. and all other grid fields are empty.

All indexing and synchronization are done fine.

Please anyone help for the issue

RE: Sales Order status does not change to delivered

$
0
0

We have seen it happen in AX 2009 and AX 2012 R3. Most of the time the proximate cause is a reversal of some transaction which does not clean up properly. Another complicating factor is intercompany purchase or sales orders. As a partial fix we have extended intercompany receiving to be automated to avoid receiving errors that require corrections. To fix we check the journals posted, clean up inventTrans orphaned records and set the document status to a status consistent with the posting step.

I don't think a permanent fix is possible due to the increased fragmentation of code to add extended dimensions along with serial and batch support. It is almost impossible to test all the scenarios. As Dynamics has scaled there are also quite a few places that require try catch code to avoid database locking issues.

RE: Real time Service Issue - Username password validation failed: Transaction Service Profile not found in AX

$
0
0

Hi Raph,

I have also installed  retail complete Setup and Real Time service profile, Web Application and also Given User as System admin.

My web site is working. Certificates is added in Both Dynamics AX Client, POS and also Added all possible Solution. certificates installed in Trust root certificate authority ,personal in Both Client and POS.

My configuration are  AX 2012 R3.

my system are like : - 1) SVR-1 (AOS installed -Production)                                                                                                                             2) Svr-2 ( AX Database and Reports -Production, Retail HQ)  3) Svr-3 ( Communication Server Installed - with IIS - Running Async Server Web Site and Real Time Service Website with 2 Self signed certificate- PRODUCTION)                                                                    4) Svr 4(Installed Channel database and AsyncClient  is Installed - PRODUCTION) all are running Accept REAL time service.

But When I am Running POS for Real Time Service - Inventory lookup and Customer Adding through POS -I am getting error message:-

"Username password validation failed: transaction service profile 'RTS' not found in AX." even Profile and Transaction Is installed.

Errors I am getting along above are:

1) Real-time service connectivity failure. An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)

2) LSRetailPosis.TransactionServices.EstablishConnection: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: An error occurred when processing the security tokens in the message. --- End of inner exception stack trace

3)LSRetailPosis.TransactionServices.EstablishConnection: System.ServiceModel.FaultException: An error occurred when processing the security tokens in the message..

I was seeing your reply - "changing the user for web application in IIS" and I cannot under stand your point- even my Web Pool user is same as AOS user  but still I am not getting Inventory lookup for Real Time Service.

Can you please suggest me what changes I need to do for getting inventory Lookup.  I am ready to share my screen also for Solution.

Regards

Sachin Kesarwani

Email: SACHINAXAPTA@GMAIL.COM

Real time Service Issue - Username password validation failed: Transaction Service Profile not found in AX

$
0
0

Good day Everyone.

I just like to seek your help regarding in my issue in setting up Real time Service. I've already configured the Real time Service Profile and successfully created the Certificate. But when I am trying to use loyalty function, I have this error: 

Do you have any idea why I am getting this error?

Thanks Everyone. 

D365 New Fields In Map CustVendTrans and flowing it into CustTrans Or VendTrans from LedgerJournalTrans

$
0
0

How can i add new fields in map CustVendTrans  and can flow it into  CustTrans Or VendTrans from LedgerJournalTrans.

I have already created a extension of class CustVendVoucher and want to use initCustVendTrans().

RE: Odata client V4 compilation error

$
0
0

Same problem here. Trying to downgrade.

RE: Odata client V4 compilation error

$
0
0

Error CS0117 'CsdlReader' does not contain a definition for 'Parse'


RE: Odata client V4 compilation error

$
0
0

Sir

Can you share me the link which you are following for consuming Odata services? i need to do the same.

Warehouse packing

$
0
0

Hello everyone,

I am trying to use warehouse management to manually pack the items. The work is created to put the item from multiple locations to a single pack location.

So, Item 202020 is picked from bulk-001 (3 quantity) and bulk-002 (2 quantity). Then 5 quantity of this item is put to pack location.

When I am trying to pack the item in the pack location, only 3 items are getting packed (no. of items from the first location). Total 5 items should be packed in this location.

Can anyone tell me what I am missing?

Also, how do I remove the warning at the top of packing station page?

RE: Odata client V4 compilation error

$
0
0

Solution is next:

1. Make sure you are on Framework 4.6.1

2. Add Nuget Extensions  & Tools for Connected services

3. Connect the service to D365FO which will use T4

4. Compilation or reference errors occur;

5. Add Microsoft.Data.OData version 5.8.3 and add Microsoft.Client 7.4.4 through Nuget.

6. Also verify Microsoft.Edm and Microsoft.Odata referenced to your project

7. Now rename EmdlReader to CsdlReader in the generated project.

8. Now you can compile.

Can happen that on point 7 your VS crashes, better is to use NotePad outside VS.

Odata client V4 compilation error

$
0
0

Hi,

I am getting below error after generating Odata client proxy v4 on compilation, any suggestion whats need to be done ?

I have created an DataEntity wanted to access in C# as one of the step is to generated Odata client proxy I have install and generated but after VS restarted as the process but when I complied the VS project getting below error  

Error    CS0234    The type or namespace name 'EdmxReader' does not exist in the namespace 'Microsoft.OData.Edm.Csdl' (are you missing an assembly reference?)

RE: What is the purpose of CustTrans?

$
0
0

CustTrans Table: The CustTrans table contains the posted transaction information for the customer.

CustTransOpen Table: The CustTransOpen table contains transaction information when in an unsettled state.

Viewing all 175888 articles
Browse latest View live


Latest Images

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