can we delete item card which accidentally posted?

julkifli33julkifli33 Member Posts: 1,092
edited 2011-06-19 in Navision Financials
hi all...
my colleague had posted using item test
and we cannot delete the item
how to delete it?
anyone know?

Comments

  • julkifli33julkifli33 Member Posts: 1,092
    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
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    julkifli33 wrote:
    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.");
    
  • julkifli33julkifli33 Member Posts: 1,092
    julkifli33 wrote:
    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
  • julkifli33julkifli33 Member Posts: 1,092
    Yes.. :(
    ok then
    thanks for the share and advice
Sign In or Register to comment.