I have a Released Product but no belong to a Product Master with no Configuration.
How to fixed it? or How to delete the Released Product or How to delete the transaction Invoice??
Thanks in advance.
A posted invoice cannot be deleted. You can only reverse the transaction and create an offset transaction by recording another invoice with opposite signs.
I your product is not correctly setup I would probably just create and setup a new one. Seems to be the fastest and easiest way.
I try rename the ItemId (ex.: PenA) to PenA-X.
and try to create again the ItemId: PenA,
but get a warning message: The number has already been assigned to a product.
Specify a new number.
I prefer the ItemId is PenA with product master had configuration.
Is that possible in AX 2012 R2?
You can try to see if you can also rename the (global) product. If this is not possible from the user interface, a developer would be able to write a script (X++ job) for it.
I rename the Item number (product number) using record info -> rename ,
it changed in release products.
but it still in the products.
When I want to delete it, AX show the warning message: Product has been released to a company and cannot be deleted.
When I want to create new product master, AX show the alarm message: The number has already been assigned to a product.
I did check the Products. There is no support to rename the products from the user interface. So, a script would be required to rename the product as well.
How about the script of rename ProductID or ItemID?
Could provider me the script?
Please help confirm below script is could rename the wrong itemid to correct itemid??
static void renamePKInventTable()
// Virtual Companies should not be added.
while select dataArea
where dataArea.isVirtual != NoYes::Yes
getCompanyList += [dataArea.id];
getCompanyList = getCompany();
for(i = 1; i<= conlen(getCompanyList); i++)
id = conpeek(getCompanyList, i);
while select inventTable
where inventTable.RMCItemType == RMCItemType::StopItem
&& inventTable.dataAreaId == id
&& !(inventTable.ItemId like 'Old*')
inventTable.ItemId = #prefixItem +
inventTable.ItemName = inventTable.ItemId;
inventTable.NameAlias = inventTable.ItemName;
Business Applications communities