public INVCheckHead(string location, INVCheckType type, string note, int createUser)
 {
     this._orderNumber = ERPUtil.NextOrderNumber(ORDER_TYPE_CHK);
     this._orderTypeCode = ORDER_TYPE_CHK;
     this._locationCode = location;
     this._checkType = type;
     this._note = note;
     this._createUser = createUser;
     this._createTime = DateTime.Now;
     this._approveResult = ApproveStatus.UnApprove;
     this._approveUser = 0;
     this._approveTime = new DateTime(1900, 1, 1);
     this._currentLineNumber = "0000";
     this._status = INVCheckStatus.New;
 }
Exemple #2
0
 public INVCheckHead(string location, INVCheckType type, string note, int createUser)
 {
     this._orderNumber       = ERPUtil.NextOrderNumber(ORDER_TYPE_CHK);
     this._orderTypeCode     = ORDER_TYPE_CHK;
     this._locationCode      = location;
     this._checkType         = type;
     this._note              = note;
     this._createUser        = createUser;
     this._createTime        = DateTime.Now;
     this._approveResult     = ApproveStatus.UnApprove;
     this._approveUser       = 0;
     this._approveTime       = new DateTime(1900, 1, 1);
     this._currentLineNumber = "0000";
     this._status            = INVCheckStatus.New;
 }