zoukankan      html  css  js  c++  java
  • Resolve raise system red hand problem on the Open vendor transactions editing

    AP - > Vendor detail - > Functions - > Open transactions editing - > Is marked

    Problem description
    I am not able to select invoices on open transaction editing form of  Accounts Payable payment journal. its triggering error message "This transaction has been marked for settlement by another user"  with Red hand stop symbol for all vendors and for all transactions.

    Resolve as below,you can delete the record from SpecTrans

    wrote by Jimmy Dec. 16th 2010

     

    resolved Red hand
    static void Jimmy_ClearSpecTrans(Args _args)
    {
    SpecTrans SpecTrans,delSpecTrans;
    ;

    print tableid2name(
    212);//LedgerJournalTrans

    select firstonly SpecTrans
    where SpecTrans.RefTableId == tablenum(VendTransOpen)
    && SpecTrans.RefRecId == 5637193902;


    print SpecTrans.RecId;
    print tablenum(VendTransOpen);
    delete_from delSpecTrans
    where delSpecTrans.RecId == SpecTrans.RecId
    && delSpecTrans.RefTableId == SpecTrans.TableId
    && delSpecTrans.RefCompany == SpecTrans.dataAreaId;

    pause;
    // 5637190813
    }



  • 相关阅读:
    树---数据结构
    B+树索引
    对大文件排序
    快速拍粗和冒泡排序
    TCp
    TCP通信粘包问题分析和解决(全)(转)
    linkhashmap实现原理
    spring中用到的设计模式
    linux查看进程和线程的命令
    Shell编程入门(第二版)(中)
  • 原文地址:https://www.cnblogs.com/Fandyx/p/1908268.html
Copyright © 2011-2022 走看看