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

Customize Sale order work Flow Error

$
0
0

Dear 

                                It is humbly stated that a user (ABC) is added in customize Sale order Work Flow Approval. He has given rights same as others user like (xyz). the relationship has been also created. i have attached all roles except of System Administrator. its still giving error. but when i exclude user ABC then work Flow run smoothly but when i added user XYZ then its shows an error mention in PIC. 

 

                           thanks in Advance for your favorable replies

Regards


RE: Extending HcmWorkerNewWorker form

$
0
0

Thank you for very informative reply. But, let's say I need to make that change, how can I customize HcmEmploymentType enum while it is write-protected? Is it by overlaying?

RE: SalesAgreementHeader Table Properties

$
0
0

it is empty i.e. there is no data in this column, so if you will print any report such as ssrs you would not get data for those old records for this particular column.

SalesAgreementHeader Table Properties

$
0
0

Good Morning,

I am trying to show who created Sales Agreement in SalesAgreeement Listpage in Grid

As i See table the properties of that table is disable

Please find the below screenShot

I tried Adding new field in Salestablelistpage Grid --> Rightclick -->StringEdit

--> Datasource -SalesAgreementHeader and DataField -- CreatedBy

But No result is shown.

Please guide me in better way to approach.

Regards.

Any help would be greatly appreciated.

Thankyou.

Original Document for Vendor Payment Reversal

$
0
0

Hi everyone,

I posted a Vendor Payment using Check, then reversed the check. I am able to see the original Transaction for the Vendor Payment but NOT for the reversal.

Is this how it is in AX7/Dynamics 365? Or is this an issue in my environment

Please note i was able to see the original transaction for Payment and reversal in AX 2012. 

Thanks in advance for the Help.

RE: create role on create , edit vendor

$
0
0

Hi,

Create a new role, and just add the following duties: (which takes care of adding and modifying vendors)

* VendVendorMasterInquire

* VendVendorMasterMaintain

create role on create , edit vendor

$
0
0

Hi All,

I'm looking for the simple way to create role on add or modify suppliers, 

Best regards.

RE: Auto Posting Ledger Journal Take a Long Time

$
0
0

So far, make it to class is faster

Big thanks for all respond


Auto Posting Ledger Journal Take a Long Time

$
0
0

Dear Experts,

I'm beginner develop dynamic ax, now creating auto post journal through X++ by using AxLedgerJournalTableClass and AxLedgerJournalTransClass

My data saved on my temporary table, then successfully create 1 journal with 1459 lines on 5 minute

Could I tune up my code to make it faster?

Here is Server Specification :

Processor     :  Intel i3 2.40Ghz

RAM             : 8 GB

And here is my code 

static void TestAutoPost(Args _args)
{
    AxLedgerJournalTable    journalTableClass;
    AxLedgerJournalTrans    journalTransClass;

    container ledgerDimension;
    container defaultDimension;

    VDI_LedgerJournal_Temp ledgerJournalTemp;
    LedgerJournalTable      ledgerJournalTable;
    LedgerJournalCheckPost  ledgerJournalCheckPost;
    int no = 1;

    DialogButton autopost;
    ;
    autopost = Box::yesNo("Do you want to auto post all journal?",DialogButton::Yes,"Auto Post Question");
    try{
        journalTableClass   = new AxLedgerJournalTable();

        select ledgerJournalTemp group by ledgerJournalTemp.JournalName,ledgerJournalTemp.Description;

        journalTableClass.parmJournalName(ledgerJournalTemp.JournalName);
        journalTableClass.parmName(ledgerJournalTemp.Description);
        journalTableClass.save();

        while
        select ledgerJournalTemp
        {
            journalTransClass   = new AxLedgerJournalTrans();

            journalTransClass.parmJournalNum(journalTableClass.ledgerJournalTable().JournalNum);
            journalTransClass.parmTxt(ledgerJournalTemp.LineDescription);
            journalTransClass.parmTransDate(ledgerJournalTemp.TransactionDate);
            journalTransClass.parmCurrencyCode(ledgerJournalTemp.CurrencyCode);
            journalTransClass.parmAmountCurDebit(ledgerJournalTemp.DebitAmount);
            journalTransClass.parmAmountCurCredit(ledgerJournalTemp.CreditAmount);
            defaultDimension = [1,"TransactionType",ledgerJournalTemp.LedgerDimension];
            journalTransClass.parmDefaultDimension(AxdDimensionUtil::getDimensionAttributeValueSetId(defaultDimension));
            journalTransClass.parmOffsetDefaultDimension(AxdDimensionUtil::getDimensionAttributeValueSetId(defaultDimension));
            journalTransClass.parmAccountType(LedgerJournalACType::Ledger);
            ledgerDimension = [ledgerJournalTemp.AccountNum+"-"+ledgerJournalTemp.LedgerDimension,ledgerJournalTemp.AccountNum,1,"TransactionType",ledgerJournalTemp.LedgerDimension];
            journalTransClass.parmLedgerDimension(AxdDimensionUtil::getLedgerAccountId(ledgerDimension));
            journalTransClass.parmOffsetLedgerDimension(DimensionStorage::getDynamicAccount(ledgerJournalTemp.OffsetLedgerDimension, LedgerJournalACType::Bank) );
            journalTransClass.parmOffsetAccountType(LedgerJournalACType::Bank);
            journalTransClass.parmDocumentNum(ledgerJournalTemp.Document);
            journalTransClass.save();
            no++;
        }

        if(autopost == DialogButton::Yes){
            ledgerJournalCheckPost = ledgerJournalCheckPost::newLedgerJournalTable(journalTableClass.ledgerJournalTable(),NoYes::Yes);
            ledgerJournalCheckPost.run();
        }
        info(strFmt("Journal has been saved with %1 lines",no));
    }
    catch(Exception::Error){
        error(strFmt("Error at line %1",no));
    }
}


RE: 'failed to generate query from database blob' error

$
0
0

Hi Paul1

Your suggestion is correct.

I ticked your reply as verified.

'failed to generate query from database blob' error

$
0
0

When I click AX menu, error message is shown

'Cannot select a record in model security policy runtime view(ModelSecPolRuntimeView).Error accessing database connection.'

'failed to generate query from database blob'

Someone know this error?

Default Financial Dimensions set in Purchase requisition line items Accounting distribution

$
0
0

Hello,

I'm using AX2012 R3 version and I have question for Accounting distribution ledger account for Purchase requisition line items.

I have set departments with workers and requirement is base on the positions hierarchy if Purchasing Department(660) person create the Purchase requisition for catalog and non catalog items both then in purchase requisition line item automatic accounting distribution will be set.

e.g:-ledger account-Department dimension means 52210-660 this should be auto attach.

1) for catalog item i have set Item group posting from Inventory Management->Setup->Posting->Purchase order tab->Purchase expenditure for Product->Item Group->Main account(52210)

2)Non catalog item i have set item group posting from Inventory Management->Setup->Posting->Purchase order tab->Purchase expenditure for expense->Item Group->Main account(52210)

2) 660 is Purchasing Department code which should be merge with this main account(52210-660) and set as default at the time of creation Purchase requisition line item.

In Configure account structure Main Account-Department both are active for P& L.

Anyone suggest me how can i achieve this and what is the recommended process for this??

RE: IP Address DB Server Change

$
0
0

Hi,

You can do that from the server configuration.

In the AOS machine, go to start>>Microsoft Dynamics AX Server configuration. You can then go to the Database tab, and reconnect to the actual DB.

IP Address DB Server Change

$
0
0

Dear Experts,

I have a problem, in AOS Server can't start Dynamic AX service because our IP Address of DB Server changed

Where I can change connection to DB?

Please help

Thank you in advance

Dynamics AX 7 - Visual Studio2015 Add in

$
0
0

Dear ,

I am not finding the Dynamics AX 7 Add-In for the visual studio 2015 . Please let me know if you ever come across this add-on and used it . Thanks.


RE: Extending HcmWorkerNewWorker form

$
0
0

If you decide to change the enum and all the related code, you have to create a customization (olverlayering). Because the enum is in the PersonnelCore package, you have to create a new model inside this package (Dynamics 365 > Model Management > Create model). Then create a project for this model, right-click the enum in Application Explorer and choose Customize. It will create a customization in your project and you can start changing the enum. Then create a customization of HcmWorkerRelationType and all other objects that must be changed too.

Extending HcmWorkerNewWorker form

$
0
0

Hello,

I am pretty new to AX 7. I have this HcmWorkerNewWorker form, where is a comboBox containing 2 default values, i need it to have 4 values. I cannot change that enum, because it is non extensible, i have created new enum with 4 values, but i cannot swap it instead of old enum, because if i change it in form's combobox, it is not allowing me to save it. How could I add values to comboBox so that is has 4, not 2 values? Thank you.

RE: Data import via ODBC

$
0
0

The possibility to create a ODBC Datasource has been there from the beginning. But it isnt supported yet in the Import dialogue.  Only flatfiles or Packages (which are zipped flatfiles).

Data import via ODBC

$
0
0

Has anyone already had any experiences with the DIXF in AX7 RTW local VM?

I tried to configure a migration as I did with AX2012 R3 and failed miserably.

My situation:

I want to import BankGroups from a SQL DB on the machine called StagingDB and created a BankgroupStaging Table identical to the Ax BankgroupStaging Table.

1)  I configured an ODBC Datasource which points to that StagingDB.

2) I configured a template BankGroupTemplate which has the BankGroups Entity and validated the template.

3) When I try to import the data I click on "import" , named the job, chose ODBC as SourceDataFormat and then chose the Bank Groups Entity.

4) I saved the Import Project, chose "Apply Template" and chose my BankGroupTemplate -> The template shows in the form

5) I then can input the select statement like it was possible in AX2012 Processing Groups.

   "select * From dbo.BankGroupStaging"

Problems:

a) When I save the group and open the project again, all settings are lost (SourceDataFormat,EntityName,ODBC Select)

Is this normal? In AX2012 all settings where saved in the processing group.

Do I really have to input everything again, every time I open the Data Project?

b) Where can I see a preview of my staging data (like in AX2012) so that I can validate my select?

c) I can´t seem to get any data, when i press the Import Button there comes the error "Upload Data File for Entity 'Bank Groups' even if I configured ODBC as a Source. is this a bug ?

Thanks for any hints

Pass Variable value To SSIS Parameter

$
0
0

Is it possible to pass a vairable value in AX to a parameter in an SSIS job? If so how is it done?

Viewing all 175888 articles
Browse latest View live


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