Table affected:
1. InventTrans Key: Voucher
2. VendInvoiceJour Key: internalInvoiceId = Voucher
3. VendInvoiceTrans Key: internalInvoiceId = Voucher
4. VendInvoicePurchLink Key: internalInvoiceId = Voucher
5. VendTrans Key: Voucher
6. VendTransOpen Key: RefRecId = vendtrans.recid
7. LedgerTrans Key: Voucher
delete all those record stored in the above table and
1. Create a job
static void updateInventSum(Args _args)
{
InventSumReCalcItem inventSumRecalcItem = new InventSumreCalcItem("0100000000117-AV",true,CheckFix::Fix);
;
inventSumrecalcItem.updateNow();
}
Pass in the itemid affected
or
InventSumReCalcItem InventSumReCalcItem;
;
InventSumReCalcItem = new InventSumReCalcItem("YourItemId" );
InventSumReCalcItem.updateNow();
2. Run General Ledger->Periodic->Recalculate Ledger Balance
1. InventTrans Key: Voucher
2. VendInvoiceJour Key: internalInvoiceId = Voucher
3. VendInvoiceTrans Key: internalInvoiceId = Voucher
4. VendInvoicePurchLink Key: internalInvoiceId = Voucher
5. VendTrans Key: Voucher
6. VendTransOpen Key: RefRecId = vendtrans.recid
7. LedgerTrans Key: Voucher
delete all those record stored in the above table and
1. Create a job
static void updateInventSum(Args _args)
{
InventSumReCalcItem inventSumRecalcItem = new InventSumreCalcItem("0100000000117-AV",true,CheckFix::Fix);
;
inventSumrecalcItem.updateNow();
}
Pass in the itemid affected
or
InventSumReCalcItem InventSumReCalcItem;
;
InventSumReCalcItem = new InventSumReCalcItem("YourItemId" );
InventSumReCalcItem.updateNow();
2. Run General Ledger->Periodic->Recalculate Ledger Balance