SQL error description: [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot drop the index [table Name.Index] because it does not exist or you do not have permission.

Hi,
Error:
SQL error description: [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot drop the index ‘WORKFLOWTRACKINGTABLE.IX_WORKFLOWTRACKINGTABLE_
WORKFLOWTRACKINGSTATUSTABLE_PARTITION_TRACKINGCONTEXT_TRACKINGT’,
because it does not exist or you do not have permission.
Impact:
Results in synhronization failure.
Resolution :
1. Table a backup of the DB.
2. Delete the particular index from SQL side and synchronize the respective table in application.
Regards,
GUID in AX 2012 / D365
//< What is GUID>
// GUID 16 bit large range of alphanumeric similar to RecID to treat as primary key of a table.
static void CreateGUIDInAX(Args _args)
{
str 60 strGuid;
;
info(Winapi::createGUID()); // Creates GUID and removes the braces
info(guid2str(newGuid())); // Creates GUID with braces
//NOTE: GUID is not a string so we needs to convert GUID to str for using…
}
Convert Gregorian to Hijiri in D365
Hi,
The date value retuned by umAlQuraCalendar is not in the range of AX / 365 TransDate allowed. TransDate support from 1/1/1900 to 1/1/2155. You might be noticed Never as dateMax() value in AX tables, All those never is nothing but 1/1/2155.
Please find following script to convert Gregorian to Hijri with date separator “-“.
I got an requirment to convert the date where Integrating system is not accepts 29-4-1442, API is looking for 29-04-1442
I added 0 before to the day and month if its less than 9.
Most of the functions available in umAlQura returns or accepts int32, please make sure you convert before you proceed with.
NOTE: Please dont try to covert the string what hijri returns to transDate, that results in error.
Why DirPerson table is not exists in SQL
Hi,
Why DirPerson table is not exists in SQL?
The DirPerson table has the property SupportInHeritance with YES and Extends with DirPartyTable.
SQL Table architecture doesnt support inheritance.
There are few more tables in AX with such property example OMOperatingUnit.
Regards,