Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Sunday, August 9, 2015

Release the product using X++

Hi,

static void AlfasithReleaseProducts(Args _args)
{
EcoResProductReleaseManagerBase::releaseProduct(
                EcoResProduct::findByProductNumber('1022214').recId,
           CompanyInfo::findDataArea('CEU').RecId);
    info("Product released");
    // here Product name and item name & Product ID and Item Id will be same...
}

Regards,

DMF issue - Access denied for the user - On clicking preview data

Hi,

DMF issue -"Access denied for the user" on-clicking preview data in after validating.


1.This error will be retained even you add the user into Microsoft Dynamics AX Data Import Export Framework Service Users .
 For that we need to update the server (Windows updates ) and restart the server.  This will solve your issue.

Regards,

How to invoke and iterate List as Contract methods in AX 2012/ D365

Hi, Public void performContractIterate(ClassContainsListAsContract    _ListCarryClass) { List contractFieldList = new List(Types::Class); ...