there is a ledger entries that have not closed in fiscal year
i thought i already create return order for the items and credit memo for the invoices
I think it doesnot solve your problem until you close the fiscal year as the condition is
ItemLedgEntry.RESET;
ItemLedgEntry.SETCURRENTKEY("Item No.");
ItemLedgEntry.SETRANGE("Item No.",Item."No.");
AccountingPeriod.SETRANGE(Closed,FALSE);
IF AccountingPeriod.FIND('-') THEN
ItemLedgEntry.SETFILTER("Posting Date",'>=%1',AccountingPeriod."Starting Date");
IF ItemLedgEntry.FIND('-') THEN
ERROR(
Text000,
Item.TABLECAPTION,Item."No.");
there is a ledger entries that have not closed in fiscal year
i thought i already create return order for the items and credit memo for the invoices
I think it doesnot solve your problem until you close the fiscal year as the condition is
ItemLedgEntry.RESET;
ItemLedgEntry.SETCURRENTKEY("Item No.");
ItemLedgEntry.SETRANGE("Item No.",Item."No.");
AccountingPeriod.SETRANGE(Closed,FALSE);
IF AccountingPeriod.FIND('-') THEN
ItemLedgEntry.SETFILTER("Posting Date",'>=%1',AccountingPeriod."Starting Date");
IF ItemLedgEntry.FIND('-') THEN
ERROR(
Text000,
Item.TABLECAPTION,Item."No.");
so you mean i can delete the item,until accounting period closed?
hufff
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
i thought i already create return order for the items and credit memo for the invoices
I think it doesnot solve your problem until you close the fiscal year as the condition is
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
so you mean i can delete the item,until accounting period closed?
hufff
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
thanks for the share and advice