>".$startyear; if($method=="add" && $xv != 1){ //$oC->BeginTrans(); $oDp->AddNew(); $oDp->deptId=$oDp->GetNextCode(); $oDp->deptName=$deptName; $oDp->deptDesc=$deptDesc; $oDp->deptCode=$deptCode; $oDp->deptParent=0; $oDp->deptYear=(date(Y)+543); $oDp->deptDate=getNowDateTh(); $oDp->deptRef=0; $oDp->pbriId=0; $oDp->deptIsCenter=""; $oDp->receiveIn="Y"; $oDp->receiveOut=""; $oDp->sendIn="Y"; $oDp->sendOut="Y"; $oDp->deptNo=""; $oDp->docGroup=""; $maxnext=$oDp->SearchMaxDocGroup(); $oDp->docGroup=($maxnext); $oDp->deptParentId=$deptParentId; $oDp->deptLevel=$deptLevel; $oDp->deptgroup = $dg; $oDp->Save(); ?> เพิ่มส่วนราชการภายใน

เพิ่มส่วนราชการภายใน
 
ชื่อส่วนราชการภายใน   *
รายละเอียด    
 
[ปิดหน้าต่าง]