When I run batch job for the class ReqCalcScheduleItemTable for master planning scheduling.
I am getting below error in Log.
If any body has Idea please suggest.
I am working on Ax 2012 R2
When I run batch job for the class ReqCalcScheduleItemTable for master planning scheduling.
I am getting below error in Log.
If any body has Idea please suggest.
I am working on Ax 2012 R2
My client is closing inventory on monthly basis. We are facing a serious problem with Average Cost. For example we started Production Order in Nov 2017, done report as finished for partial quantity in Nov 2017, consumption also booked for the partial quantity, then continued the production order in Dec. 2017. Ended the production order in Dec. 2017. Due to this the Average cost of raw material exorbitantly gone up. Some transaction adjustment done for Finished Goods, for remaining raw material, the stock was taken out with high cost and take in with new Product code. While closing, the Zero on-hand qty item was updated with settlement entries, and there is Financial Balance with Zero Qty on hand, this Item is not in use now. We want to delete the Financial amount through table. please help us which table that we need to delete. Thanks,
I'm looking to add more dimensions then just size, color, and style to a product...how can I configure that or what variant group can I use to achieve that? I'm looking to add Length, Thickness, Class type, etc...
Thank you
What is the set based operator in AX? In which scenarios the set based operator will not give you the performance improvement?
How can I improve the performance of Display method on Form?
Dear All,
Can you please let me know the process of best practice checking in D3FO.
Please give me more shed on this.
Thanks!
I´m working with a customer that are planning to implement Dynamics AX 2012 R2 in Turkey. However Microsoft doesn´t provide any localizations for Turkey. Does anybody have experience of a partner that offer localizations in Turkey?
Hi,
I am working on a AX 2012 SSRS RDP Report. one parameter is Kit (1,2,3,4,5).
If values passed to kit parameter are 1,3 then items related to kit 1 and kit 3 must be displayed in separate pages.
the report data is stored in TempRDP table.
How t o set new page condition?
Thanks,
Lakshmi
Dear All
Can you please let me know what is the advantage of Controller class?
It's best practices to attached Controller class to menu item?
Please give me more shed on this.
Thanks!
Hi,
I need generate voucher with CustVendVoucher with the goal replicate method post of TrvPost, but only generate the voucher without transactions. This is my code:
publicstatic Voucher grwPostCustVendTransactions( TrvExpTable _trvExpTable,
CustVendAC _custVendAccount,
AmountCur _transactionAmount,
CurrencyCode _transactionCurrency,
TrvDateStd _transDate,
ExchRate _exchRate,
TransTxt _transTxt,
InvoiceId _invoiceId,
DimensionDefault _defaultDimension = 0)
{
DimensionDefault defaultDimension;
VendVoucher custVendVoucher;
SysModule module;
LedgerTransTxt ledgerTransTxt = LedgerTransTxt::None;
PostingProfile postingProfile = '';
VendTable vendTable;
CustVoucher custVoucher;
VendTrans vendTrans;
CustTrans custTrans;
Voucher voucherNum;
TrvExpTrans trvExpTrans;
LedgerVoucher ledgerVoucher;
NumberSequenceCode voucherSeriesCode;
LedgerVoucherObject ledgerVoucherObject;
NumberSequenceReference numberSequenceReference;
LedgerVoucherTransObject ledgerVoucherTransObject, ledgerVoucherTransObject2;
numberSequenceReference = TrvParameters::numRefExpenseVoucher();
if(numberSequenceReference.RecId == 0)
{
error("@SYS305186");
return"";
}
voucherSeriesCode = numberSequenceReference.numberSequenceTable().NumberSequence;
voucherNum = NumberSeq::newGetVoucherFromCode(voucherSeriesCode, NumberSeqScopeFactory::createDataAreaScope(), true).voucher();
module = SysModule::Vend;
ledgerVoucher = LedgerVoucher::newLedgerPost(DetailSummary::Detail, SysModule::Ledger, voucherSeriesCode);
ledgerVoucherObject = LedgerVoucherObject::newVoucher( voucherNum,
today(),
SysModule::Ledger);
ledgerVoucher.addVoucher(ledgerVoucherObject);
defaultDimension = VendTable::find(_custVendAccount).DefaultDimension;
// Initialize custVendVoucher
custVendVoucher = CustVendVoucher::construct(module,
_custVendAccount,
_transactionAmount,
_transactionCurrency,
ledgerTransTxt,
defaultDimension,
postingProfile,
LedgerPostingType::VendBalance);
custVendVoucher.parmTransDate(_transDate);
custVendVoucher.parmExchRate(_exchRate);
custVendVoucher.parmTransVoucher(voucherNum);
custVendVoucher.parmTransTxt(_transTxt);
custVendVoucher.parmDocumentDate(_trvExpTable.trvReportDate());
custVendVoucher.parmDocumentNum(_trvExpTable.ExpNumber);
custVendVoucher.parmInvoiceId(_invoiceId);
custVendVoucher.parmCustVendNegInstStatus(CustVendNegInstStatus::Invoiced);
custVendVoucher.parmApproved(NoYes::Yes);
custVendVoucher.parmApprover(currentWorker());
//agregar las transacciones
ledgerVoucherTransObject = ledgerVoucherTransObject::newBasicDefault(ledgerVoucherObject, LedgerPostingType::LedgerJournal,
DimensionStorage::accountNum2LedgerDimension(vendTable.AccountNum,LedgerJournalACType::Vend), _transactionCurrency,
_transactionAmount, _transactionAmount, _transactionAmount);
ledgerVoucherTransObject2 = ledgerVoucherTransObject::newBasicDefault(ledgerVoucherObject, LedgerPostingType::LedgerJournal,
DimensionStorage::accountNum2LedgerDimension(vendTable.AccountNum,LedgerJournalACType::Vend), _transactionCurrency,
-1*_transactionAmount, -1*_transactionAmount, -1*_transactionAmount);
ledgerVoucherObject.addTrans(ledgerVoucherTransObject);
ledgerVoucherObject.addTrans(ledgerVoucherTransObject2);
//
if(module == SysModule::Vend)
{
vendTable = VendTable::find(_custVendAccount);
if(vendTable)
{
custVendVoucher.parmPaymId(vendTable.PaymId);
custVendVoucher.parmPaymMode(vendTable.PaymMode);
custVendVoucher.parmPaymTermId(vendTable.PaymTermId);
custVendVoucher.parmPaymSpec(vendTable.PaymSpec);
custVendVoucher.parmThirdPartyBankAccountId(vendtable.BankAccount);
custVendVoucher.parmTransType(LedgerTransType::Vend);
}
}
/*if(module == SysModule::Cust)
{
custVoucher = custVendVoucher;
custVoucher.setTransRef(CustTransRefType::Invoice, _invoiceId );
}*/
//Post custVendVoucher
if (custVendVoucher.validate())
{
if(module == SysModule::Vend)
{
custVendVoucher.post(ledgerVoucher, vendTrans);
}
else
{
custVendVoucher.post(ledgerVoucher, custTrans);
}
}
return voucherNum;
}
And, for test, I create the next job:
staticvoid EAVTEST3(Args _args)
{
TrvPost::grwPostCustVendTransactions(TrvExpTable::find("DVINCG0000691"),
"DVIP0000046",
300,
Ledger::accountingCurrency(),
today(),
100,
"TEST_GRW",
"INV6");
info("termino");
}
This is my code and it always gives me the same value (today() value ) even if i change the the date to any other value
Am I missing something
thanks in advance,
static void CostPriceAsPerDate(Args _args)
{
InventDim inventDim;
InventDimParm inventDimParm;
InventOnHand inventOnHand;
InventSum inventSum;
;
select firstOnly1 inventSum where inventSum.ItemId == '1-02-016-001';
inventDim = InventDim::find("SDCO-017359");
inventDimParm.initFromInventDim(inventDim);
inventOnHand = InventOnHand::newParameters(inventSum.ItemId, inventDim, inventDimParm);
info(strfmt("%1", inventOnHand.costPricePcs(true,mkDate(1,1,2018))));
}
Dear All,
What is the advantage of Contract and DP class.
Please give me more shed on this.
Thanks!
Hi Friends,
This is different sceario in extension i am trying today, I need to call my extentsion method rather than default method. For Example,
Default code in form method is
if(a&b == 0)
{
a.c = ax;
a.insert;
}
my extension code is
if(a&c == 1)
{
a.b = ax;
b.insert
}
i need to call my extension code rather than the default code here , i dont want to insert values on a table,
how canskip default code and run only my extension code.
please sugest an solution.
Thanks & Regards,
padmapriya
Hi all,
Im Printing a Customer / Ledger reconciliation report in gl -> reports -> recon -> customers. my question is why some values in ledger balance column is showing 0 amount? .
I've check the tables like SubledgerJournalAccountEntry and its AccountingCurrencyAmount has an amount in it, can anyone explain why its coming incorrectly or its happening because of its transaction.
Thanks in Advance
Hi AX Intels,
I'm just wondering why I can't find the Field that I added in table(PurchParmTable) and named it ActualReceiver and on table(VendPackingSlipJournal) I cant find the field by the time I click on the properties ExtendedDataType .
I will it the field named AR in table (VendPackingSlipJournal).
I provide screenshot for more elaboration.
Please help me. Thanks.
Regards,
WH
Hi AX Intels,
I want to change the Model of a field but unfortunately it is disabled. Can anyone help me ?
Thanks.
Regards,
WH
Hi friends,
I am facing an issue in chain of commands, i am trying to take extension for private method but i shows the error.Shown Below,
I tried to take custtable form extension here, for the method "disableEnableControlsForItemTracing".
But it shows like "The method 'disableEnableControlsForItemTracing' can not be used as chain of command method because its target method is not protected or public
in class 'disableEnableControlsForItemTracing'".Please Suggest an solution.
Thanks & regards,
padmapriya
i have four outbound controls i.e customeraccount,name ,fromdate,todate,status and one button cntrol name Getdetails when ever click on getdetails data will come bellow grid here fields are salesorder,status,date,salestype
Customer Account :
Name: //should come while select the account
From Date :
ToDate :
Status:
Get //this is button cliked
SalesOrder Staus Date salestype //these grid atasourece
// This ny task
i have four outbound controls i.e customeraccount,name ,fromdate,todate,status and one button cntrol name Getdetails when ever click on getdetails data will come bellow grid here fields are salesorder,status,date,salestype
I'm not sure if I've asked this before as I can't find it in my profile so here goes (again).
I am setting up a security role that has "read" access only so I have removed menu items and removed duties and privileges that contain the word "maintain" or "generate". However forms still show the "Delete" button. I vaguely remember doing this before but can't remember how. Help!