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

Picking List Registration through X++

$
0
0

Hi everyone. I'm trying to confirm, picking list, picking list registration and packing slip on Sales Orders. I've already done confirming and picking the list. I have trouble coding the Picking List Registration, I couldn't find any reliable codes online that could somehow help my logic. Do you guys have available codes that somehow are related to Picking List Registration? Anything can help. Thank you!

PS: When I run my job, it creates the sales order, and does the confirm and picking list all at once. I want to include Picking List registration in the process. That's how it goes. Just saying. :)


Personalisation settings disturbed after installing .xpo

$
0
0

Hi

All my end-user AX 12 Personalization setting are getting disturbed. This is happening whenever we are moving the new xpo to our production server. 

Is there any solution for this?

Thanks in advance

Krishna Mohan

Payment against Invoice

$
0
0

Hi,

I want to extract payment data against invoices. Is there any relation between tables VendInvoiceJour and BankChequeTable or any other way to get these records

Regards,

Arshad

Error occurred while receiving the transfer order in from one site to another

$
0
0

Below error is flashed when receiving the Transfer order

 The unit of 660.2227613694431000 SAR being posted to account 11400003--J02----- is outside the current penny rounding threshold.
Error in unit of amount in currency SAR. Must be rounded to 0.00.

Ax - Production setup cost

$
0
0

Hi guys,

I have the below scenario on production order, wonder if anyone can provide me some guide

Am am running weight average cost (actual cost) for my inventories item. 

I am expecting my setup cost to be base on my run qty

My scenario Production order 1

BOM setup

FG cost = 600 (base on standard formula)

Material

RAW 1 = 100 (cost) 

RAW 2 = 100

Route:

Machine 1 (Machine cost)

Run time = 200 (2 hours for 100 qty)

Setup time = 200 (cost) (Expected the 200 cost is for run time of f 100 qty)

i am expecting the result below:

If i start my production order for 50 qty, system can auto calculate my setup cost as 100  [ base on formula (50/100)*200 ]

I am expected the cost to be lower

FG cost = 400

Material

RAW 1 = 100 (cost)

RAW 2 = 100

Route:

Machine 1 (Machine cost)

Run time = 100 ( base on formula 2 hours for 100 qty)

Setup time = 100 (expected lower cost) (Expected the 100 cost is for run time of  50 qty)

[D365FO] Customize Production Order form by extension

$
0
0

I created a new package referencing Application Suite.

I customize Production Order Create by creation extension.

But I can't change the code of this form.

Customize content: When create button clicked, some input field will be checked.

Please suggest this problem.

Add blank value in lookup

$
0
0

Hi,

I am using a lookup on a stringEdit to filter the record of a grid.

The lookup is populated by a simple query

public void lookup()
{
    Query query;
    SysTableLookup sysTableLookup;


    // Look up sur les départements
    query = new Query();
    query.addDataSource(tableNum(OMOperatingUnit));

    sysTableLookup = SysTableLookup::newParameters(tableNum(OMOperatingUnit), this);
    sysTableLookup.addLookupfield(fieldNum(OMOperatingUnit, Name));
    sysTableLookup.parmQuery(query);
    sysTableLookup.performFormLookup();
}


My questions are : How can i add a "blank" value in lookup ? Is that even possible on a querybased lookup ? Is that better to use a comboBox field instead of stringEdit ?

Thank you,

Stéphane M.

partial PO posting(line wise) in AX 2012

$
0
0

Hi all,

I have a requirement     I have  one PO with 2 PO lines

PO : 00002541  and PO lines

line 1  itemA   qty(2)

line 2 itemB qty(3)

We have packed all the lines in the PO but want to invoice specific line say line number 1  

I tried this code but not working any other help will be appreciated.

my code "

static void partial_Invoice(Args _args)
{
PurchFormLetter PurchFormLetter;

PurchTable PurchTable;

date _ReceivedDate = systemDateGet();

PurchId _purchId = "00002541";

PurchLine purchLine;

;

PurchTable = PurchTable::find(_purchId,true);

ttsBegin;

select forUpdate * from purchLine where purchLine.PurchId == PurchTable.PurchId;
{

purchLine.PurchReceivedNow = 2;

purchLine.update();

}

ttsCommit;

purchFormLetter = purchFormLetter::construct(DocumentStatus::PackingSlip);

//Enum name is recorded, label is registered

//change enum on purchUpdate to change what value(s) are posted

PurchFormLetter.update(PurchTable,"test233",systemDateGet(), PurchUpdate::ReceiveNow,AccountOrder::None,NoYes::No,NoYes::No);


}

Thanks,

Rohit


PO Invoice Amount zero

$
0
0

Hi there!

Could you please help with this issue? How could this happen?

  • Invoice amount zero;
  • Invoice line quantaty and unit price > zero.

Purchase Order Invoice Overview

Purchase Order Invoice Lines

Thank you in advance

AX SSRS Report PurchPurchaseOrder report is empty

$
0
0

Hi,

We are trying to print a purchase order confirmation report, but the report is showing empty.

while debugging the report, PurchPurchaseorderTmp table is updated with the info, but when the report is executed, the report shows empty. I tried refreshing the caches but it did not work.

Create custom Number Sequence for customer group

$
0
0

Dear all,

      I am new for AX so I want to know about complete process of creating number sequence for customer group in AX 2012. Please help me.

Thanks

Remaining value in the stock ageing report dynamics AX

$
0
0

Hi Gents,

I have two items has no quantities but the report shows value for each one, I tried to adjust the value for the items through the closing/adjustment screen, but it couldn't be possible since there is error appears shows that "You cannot cancel any stock closings prior to date".

So, what do you suggest

Thanks,
Ahmad

What is the use of "XppPrePostArgs" in event handler in D365FO

$
0
0

Dear All,

Can you please let me know what is the use of "XppPrePostArgs" in event handler? I saw that will use in Pre and Post event handler.

Please give me more shed on this.

Thanks

how get the Logistics Electronic Address Table Description Field Based On the Purchase order report when using RDP class

$
0
0

I need to display the Description Fields from LogisticsElectronicAddress  table  in purchase order confirmation SSrS report. 

Implementing journal 'copy' functionality

$
0
0

Hi,

I've a customized journal form and trying to incorporate the 'Copy' functionality,I've created the class with the following 'copy' code

Public void journalCopy(LedgerJournalTable _ledgerJournalTable)
{
LedgerJournalTable ledgerJournalTableinsert;
LedgerJournalTrans ledgerJournalTransOrig,ledgerJournalTransNew;
;

ttsBegin;
ledgerJournalTableinsert.data(_ledgerJournalTable);
ledgerJournalTableinsert.JournalNum = JournalTableData::newTable(LedgerJournalTable).nextJournalId();
ledgerJournalTableinsert.Posted = NoYes::No;
ledgerJournalTableinsert.insert();

while select ledgerJournalTransOrig
where ledgerJournalTransOrig.JournalNum == _ledgerJournalTable.JournalNum

{

ledgerJournalTransNew.data(ledgerJournalTransOrig);
ledgerJournalTransNew.JournalNum = ledgerJournalTableinsert.JournalNum;
ledgerJournalTransNew.insert();

}
info("");
ttsCommit;

}
on executing the above code the header details is getting copied but the line details does not,the line details form having the multiple ds like LedgerJournalTrans_Project,VendTransCashDisc etc.
so can anyone guide me on how to copy the line details ?


AX Reports are not showing labels

$
0
0

Hi,

We have upgraded our environment from SQL 2014 SP2 to SQL 2016 SP1. Everything seems to be working fine except SSRS.

Labels are not showing on Reports.

Can anybody have any solution for this?

How to create the following while select into an x++ query

$
0
0

How to create the following while select  into an x++ query,

z_RentalOrderTable rent;
TransDate                td = today() - 7;

while select firstonly100 rent order by PostedDate desc

where (rent.PostedDate > td && rent.RentalOrderStatus == z_RentalOrderStatus::Posted)

  || rent.RentalOrderStatus == z_RentalOrderStatus::Approved

{

info("orders");

}

I want the (posted orders from the past week or approved order of any date) in the output.

I tried the following, 

this.query().dataSourceTable(tableNum(z_RentalOrderTable)).addrange(fieldNum(z_RentalOrderTable,Rentalorderstatus)).value(strfmt('(((%1 = %2) && (%3 > %4)) || (%5 = %6))',
fieldStr(z_RentalOrderTable,Rentalorderstatus),
any2int(z_RentalOrderStatus::Posted),
fieldStr(z_RentalOrderTable,PostedDate),
dateRange,
fieldStr(z_RentalOrderTable,Rentalorderstatus),
any2int(z_RentalOrderStatus::Approved)));

This didn't work. its showing approved orders and ( posted orders with no control on its date)

Please help.

Thanks ,

Praveen

how to attach AX32Serv.exe for debugging Batch Server tasks

$
0
0

HI,

I have a task that runs through batch process. Batch is throwing an error on a table. To figure out for debugging, I have to attach AX32Serv.exe (server) to Visual Studio\Debug\Attach to process. but the process is tied by default to client (AX32.exe). I do not see any way in this dialog screen to browse and attach AX32Serv.exe.

Any help will be highly appreciated.

Return Order Creation Using AIF, but fails!

$
0
0

Hello,

I am trying to create a return order in AX using AIF, but it fails with the below error. The Version is AX 2012 FPK.

"The request failed with the following error: 

The message with Action 'schemas.microsoft.com/.../create' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None)."


Steps I have Followed so far...

1. reactivated the inbound port

2. perform the incremental CIL.

3. And then deployed the service group.

But Still, the issue persists. I'm looking for a solution, can someone please suggest a way to fix this? 

BR,

S/-

Are budget reports only found in the Budgeting module?

$
0
0

I am new to budgets in AX.

Are there budget reports found anywhere else in AX apart from the reports in the Budgeting Module?

Also, I notice in the budgeting module that for the Amount Type in the budget account entries you can only enter Expense or Revenue. If I would like to see my total budget (including assets, liabilities etc) how can I achieve this if I can only choose Revenue or Expense as the Amount Type?

Steve

Viewing all 73760 articles
Browse latest View live


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