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

Financial Dimensions Display error

$
0
0

Hi everyone

I am encountering stange issue when I use Sale Tax functionality on General Journal "system generated account entry for sales tax" on Voucher shows Financial Dimension Name(Description)instead of Dimension display Value; remaining voucher lines shows correct dimension values. Any idea or anyone faced such issue.


RE: Estimates for Fixed Price Prices ( with multiple Sub Projects )

Estimates for Fixed Price Prices ( with multiple Sub Projects )

$
0
0

I have a question primarily about the "estimate" process in Dynamics AX, I have the following project structure:

  1. Master Project
    1. Sub Project 1
    2. Sub Project 2

Hours forecast is recorded on the lower level as illustrated below:

  1. Master Project
    1. Sub Project 1  - Hour Estimate: 3000 USD
    2. Sub Project 2  - Hour Estimate: 6000 USD

Expense forecast is recorded on master level as illustrated below:

  1. Master Project - Expense Estimate : 1000 USD
    1. Sub Project 1 
    2. Sub Project 2 

On the project budget, the forecast above is imported to control budget on both; parent and sub project levels.

On Account Transactions

The on account transaction is filled out on the master project ( parent ) on which invoices will be issues

  1. Master Project - On Account Transactions ( 7000 USD for Milestone 1, and 8000 USD for Milestone 2 )

Transactions :

As the project starts, hours are recorded on the sub project level, the following two hour journals are posted to record actual hours.

 

  • Sub Project 1  | Actual Hour 2000 USD
  • Sub Project 2  | Actual Hour 2000 USD

Invoice Proposal

An invoice is posted on the master project for the milestone 1, for 7000 USD.

Question

When running the first estimate, here are the calculated values:

  • Sub Project 1 |   Cost to complete method is "Total Budget - Actual"

Total Cost 3000

Actual Cost 2000

Percentage Completion = (2000/3000) = 66.67

Accrued Revenue is zero

 

  • Sub Project 2 |

Total Cost 6000

Actual Cost 2000

Percentage Completion = (2000/3000) = 33.33

Accrued Revenue is zero

 

How can we ensure that accrued revenue is estimated on the sub project level as well ? The required of our company is to do the following:

  1. Hours forecast and actuals are recorded on the sub project
  2. Expense forecast and actuals are recorded on the Master project
  3. Invoices to be issues to the client on the master project ( as the project customer doesn't care about all the internal sub projects)
  4. Estimates to be done on the sub project, in order to allocate revenue per sub project

Thanks in Advance,

 

RE: Mobile Device show negative Qty while doing Movement journal

$
0
0

Hi Andre',

I do as following steps:

1. Login to RF Emulator -> click "Movement"

2. Enter License Plate number 000LP-0000812197, enter Item number

3. Click "OK"

Then system show Qty -569 instead of 1707 Qty as in the On-hand.

Why system doesn't show Qty 1707?

Create New p-job show me unknown error

$
0
0

i create new p-job to save customize data from POS to ax2012 HQ 

so after created this when i try to run my customize p-job i got this error

so i clicked on edit

RE: Mobile Device show negative Qty while doing Movement journal

$
0
0

It appears that there is a mismatch on the Transactions. (or probably incomplete Transactions)

Did you look in Detail about the other WorkId references? What do they tell?

RE: Mobile Device show negative Qty while doing Movement journal

$
0
0

Dear Crispin,

I checked already, there is no pending work that related to that License Plate or this item also.

List of open works not related to the item that I am checking.

RE: Create Project through x++

$
0
0

Actually no, The error is not related to the project id as it not exist and when I run this code it creates it but with no customer data

But if I added the following line

projTable.CustAccount = "0006-Custom";

Project is not created and give me this error

Cannot create a record in Locations (LogisticsLocation). Location ID: 000002339, Custom - Ahmed Awwad.

The record already exists.


RE: AX2012 Create printout to file in postscript

$
0
0

In AX 2012, you can simply generate a Report using the Controller class, and in the Controller class, you can set the printJobSettings.

Have you considered this?  or have I understood your requirement incorrect?

RE: Design Header report show line PO

$
0
0

This report shows the document number. Just one item But I want the document number to show all.

How do I do it?

RE: Estimates for Fixed Price Prices ( with multiple Sub Projects )

$
0
0

Hi,

There is a periodic task for creating estimates available. Meaning that you do not have to do this from an individual project level. Have you tried using this functionality?

Best regards,

Ludwig

RE: Create Project through x++

Create Project through x++

$
0
0

Hello All,

I would like to create a project using x++ in 2012 R2.

First I've made a class that create a project contract using the following code,

str ContCr(str CustAcc)
{
    ProjInvoiceTable projInvoiceTable;
    CustTable custTable;
    CustAccount custAccount;
    ProjFundingSource projFundingSource;
    NumberSeq numSeq;


    info("Project contract is being created");

    ttsbegin;
    projInvoiceTable.clear();
    projInvoiceTable.initValue();
    custTable = CustTable::find(CustAcc);
    numSeq = NumberSeq::newGetNum(ProjParameters::numRefProjInvoiceProjId(),true,true);

    projInvoiceTable.ProjInvoiceProjId  = numSeq.num();
    projInvoiceTable.CurrencyId         = "EGP";
    projInvoiceTable.Description        = custTable.name();
    projInvoiceTable.insert();

    info("projInvoiceTable.ProjInvoiceProjId: " + projInvoiceTable.ProjInvoiceProjId);
    projFundingSource.ContractId         = projInvoiceTable.ProjInvoiceProjId;

    projFundingSource.CustAccount        = CustAcc;
    projFundingSource.FundingSourceId    = custTable.name();
    projFundingSource.FundingType        = ProjFundingType::Customer;

    projFundingSource.editProjFunder(true,projFundingSource.CustAccount);

    projFundingSource.insert();

    projFundingRule::createDefaultFundingRule(projInvoiceTable.ProjInvoiceProjId, projInvoiceTable.RecId);

    ttscommit;
    return projInvoiceTable.ProjInvoiceProjId;
}

It works successfully, But as a return of this contract I'm trying to create the project itself using the following code,

void clicked()
{

    ProjInvoiceTable projInvoiceTable;
    ProjTableType projTableType;
    NumberSeq projNumberSeq;
    ProjId projIdLastSon, projectId;
    ProjTable projTable;
    ProjId projMask;
    ProjName _projName;
    Integer sonNum;
    ProjType _projType;
    ProjGroupId _projGroupId;
    ProjInvoiceProjId _projInvoiceProjId;
    ProjLinePropertyId _projInvoiceStatusId;
    str ContID;



    super();

    ContID = this.ContCr("0006-Custom");

    _projType = ProjType::TimeMaterial;
    //1#
    _projGroupId = 'T&M';
    _projName = "Proj-Test";
    //2#
    _projInvoiceProjId = ContID;

    projTable.ProjId = '19992';
    projectId = projTable.ProjId;

    projTable.Type = _projType;
    projTable.ProjGroupId = _projGroupId;
    projTable.Name = _projName;
    projTableType = projTable.type();

    projTableType.initProjTable();

    projTable.ProjInvoiceProjId = _projInvoiceProjId;
    projInvoiceTable = ProjInvoiceTable::find(_projInvoiceProjId);
    projTable.CustAccount = projInvoiceTable.Name;
    projTable.initFromInvoice(projInvoiceTable);
    //projTable.Format = _numberSequenceMask;
    projTable.CheckBudget = ProjGroup::find(_projGroupId).CheckBudget;

    if (_projInvoiceStatusId)
    {
    ProjLinePropertySetup::updateLinePropertyProj(projTable.ProjId, _projInvoiceStatusId, TableGroupAll::Table, true);
    }

    projTable.initFromCustTable(CustTable::find(projTable.CustAccount));
    if (ProjTable::exist(projTable.ProjId))
    {
    // Project already exists.
    throw error("@SYS56494");
    }

    if (!projTableType.validateWrite())
    throw error ("Validations failed");

    projTable.insert();

    if (projNumberSeq)
    {
    projNumberSeq.used();
    }
    else
    {
    projTable.clear();

    if (projNumberSeq)
    {
    projNumberSeq.abort();
    }
    }

    info (strfmt('Project %1 successfully created ', projectId));

}


Project is successfully created but all customer information is not provided to the project.

any help?

RE: Design Header report show line PO

$
0
0

That is a whole different expectation.

In Standard AX, the Purch Reports are connected by the PurchId.

If you Need a Report to Show all Purchase orders containing the item, you have to develop a completely new Report altogether.

RE: HTTP Error 503. The service is unavailable.

$
0
0

Hi 

the issue has been resolved , by stopping the and restarting the service 


RE: AX2012 Create printout to file in postscript

$
0
0

Hi Crispin,

thanks for the answer. Yes I considered this but how to generate the post script file?

What I'm especially missing is a replacement for this function:

printJobSettings.outputToPrnFile(true); //redirect output to file

Regards

Thomas

AX2012 Create printout to file in postscript

$
0
0

Hi to all,

we are migrating some custom AX2009 X++ code to AX2012 R3 CU13.

In AX2009 we had the requirement to use generate a post script file from an xpp report. The file needs to be processed afterwards in some integration, I will not go into detail of it here.

In order to do this in AX2009 we did the following:

- set up a generic printer on the domain controller using a post script driver

- Using PrintJobSettings class and pass a given file destination using the methods .setTarget(PrintMedium::Printer), .outputToPrnFile(true), .filename(outputFilePath)

This generated a postscript file in the outputFilePath.

Here the sample code of AX2009:

    printJobSettings = new PrintJobSettings();

    printJobSettings.deviceName(“\\myprintserver01\DAX_KyoUni_PS”); 

    printJobSettings.setTarget(PrintMedium::Printer); //print to printer

    printJobSettings.preferredTarget(PrintMedium::Printer);

    printJobSettings.outputToPrnFile(true); //redirect output to file

    printJobSettings.fileName(outFilePath); //temporary file name

    printJobSettings.suppressScalingMessage(true);

    printJobSettings.warnIfFileExists(false);

I could not find a way in order to migrate this solution to SSRS reports. Is there a another way to achieve this these functions for SSRS reports in AX2012 ?

Many thanks for any input.

RE: Estimates for Fixed Price Prices ( with multiple Sub Projects )

$
0
0

Thanks for the prompt response,

Yes, I know the utility. Although, my question is primarily about the estimation level.

Since invoicing and on account transactions are provided on the master level, when I do estimate on the sub project level, accrued revenue is zero.

Highly appreciate your response,

RE: AX2012 Create printout to file in postscript

$
0
0

You may have to execute the Controller twice, once printing from Printer, and the other save to file. You can manage this with Parameters.

RE: Mobile Device show negative Qty while doing Movement journal

$
0
0

Are you using the warehouse management features available in AX2012 R3 or do you have another add-on? Anyway, It wouldn't be logical to have a quantity suggested which meets the on-hand for a movement. For a counting, I would expect the on-hand information.

Viewing all 175888 articles
Browse latest View live


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