Featured Post 1 with Small Thumbnail
Featured Post 2 with Small Thumbnail
Featured Post 3 with Small Thumbnail
Featured Post 4 with Small Thumbnail
Dynamics 365
Dynamics 365...More
Dynamics AX 2012
Dynamics 2012...More
Title Featured Post 3
Etiam augue pede, molestie eget, rhoncus at, convallis ut, eros...More
Title Featured Post 4
Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit nisl in quam...More
Thursday, August 29, 2024
A financial dimension value is based on the record and has been used on a transaction. You cannot delete the record
Tuesday, August 20, 2024
Data Driven & AI Transformation
Data Driven & AI Transformation
Introduction Wawan.AI : Smart Interview Powered By Gemini
Tuesday | 20 Agustus 2024 - Google Indonesia
A. PREDICTIVE AI
B. GENERATE AI
1. Effortless hirring, exceptional team.
2. Supercharging hiring with AI
3. Efficency, Objectiviry, and Innocations
Vertex AI Studio
Tune Gemini
Groundingx
Friday, May 31, 2024
Decimal rounding of the physical remaining quantity in the unit is incorrect AX 2012
Friday, October 20, 2023
A financial dimension value is based on the LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record AX 2012
A financial dimension value is based on the LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record
Scenario:
Sometime user trying to delete a record from the customer master or any data that relates to financial dimension. So, user is facing above error upon deletion.
Reason:
Error occurred because data exists in the table DimensionAttributeLevelValue
Solution:
- Access the open the table DimensionAttributeLevelValue
- filter the record by Display Value field with the desired record to delete like customer number or employee number etc etc
- Select the filtered records
- Delete the selected records
- Then go back to customer master or where you facing the error
- Now try to delete you will be able to delete
AX 2012: you can directly delete the record by opening table
Source : https://dynamicsaxtechstuff.wordpress.com/2015/04/16/how-to-delete-unused-financial-dimension/
Monday, October 9, 2023
Cannot create a record in Fixed assets (AssetTable). Fixed asset number: ITH-DEV-4-00838, FA - Hand Held Scanners. The record already exists AX 2012
Cannot create a record in Fixed assets (AssetTable). Fixed asset number: ITH-DEV-4-00838, FA - Hand Held Scanners. The record already exists AX 2012
Monday, October 2, 2023
Cannot create a record in Ledger journal table (LedgerJournalTable) AX 2012
Click Status List > File Delete Error
Physical on-hand Inventory Plus Minus without License Plate
Failed to Find Workflow AX 2012
Failed to Find Workflow AX 2012
Select a.RECID
from
SYSWORKFLOWMESSAGETABLE a
Where a.ROOTCORRELATIONID not
in
(Select b.ROOTCORRELATIONID
from SYSWORKFLOWTABLE b)
and a.MESSAGELIFECYCLESTATE =
1
SELECT * FROM
SYSWORKFLOWMESSAGETABLE AS A
WHERE A.RECID = 5650958646
Update SYSWORKFLOWMESSAGETABLE Set MESSAGELIFECYCLESTATE = 2 where RECID =5650958646
Friday, September 29, 2023
X++ Exception: [Microsoft][SQL Server Native Client 11.0][SQL Server]Length of LOB data (5934000) to be replicated exceeds configured maximum 65536. Use the stored procedure sp_configure to increase the configured maximum value for max text repl size option, which defaults to 65536. A configured value of -1 indicates no limit, other that the limit imposed by the data type.
X++ Exception: [Microsoft][SQL Server Native Client 11.0][SQL Server]Length of LOB data (5934000) to be replicated
exceeds configured maximum 65536. Use the stored procedure sp_configure to increase the configured
maximum value for max text repl size option, which defaults to 65536. A configured value of -1
indicates no limit, other that the limit imposed by the data type.
Wednesday, February 15, 2023
Export data from AX to CSV file through X++
TextBuffer textBuffer = new TextBuffer();
FileNameFilter Filter = ["CSV file", "*.csv"];
FileName FileName;
#WinAPI
LedgerJournalTrans LocLedgerJournalTrans, TxtLedgerJournalTrans;
;
super();
FileName = winapi::getSaveFileName(infolog.hWnd(), filter, @"c:\...\desktop", "Save as CSV file","csv","Create Payment Permata");
if(!FileName)
return ;
while select sum(AmountCurDebit), LedgerDimension, OffsetLedgerDimension, CurrencyCode, PaymentMethod, TransDate, BankAccountId, JournalNum
from LocLedgerJournalTrans
Group by LedgerDimension, OffsetLedgerDimension, CurrencyCode, PaymentMethod, TransDate, BankAccountId, JournalNum
order by LineNum
where LocLedgerJournalTrans.JournalNum == LedgerJournalTrans.JournalNum
&& LocLedgerJournalTrans.accounttype == LedgerJournalACType::Vend
{
textBuffer.appendText(strfmt("%1,", VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.LedgerDimension)).AccountID));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
if(LocLedgerJournalTrans.PaymentMethod != PaymentMethod::OVB)
{
textBuffer.appendText(strfmt("%1,", VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.LedgerDimension)).RegistrationNum));
}
else
{
textBuffer.appendText(strfmt("%1,", ""));
}
textBuffer.appendText(strfmt("%1,", VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.LedgerDimension)).Name));
// fixing
textBuffer.appendText(strfmt("%1,", VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.LedgerDimension)).AccountNum));
// end fixing
textBuffer.appendText(strfmt("%1,", LocLedgerJournalTrans.CurrencyCode));
//textBuffer.appendText(strfmt("%1,", any2real(num2str0((LocLedgerJournalTrans.AmountCurDebit), 0, 0, 1,0)))); //real2int(LocLedgerJournalTrans.AmountCurDebit)));
//textBuffer.appendText(strfmt("%1,", LocLedgerJournalTrans.AmountCurDebit));
textBuffer.appendText(strfmt("%1,",Num2Str(LocLedgerJournalTrans.AmountCurDebit, 0, 99, DecimalSeparator::Auto, ThousandSeparator::None)));
info(strfmt("%1,", any2real(num2str0((LocLedgerJournalTrans.AmountCurDebit), 0, 0, 1,0))));
select firstFast txt from
TxtLedgerJournalTrans
where TxtLedgerJournalTrans.JournalNum == LocLedgerJournalTrans.JournalNum
&& TxtLedgerJournalTrans.LedgerDimension == LocLedgerJournalTrans.LedgerDimension;
textBuffer.appendText(strfmt("%1,", strReplace(TxtLedgerJournalTrans.txt, ",", "")));
textBuffer.appendText(strfmt("%1,", ''));
textBuffer.appendText(strfmt("%1,", vendtable::find(VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.LedgerDimension)).VendAccount).Email));
textBuffer.appendText(strfmt("%1,", LocLedgerJournalTrans.PaymentMethod));
textBuffer.appendText(strfmt("%1,", "0"));
textBuffer.appendText(strfmt("%1,", "0"));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", "PT XXX"));
textBuffer.appendText(strfmt("%1,", BankAccountTable::find(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.OffsetLedgerDimension)).AccountNum));
textBuffer.appendText(strfmt("%1,", BankAccountTable::find(DimensionStorage::ledgerDimension2AccountNum(LocLedgerJournalTrans.OffsetLedgerDimension)).CurrencyCode));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", "Jakarta"));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText(strfmt("%1,", ""));
/*if(vendtable::find(VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LedgerJournalTrans.LedgerDimension)).VendAccount).name() like '*Bpk*)
{
textBuffer.appendText(strfmt("%1,", "1"));
}
else
{
if(vendtable::find(VendBankAccount::findByVendAccount(DimensionStorage::ledgerDimension2AccountNum(LedgerJournalTrans.LedgerDimension)).VendAccount).name() like '*Ibu*)
{
textBuffer.appendText(strfmt("%1,", "1"));
}
else
{
textBuffer.appendText(strfmt("%1,", "2"));
}
}*/
textBuffer.appendText(strfmt("%1,", "2"));
textBuffer.appendText(strfmt("%1,", ""));
textBuffer.appendText("\n");//next row
}
if (textBuffer.toFile(FileName))
{
info( strfmt("File Generated as %1.Total %2 Lines",FileName,textBuffer.numLines()));
winapi::shellExecute(FileName);
}
}
Confirm PO Error : The source document lines cannot be finalized until the status is Confirmed in AX 2012
Confirm PO Error : The source document lines cannot be finalized until the status is Confirmed
Open AOT > Table > BudgetSourceTracking
A financial dimension value is based on the record and has been used on a transaction. You cannot delete the record
SOLUTION delete in table DimensionAttributeLevelValue base on Bank Account : and Delete the Bank Account FINISH
