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

Dynamics 365

$
0
0

Hi,

Can anyone tell me, what is the difference between Dynamics 365 for operations and Dynamics 365 for financials?

Thanks,

Manivannan M


RE: How to create ledger vouchers in code including tax transactions to settle customer transactions

How to create ledger vouchers in code including tax transactions to settle customer transactions

$
0
0

Hi,

we're trying to create settlements in code in order to settle customer transactions that have some minor amount of balance left. Doing this with tax transactions seems to be difficult in code using the LedgerVoucher*-objects. Settling using journals works, but that's not practical for single transactions (aka. a unique journal for each transaction). 

Skipping journals aside, can you pass tax groups & tax item groups to LedgerVoucher objects, or do we have to use some Tax class and bind it to LedgerVoucher/LederPostingController in order to post tax transactions as well? E.g. a balance of 1,00e using a tax item group of 25 (25%) would do tax posts of 0,25e, 0,75e of sales and -1,00e balance.

Below is a snippet of the (part of) code to settle transactions without tax transactions and it works well in our case that doesn't include tax.

ledgerVoucher = LedgerVoucher::newLedgerPost(DetailSummary::Detail, SysModule::Cust, numberSequenceCode);

ledgerVoucherObject = LedgerVoucherObject::newVoucher(voucher, transDate, SysModule::Cust, LedgerTransType::Payment);
ledgerVoucher.AddVoucher(ledgerVoucherObject);

currencyExchangeHelper = currencyExchangeHelper::newExchangeDate(Ledger::primaryLedger(CompanyInfo::findDataArea(curext()).RecId), ledgerVoucherObject.parmAccountingDate());

ledgerVoucherTransObject = LedgerVoucherTransObject::newTransactionAmountDefault(
ledgerVoucherObject
, LedgerPostingType::CustPayment
, ledgerDimension
, custTable.Currency
, _amountCur
, currencyExchangeHelper);

ledgerVoucher.addTrans(ledgerVoucherTransObject);


custVoucher = CustVendVoucher::construct(
SysModule::Cust
, custAccount
, _amountCur * -1
, custTable.Currency
, ledgerTransTxt::CustPaymentCust
, defaultDimension
, ''
, LedgerPostingType::CustPayment);


custVoucher.parmApprover(HcmWorker::userId2Worker(curUserId()));
custVoucher.parmApproved(NoYes::Yes);
custVoucher.parmTypeOfCreditmaxCheck(TypeOfCreditmaxCheck::None);
custVoucher.parmPaymMode(custTable.PaymMode);
custVoucher.parmPaymSpec(custTable.PaymSpec);
custVoucher.parmLanguageId(custTable.LanguageId());
custVoucher.parmPaymTermId(custTable.PaymTermId);
custVoucher.parmDueDate(systemDateGet());
custVoucher.parmExchRate(
ExchangeRateHelper::getExchangeRate1_Static(Ledger::primaryLedger(CompanyInfo::findDataArea(curext()).RecId), _custTrans.CurrencyCode, systemDateGet()));

custVoucher.parmExchRateSecondary(
ExchangeRateHelper::getExchangeRate2_Static(Ledger::primaryLedger(CompanyInfo::findDataArea(curext()).RecId), _custTrans.CurrencyCode, systemDateGet()));

custVoucher.parmTransRefType(CustTransRefType::Payment);
custVoucher.parmTransRefId(custTransTarget.Voucher);
custVoucher.parmThirdPartyBankAccountId(custTable.BankAccount);

custVoucher.post(ledgerVoucher, custTrans, NoYes::No, UnknownNoYes::No, NoYes::No, false );
ledgerVoucher.end();

RE: How to create ledger vouchers in code including tax transactions to settle customer transactions

$
0
0

Hi,

this actually covers more than just penny differences, it includes also credit loss transactions.

RE: Dynamics 365

$
0
0

Please mark the answers on the right if they were helpful.

RE: How add a method extension in an extension form

$
0
0

It's possible; I don't gave the one-year-old version to test it.

Note that the support for Platform Update 1 ends in less than three weeks, so you should upgrade very soon anyway.

RE: How to create ledger vouchers in code including tax transactions to settle customer transactions

$
0
0

Hi AB2014,

How do you identify those credit loss transactions?

Best regards,

Ludwig

RE: Same Positions , Jobs and Department assign for multiple Workers.

$
0
0

i need some base information how to configure the Department,Job,Position in ax 2012 r3 CU11.

Am new to HRMS module.will you able to provide the Department,Job,Position  creation process,document with example.it will help me a lot to understand and proceed further.

My points

1.Creation of Department,Job,Position.

2.In AX we have worker details,now we are going to implement  Department,Job,Position after that we need to assign the position to Employee.

pls help me.

Thanks in Advance.


Recurrent invoices D365fO

$
0
0

Hi,

i try to create recurrent invoices for customer. Actually, we sell monthly subscription for service so i wish to create some kind of invoice template and wish system to create/post it every month. Would be great to send every new invoice to customer.

So i checked this reference https://docs.microsoft.com/en-us/dynamics365/operations/financials/accounts-receivable/set-up-process-recurring-invoices#post-recurring-free-text-invoices

as i see it doesn't really give paths in D365fO.

I went to 

RE: How to create ledger vouchers in code including tax transactions to settle customer transactions

$
0
0

Hello,

manually or through a query (e.g. get all transactions that are open and have balance less of x amount and have been open 2 years).

The point being here is how do we make AX post these balances so that they're treated as gross and contain a certain amount of tax.

Doing that via ledger journal is a quite a trivial task since you can define tax groups on the journal line and AX takes care of the rest. But if you have 150000 transactions that's impossible.

RE: Same Positions , Jobs and Department assign for multiple Workers.

$
0
0

Hi Hareesh,

Please create a new question on the forum as you are changing the topic of the original question.

Also keep in mind that asking questions isn't suggested answer.

Same Positions , Jobs and Department assign for multiple Workers.

$
0
0

Hello,

I'm working on AX2012 R3 CU11, and creating the procurement workflow. In the workflow i want to use approval hierarchy so searched on that i found on some couple of blogs that i have to create first "Organization , Position and Department Hierarchy".

So i worked on Workers and positions. I have created Titles, Jobs and positions.

Now i'm going to assign position to workers but i'm not able to assign same position to multiple workers.

I read msdn and technet blogs and found this is system behavior that we can assign different position to same users but we can't assign same position to multiple workers.

Now i'm confuse, how can i achieve below things.

e.g:- Alex is "Director" and he is reporting to Brain who is Vice President, now as per below snaps if i want to assign position Director to David or Keith then how can i assign???

As per above structure what is the best way to define this???

if i will create position department wise like Position1-"ParkingOperation-Director", Position-2-HR Director then what about Position-3 for Broadcast Service??? it will not work for David and Keith because "Broadcast Service is also twice.

So please suggest me the best way to define these things so it will also useful to me for my workflows approval and organization Hierarchy.

POS "Operator ID is not valid"

$
0
0

Hi, 

We have installed dynamics ax(Dynamics AX 2012 R3 demo. When We start the POS, it is asking to enter Operator ID and Password.  I try to log in with the internal number of a worker but the message "Operator ID is not valid" appers. 

Please advice

RE: How to create ledger vouchers in code including tax transactions to settle customer transactions

$
0
0

Hi AB2014,

I am not giving up so easily because I believe that the standard application can do that :-)

If you write off your balances through a vendor payment journal (described here under solution 2 dynamicsax-fico.com/.../cleansing-small-value-customer-balances-addendum) by making use of a payment proposal then you can apply advanced filters, such as the one shown here dynamicsaxfico.files.wordpress.com/.../en_99_0065.png or for date ranges shown at the end of the following site technet.microsoft.com/.../aa569937.aspx

Once you have the transactions filtered you just have to ensure that you post it against a depreciation account. I have never posted a journal with >100000 lines but technically this should be ok if you post it in batch.

Anyway, even if you do not like it, probably take a look at those links as they might give you some additional ideas for your code adjustment :-)

Would be great if you could share your solution with the community once you found it and decided what and how to do.

Many thanks and best regards,

Ludwig

RE: Same Positions , Jobs and Department assign for multiple Workers.


Virtual company records not shown

$
0
0

Normal Companies - NC1, NC2

Virtual Company - VC

Steps followed:

1.virtual company created(VC)
2.company accounts(NC1,NC2) added to include in virtual company(VC)
3.tables(abc) to share in virtual company added

Now when a new record in created in a form with datasource (abc table) from company NC1, it has the dataareaid as VC which is expected but once the form or table is closed and reopened,the data is not there.

But if we navigate to NC2 and check the records are available there with dataareaid VC. As it is shared among both companies, why is it not shown in NC1??

Department,Job,Position creation process flow with example in ax 2012 r3

$
0
0

i need some base information how to configure the Department,Job,Position in ax 2012 r3 CU11.

Am new to HRMS module.will you able to provide the Department,Job,Position  creation process,document with example.it will help me a lot to understand and proceed further.

My points

1.Creation of Department,Job,Position.

2.In AX we have worker details,now we are going to implement  Department,Job,Position after that we need to assign the position to Employee.

pls help me.

Thanks in Advance.

RE: Emails dispatching batch job not sending mails

$
0
0

Hi Hassan.

Can you explain a bit more regarding the emails that are not dispatching?

- What type of emails are they? (Alerts, Workflow, other...)

- Can you confirm that the mails are in your Email Sending Queue?

- What status are the emails in the sending queue after the batch job has run.

Screenshots will assist.

Emails dispatching batch job not sending mails

$
0
0

Hi All,

I have created a batch job for dispatching mails every day at 8:00 PM.

Jobs run successfully but not dispatching emails. 

Anybody know the issue?

We are using AX 2012 R3 CU11.

Note: Emails are dispatching if we execute them manually. Issue is only in dispatching through Batch jobs.

Regards,

Hassan

RE: How to create ledger vouchers in code including tax transactions to settle customer transactions

$
0
0

Hi,

thanks for the tips.

However, this whole thingy is supposed to work without the direct use of journals. Via journals this is a piece of cake, even in code, but since the base solutions was already implemented years ago (the one doing credit loss transactions without tax corrections), writing the entire modification from scratch using journals is the last option.

I'd be a more happier camper to find out a way to include tax transaction posting in the existing solution.

Viewing all 175888 articles
Browse latest View live


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