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

Reimbursement to customer

$
0
0

Hi Champs,

I want to adjust Customer invoice with its payment but when I am trying to use reimbursement feature of AR this error comes "No reimbursements were issued because no eligible customers with credit transactions were found." Please help me out of this

Regards,

SMA


journal automatically when posting invoices issue

$
0
0

Hello for all 

i'm facing an error 

this error shown after post invoice sales order  and used function

"create and post draw journal automatically when posting invoices " in method of payment

invoice already posted and automatically create new payment journal but don't posted .

Cash of delivery issue

$
0
0

Hello for all

i'm facing an error 

"Error executing code: Overflow in internal run stack.

Stack trace

(S)\Classes\ExchangeRateHelper\new - line 3
(S)\Classes\ExchangeRateHelper\construct - line 17
(S)\Classes\ExchangeRateHelper\newCurrency - line 19
(S)\Classes\ExchangeRateHelper\newExchangeDate - line 22
(S)\Data Dictionary\Tables\Currency\Methods\exchRate - line 8
(S)\Classes\CustCreditLimit\new - line 10
(S)\Data Dictionary\Tables\CustTable\Methods\checkCreditLimit - line 16
(S)\Classes\CustVoucher\isAmountBelowCreditMax - line 32 "

after post account receivable invoice and used function "create and post draw journal automatically when posting invoice " in  method of payment .

invoice already posted and system automatically create payment but system can't post it and show this e

Dialog --> select company from list

$
0
0

Hi!

I have to create job which needs inputs from dialog (TransDateTime and AreaId)

The part with date is finished:

static void test(Args _args)
{

Dialog dialog;

DialogField fieldLastSynchDate, fieldCompanyId;

dialog = new Dialog("My Dialog");

dialog.addText("Choose synchronization date:");

fieldLastSynchDate = dialog.addField(extendedTypeStr(TransDateTime));

dialog.run();

if (dialog.closedOk())
{

//ACTION

}

else return;

}

How to create ComboBox or something else where i could select existing companies ??

Thank you in advance :)

How to get controller for a form in pre/post event handler of one of te form methods

$
0
0

Hi,

We had some customization done in SysOperationTemplateForm in 2012, which we are trying to deal with in Dynamics 365. Customization we had done in CloseOK() method of the form. Which I am tying to handle by writing a pre event handler. As below-

[PreHandlerFor(formStr(SysOperationTemplateForm), formMethodStr(SysOperationTemplateForm, closeOk))]
public static void SysOperationTemplateForm_Pre_closeOk(XppPrePostArgs args)
{
FormRun sender = args.getThis(); sender.

if (this.controller().checkCloseDialog())
{
// <CMC>
if (CMCSysOperationTemplateForm::cmcFMNameOfCreatePostBatchChanged())
{
throw error("@CMC1326");
}

if (ledgerJournalCreatePostBatch && batchJob)
{
ttsBegin;

batchJob.selectForUpdate(true);
batchJob.recurrenceData = this.controller().batchInfo().parmRecurrenceData();
batchJob.doUpdate();

ttsCommit;

sender.close();
}
}
}

I am getting error on the code which I have highlighted in bold. I am not able to get controller for the form.

Can you please give me some information on how to get the controller ?

Document handling in AX 2012

$
0
0

Hi

I'm wondering if its possible to make document handling active in Voucher transactions. Purpose is to upload documents for journals. Today we have all Incoming invoices from Vendor in system through Invoice processing. But we also would like to attach document for accruals etc..

 

item consumption ax 2012 r2

$
0
0

hello


Im not mark the "Item consumption" check box under Project parameters form and then created and received a project purchase order. System still do the project expenses when i post purchase order.

Ty in advance

Some Retailtransactiontable records did not sync

$
0
0

Good day.

i have a strange issue.

A few records in the RetailTransactionTable did not sync to AX from the beginning of the month. i can see the records in the RetailtransactionSalesTrans and RetailTransactionPaymentTrans. How can i replicate these transactions to AX in order to post them?

Any help in this regard would be appreciated.

Version AX 2012 R2


What are POS startup(i.e. Login and Main Screen Load) Projects from "Retail SDK Services"?

$
0
0

Hi Champs!

I have created one new FORM. Added it in Blank operation and it is working fine.

But I want to open this form automatically as POS gets Logged-In instead of pressing any POS button. Basically it is kind of a Home Screen Form so need to display it on Startup of POS.

I have opened it successfully from Triggers but I want to know any part of "Services" project which gets executed on Startup of POS?

Thanks in advance.

Getting a list of customers via web services

$
0
0

I want to get a list of customers via a web service in AX.  I was hoping to use the CustCustomerService class, but I'm not having much luck. My code is:

CustCustomerSvc.CallContext cc = new CustCustomerSvc.CallContext();
cc.Company = "DAT";
CustCustomerSvc.CustomerServiceClient csc = new CustCustomerSvc.CustomerServiceClient();
CustCustomerSvc.EntityKey[] ek = new CustCustomerSvc.EntityKey[1];
CustCustomerSvc.DocumentPaging dp = new CustCustomerSvc.DocumentPaging();
dp.PageSize = 100;
CustCustomerSvc.EntityKeyPage ekp = csc.getKeys(cc, dp);
foreach (CustCustomerSvc.EntityKey key in ekp.EntityKeyList)
{
    object ob = key.KeyData.GetValue(0);
    Debug.WriteLine(ob.ToString());
}

I published the service, but it doesn't seem to retrieve anything (doesn't return errors either). I get no entity keys even though all my companies have customers.

Am I doing something wrong? Do I need to create my own service?

What we'd like to do is have an external service that iterates through the customers and updates the Lat/Lon on their addresses.

smmSalesAmountTotal on SalesLine

$
0
0

Hi,

Does anybody know how to calculate smmSalesAmountTotal field on SalesLine? I can put it on the grid (Total amount) however everywhere there is 0.00.

Is the anywhere a mechanism to calculate it?

I tried by running sales cubes - no effect.

Office 365 account is mandatory?

$
0
0

Dear All,

Recently i downloaded VM for Dynamics 365 for Operation. 

1. Then create O365 account for me.

2. Then i ran "Admin user provisioning"  and provide O365 account and submit. Once done

3. Then browse Dynamics 365 for Operation through IIS

4. Then i saw my id is having Admin previlage.
My question is O365 is mandaory to get admin previlage in to Dynamics 365 for Operation ?
OR We can achieve  with any other process to get admin previlage.

Please give me more shed on this.

Thanks!

Arpan Sen

Async Server not running

$
0
0

Hello all,

Our company is using AX 2012 R3 CU10 Demo in Microsoft Azure.  About a month ago the Async Server stopped running.  First we got this error:

When running the Async Client Configuration Tool for the Houston Store.  When I look at the error log I noticed that there were errors with the Async service and something about trust.

With all the talk about certificates I noticed that some of the cerificates expired:

Is there anyway to renew these certificates so are demo cloud machine will work correctly?

Thanks in advance

Changing the quantity on a Work Order doesn't increase demand in Net Requirements

$
0
0

I increased a production Work Order by 100 units. When I check the "Net requirements" for items numbers consumed by that work order, it didn't increase the demand. It still shows the original demand from when I created the work order. For reference we have re-run the master scheduling to update any changes and nothing happened 

How to create new Product Dimension in AX 2012

$
0
0

Currently we have 3 dimension in Product Dimension Configuration , Size, Color I want to create 3 more for Grade , origin , Brand How can I create these dimensions


How to create modifiedby field in a table?

$
0
0

Hi,

How to create or make the modifiedby field enabled in AX 2012 R3?

No cost rollup is found for this item. Activate the item cost price.

$
0
0

Hi All,

I try to receive an item by using Inventory adjustment journal to introduce necessary levels of on-hand of an item. The message that I receive is 'No cost rollup is found for this item. Activate the item cost price.' 

Any Idea how this can be activated? (Inventory Model is Standard Cost).

Thanks,

Michalis

Can you print labels and signs with a Task Device CAL for Microsoft AX2012?

$
0
0

Can you print labels and signs with a Task Device CAL for Microsoft AX2012?

Dynamics 365 Build - VSTS - Error preparing build environment

$
0
0
  • Source code and build in Visual Studio Team Services
  • Build steps automatically configured during deployment of Life Cycle Services build server
  • Build Server is Dynamics365 sandbox server
  1. Ran Build from VSTS
  2. Error message:

    VERBOSE: 7:47:42 PM: - Backup completed with RoboCopy exit code: 1.

    VERBOSE: 7:47:59 PM: - Backup contains 5267623892 bytes in 193683 files: I:\DynamicsBackup\Packages

    WARNING: 7:47:59 PM: - Backup size does not match deployment metadata size (Backup: 5267623892 bytes, Deployment metadata: 5267031092 bytes).

    VERBOSE: 7:48:00 PM: - Exception thrown at C:\DynamicsSDK\PrepareForBuild.ps1:261: throw "Failed to create backup of metadata packages."

    System.Management.Automation.RuntimeException: Failed to create backup of metadata packages.

    ##[error]Write-Message : 7:48:00 PM: Error preparing build environment: Failed to create backup of metadata packages.

  3. Updated PrepareForBuild.ps1 script as follows (lines 214 & 220):

FIFO date-controlled reservations with WHS

$
0
0

I am now trying to setup WHS in AX 2012 R3 environment.

One problem is that I cannot activate "FIFO date-controlled" reservation if I check "Use warehouse management processes" in Storage dimension group setting and assign it to the item.

This is the error message when I tried to check "FIFO date-controlled". 

One or more items associated with this Item model group are controlled by processes defined for warehouse management and the use of reservation hierarchy. FIFO date-controlled reservations will not be used for these items.

Is there any workaround for this issue?  I've seen many people have same issue and have not found any good solution yet. Please advise.

Viewing all 46681 articles
Browse latest View live


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