From ffecda3d58908ebce469807107c281ecca169fe1 Mon Sep 17 00:00:00 2001 From: animfalahuddin Date: Thu, 30 Aug 2018 00:52:23 +0700 Subject: [PATCH] QC Analysis --- .../callout/MID_CalloutAnalysisQC.java | 66 + .../callout/MID_CalloutProductionLine.java | 57 + .../midsuit/doc/MID_DocAnalysis.java | 35 + .../midsuit/factory/MID_CalloutFactory.java | 11 +- .../midsuit/factory/MID_DocFactory.java | 4 + .../midsuit/factory/MID_ModelFactory.java | 6 + .../midsuit/model/I_MID_Analysis.java | 749 ++++++++++ .../midsuit/model/I_MID_AnalysisLine.java | 204 +++ .../midsuit/model/I_MID_AnalysisPro.java | 229 +++ .../midsuit/model/I_MID_Parameter.java | 192 +++ .../midsuit/model/MID_Analysis.java | 229 +++ .../midsuit/model/MID_AnalysisLine.java | 23 + .../midsuit/model/MID_AnalysisPro.java | 48 + .../midsuit/model/MID_Parameter.java | 23 + .../midsuit/model/X_MID_Analysis.java | 1232 +++++++++++++++++ .../midsuit/model/X_MID_AnalysisLine.java | 233 ++++ .../midsuit/model/X_MID_AnalysisPro.java | 286 ++++ .../midsuit/model/X_MID_Parameter.java | 202 +++ 18 files changed, 3828 insertions(+), 1 deletion(-) create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutAnalysisQC.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutProductionLine.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/doc/MID_DocAnalysis.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Analysis.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisLine.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisPro.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Parameter.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Analysis.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisLine.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisPro.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Parameter.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Analysis.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisLine.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisPro.java create mode 100644 andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Parameter.java diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutAnalysisQC.java b/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutAnalysisQC.java new file mode 100644 index 0000000..08e59a6 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutAnalysisQC.java @@ -0,0 +1,66 @@ +package andromedia.midsuit.callout; + +import java.util.List; +import java.util.Properties; + +import org.adempiere.base.IColumnCallout; +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.MProduction; +import org.compiere.model.MProductionLine; +import org.compiere.model.Query; + +import andromedia.midsuit.model.MID_Analysis; +import andromedia.midsuit.model.MID_AnalysisPro; + +public class MID_CalloutAnalysisQC extends CalloutEngine implements IColumnCallout{ + + @Override + public String start(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + // TODO Auto-generated method stub + if(value == null) return null; + + if(mField.getColumnName().equals(MProduction.COLUMNNAME_M_Production_ID)) { + setProductQuantity(ctx, WindowNo, mTab, mField, value, oldValue); + return setRawMaterial(ctx, WindowNo, mTab, mField, value, oldValue); + } + + return null; + + } + + public String setProductQuantity(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue){ + + String valueReturn = ""; + MProduction prod = new MProduction(ctx, (int) value, null); + + if (prod != null) { + mTab.setValue(MID_AnalysisPro.COLUMNNAME_M_Product_ID, prod.getM_Product_ID()); + mTab.setValue(MID_AnalysisPro.COLUMNNAME_Qty, prod.getProductionQty()); + } + mTab.setValue(MID_Analysis.COLUMNNAME_JumlahRM, valueReturn); + + + return null; + } + + public String setRawMaterial(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue){ + + String valueReturn = ""; + List productionLines = new Query(ctx, MProductionLine.Table_Name, "M_Production_ID = ? and isEndProduct='N'", null) + .setParameters(new Object[] {(int) value}) + .list(); + + for(MProductionLine productionLine : productionLines) { + if(productionLine != null) { + valueReturn += productionLine.getQtyUsed().toString() == null ? "0;" : productionLine.getQtyUsed().toString() + ";"; + } + } + + mTab.setValue(MID_Analysis.COLUMNNAME_JumlahRM, valueReturn); + + return ""; + } + +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutProductionLine.java b/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutProductionLine.java new file mode 100644 index 0000000..9ff0e74 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutProductionLine.java @@ -0,0 +1,57 @@ +package andromedia.midsuit.callout; + +import java.util.Properties; +import org.adempiere.base.IColumnCallout; +import org.compiere.model.CalloutEngine; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; +import org.compiere.model.MProduct; +import org.compiere.util.Env; + +public class MID_CalloutProductionLine extends CalloutEngine implements IColumnCallout { + + @Override + public String start(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + + if (mField.getColumnName().equals("isConvertUOM")) + return setUOM(ctx, WindowNo, mTab, mField, value, oldValue); + if (mField.getColumnName().equals("QtyEntered")) + return setConversion(ctx, WindowNo, mTab, mField, value, oldValue); + if (mField.getColumnName().equals("M_Product_ID")) + { + if(value==null) return ""; + MProduct pro = new MProduct(ctx, (int)value, null); + mTab.setValue("C_UOM_ID", pro.getC_UOM_ID()); + } + return null; + } + + public String setConversion(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, + Object oldValue) { + if (value == null || mTab.getValue("M_Product_ID") == null) { + return ""; + } +// BigDecimal QtyOrdered = MUOMConversion.convertProductFrom(Env.getCtx(), (int) mTab.getValue("M_Product_ID"), +// (int) mTab.getValue("C_UOM_To_ID"), (BigDecimal) mTab.getValue("QtyEntered")); +// if (QtyOrdered == null) +// QtyOrdered = (BigDecimal) mTab.getValue("QtyEntered"); +// +// mTab.setValue("QtyUsed", QtyOrdered); + + return ""; + } + + public String setUOM(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) { + if (value == null) + return ""; + if (mTab.getValue("M_Product_ID") == null) + return ""; + + MProduct product = new MProduct(Env.getCtx(), (int) mTab.getValue("M_Product_ID"), null); + mTab.setValue("QtyEntered", mTab.getValue("QtyUsed")); + mTab.setValue("C_UOM_ID", product.getC_UOM_ID()); + mTab.setValue("C_UOM_To_ID", product.getC_UOM_ID()); + + return ""; + } +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/doc/MID_DocAnalysis.java b/andromeida.midsuit.project/src/andromedia/midsuit/doc/MID_DocAnalysis.java new file mode 100644 index 0000000..4314e62 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/doc/MID_DocAnalysis.java @@ -0,0 +1,35 @@ +package andromedia.midsuit.doc; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.ArrayList; + +import org.compiere.acct.Doc; +import org.compiere.acct.Fact; +import org.compiere.model.MAcctSchema; + +import andromedia.midsuit.model.MID_Analysis; + +public class MID_DocAnalysis extends Doc { + + public MID_DocAnalysis (MAcctSchema as, ResultSet rs, String trxName) + { + super (as, MID_Analysis.class, rs, null, trxName); + } + + @Override + protected String loadDocumentDetails() { + return null; + } + + @Override + public BigDecimal getBalance() { + return BigDecimal.ZERO; + } + + @Override + public ArrayList createFacts(MAcctSchema as) { + ArrayList facts = new ArrayList(); + return facts; + } +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_CalloutFactory.java b/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_CalloutFactory.java index 562aac8..93eb971 100644 --- a/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_CalloutFactory.java +++ b/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_CalloutFactory.java @@ -7,16 +7,21 @@ import org.adempiere.base.IColumnCallout; import org.adempiere.base.IColumnCalloutFactory; import org.compiere.model.MOrder; import org.compiere.model.MProduction; +import org.compiere.model.MProductionLine; +import andromedia.midsuit.callout.MID_CalloutAnalysisQC; import andromedia.midsuit.callout.MID_CalloutOrder; import andromedia.midsuit.callout.MID_CalloutProduction; +import andromedia.midsuit.callout.MID_CalloutProductionLine; import andromedia.midsuit.callout.MID_CalloutRequisitionTrxLine; +import andromedia.midsuit.model.MID_Analysis; import andromedia.midsuit.model.X_MID_RequisitionLine; public class MID_CalloutFactory implements IColumnCalloutFactory{ @Override public IColumnCallout[] getColumnCallouts(String tableName, String columnName) { + List list = new ArrayList(); if(tableName.equals(X_MID_RequisitionLine.Table_Name)) list.add(new MID_CalloutRequisitionTrxLine()); @@ -24,7 +29,11 @@ public class MID_CalloutFactory implements IColumnCalloutFactory{ list.add(new MID_CalloutOrder()); if(tableName.equals(MProduction.Table_Name)) list.add(new MID_CalloutProduction()); + if(tableName.equals(MProductionLine.Table_Name)) + list.add(new MID_CalloutProductionLine()); + if(tableName.equals(MID_Analysis.Table_Name)) + list.add(new MID_CalloutAnalysisQC()); + return list != null ? list.toArray(new IColumnCallout[0]) : new IColumnCallout[0]; } - } diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_DocFactory.java b/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_DocFactory.java index a44ff8a..c479a8e 100644 --- a/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_DocFactory.java +++ b/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_DocFactory.java @@ -12,8 +12,10 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import andromedia.midsuit.doc.MID_DocAnalysis; import andromedia.midsuit.doc.MID_DocMRPPPO; import andromedia.midsuit.doc.MID_DocMidRequsiition; +import andromedia.midsuit.model.MID_Analysis; import andromedia.midsuit.model.MID_MRequisitionTrx; import andromedia.midsuit.model.MID_PPO; @@ -55,6 +57,8 @@ public class MID_DocFactory implements IDocFactory{ return new MID_DocMidRequsiition(as,rs,trxName); if(tableName.equals(MID_PPO.Table_Name)) return new MID_DocMRPPPO(as, rs, trxName); + if(tableName.equals(MID_Analysis.Table_Name)) + return new MID_DocAnalysis(as, rs, trxName); return null; } diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_ModelFactory.java b/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_ModelFactory.java index 8c430e1..d46124e 100644 --- a/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_ModelFactory.java +++ b/andromeida.midsuit.project/src/andromedia/midsuit/factory/MID_ModelFactory.java @@ -10,6 +10,9 @@ import org.compiere.model.PO; import org.compiere.util.Env; import andromedia.midsuit.model.MID_Aging; +import andromedia.midsuit.model.MID_Analysis; +import andromedia.midsuit.model.MID_AnalysisLine; +import andromedia.midsuit.model.MID_AnalysisPro; import andromedia.midsuit.model.MID_MBillingList; import andromedia.midsuit.model.MID_MBillingListLine; import andromedia.midsuit.model.MID_MProductionConfirm; @@ -30,6 +33,9 @@ public class MID_ModelFactory implements IModelFactory{ mapTableModels.put(MID_MBillingListLine.Table_Name, "andromedia.midsuit.model.MID_MBillingListLine"); mapTableModels.put(MID_PPO.Table_Name, "andromedia.midsuit.model.MID_PPO"); mapTableModels.put(MID_MProductionConfirm.Table_Name, "andromedia.midsuit.model.MID_MProductionConfirm"); + mapTableModels.put(MID_Analysis.Table_Name, "andromedia.midsuit.model.MID_Analysis"); + mapTableModels.put(MID_AnalysisPro.Table_Name, "andromedia.midsuit.model.MID_AnalysisPro"); + mapTableModels.put(MID_AnalysisLine.Table_Name, "andromedia.midsuit.model.MID_AnalysisLine"); } @Override diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Analysis.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Analysis.java new file mode 100644 index 0000000..d277840 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Analysis.java @@ -0,0 +1,749 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package andromedia.midsuit.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.model.*; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for MID_Analysis + * @author iDempiere (generated) + * @version Release 5.1 + */ +@SuppressWarnings("all") +public interface I_MID_Analysis +{ + + /** TableName=MID_Analysis */ + public static final String Table_Name = "MID_Analysis"; + + /** AD_Table_ID=30091 */ + public static final int Table_ID = 30091; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name Asal */ + public static final String COLUMNNAME_Asal = "Asal"; + + /** Set Asal */ + public void setAsal (String Asal); + + /** Get Asal */ + public String getAsal(); + + /** Column name Batch_No */ + public static final String COLUMNNAME_Batch_No = "Batch_No"; + + /** Set No. Batch */ + public void setBatch_No (String Batch_No); + + /** Get No. Batch */ + public String getBatch_No(); + + /** Column name BatchProduksi */ + public static final String COLUMNNAME_BatchProduksi = "BatchProduksi"; + + /** Set Batch Produksi */ + public void setBatchProduksi (String BatchProduksi); + + /** Get Batch Produksi */ + public String getBatchProduksi(); + + /** Column name C_Currency_ID */ + public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; + + /** Set Currency. + * The Currency for this record + */ + public void setC_Currency_ID (int C_Currency_ID); + + /** Get Currency. + * The Currency for this record + */ + public int getC_Currency_ID(); + + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException; + + /** Column name C_DocType_ID */ + public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; + + /** Set Document Type. + * Document type or rules + */ + public void setC_DocType_ID (int C_DocType_ID); + + /** Get Document Type. + * Document type or rules + */ + public int getC_DocType_ID(); + + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException; + + /** Column name C_DocTypeTarget_ID */ + public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; + + /** Set Target Document Type. + * Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); + + /** Get Target Document Type. + * Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID(); + + public org.compiere.model.I_C_DocType getC_DocTypeTarget() throws RuntimeException; + + /** Column name CetakCOA */ + public static final String COLUMNNAME_CetakCOA = "CetakCOA"; + + /** Set Cetak COA */ + public void setCetakCOA (boolean CetakCOA); + + /** Get Cetak COA */ + public boolean isCetakCOA(); + + /** Column name CetakHasilAnalisaLab */ + public static final String COLUMNNAME_CetakHasilAnalisaLab = "CetakHasilAnalisaLab"; + + /** Set Cetak Hasil Analisa Lab */ + public void setCetakHasilAnalisaLab (boolean CetakHasilAnalisaLab); + + /** Get Cetak Hasil Analisa Lab */ + public boolean isCetakHasilAnalisaLab(); + + /** Column name cetaksurathasilanalisa */ + public static final String COLUMNNAME_cetaksurathasilanalisa = "cetaksurathasilanalisa"; + + /** Set Cetak Surat Hasil Analisa */ + public void setcetaksurathasilanalisa (boolean cetaksurathasilanalisa); + + /** Get Cetak Surat Hasil Analisa */ + public boolean iscetaksurathasilanalisa(); + + /** Column name cetaksurathasilanalisaproduksi */ + public static final String COLUMNNAME_cetaksurathasilanalisaproduksi = "cetaksurathasilanalisaproduksi"; + + /** Set Cetak Surat Hasil Analisa Produksi */ + public void setcetaksurathasilanalisaproduksi (boolean cetaksurathasilanalisaproduksi); + + /** Get Cetak Surat Hasil Analisa Produksi */ + public boolean iscetaksurathasilanalisaproduksi(); + + /** Column name COA */ + public static final String COLUMNNAME_COA = "COA"; + + /** Set COA */ + public void setCOA (String COA); + + /** Get COA */ + public String getCOA(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Date1 */ + public static final String COLUMNNAME_Date1 = "Date1"; + + /** Set Date. + * Date when business is not conducted + */ + public void setDate1 (Timestamp Date1); + + /** Get Date. + * Date when business is not conducted + */ + public Timestamp getDate1(); + + /** Column name DateAcct */ + public static final String COLUMNNAME_DateAcct = "DateAcct"; + + /** Set Account Date. + * Accounting Date + */ + public void setDateAcct (Timestamp DateAcct); + + /** Get Account Date. + * Accounting Date + */ + public Timestamp getDateAcct(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name DocAction */ + public static final String COLUMNNAME_DocAction = "DocAction"; + + /** Set Document Action. + * The targeted status of the document + */ + public void setDocAction (String DocAction); + + /** Get Document Action. + * The targeted status of the document + */ + public String getDocAction(); + + /** Column name DocFrom */ + public static final String COLUMNNAME_DocFrom = "DocFrom"; + + /** Set DocFrom */ + public void setDocFrom (String DocFrom); + + /** Get DocFrom */ + public String getDocFrom(); + + /** Column name DocStatus */ + public static final String COLUMNNAME_DocStatus = "DocStatus"; + + /** Set Document Status. + * The current status of the document + */ + public void setDocStatus (String DocStatus); + + /** Get Document Status. + * The current status of the document + */ + public String getDocStatus(); + + /** Column name DocTo */ + public static final String COLUMNNAME_DocTo = "DocTo"; + + /** Set Doc To */ + public void setDocTo (String DocTo); + + /** Get Doc To */ + public String getDocTo(); + + /** Column name DocumentNo */ + public static final String COLUMNNAME_DocumentNo = "DocumentNo"; + + /** Set Document No. + * Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo); + + /** Get Document No. + * Document sequence number of the document + */ + public String getDocumentNo(); + + /** Column name Help */ + public static final String COLUMNNAME_Help = "Help"; + + /** Set Comment/Help. + * Comment or Hint + */ + public void setHelp (String Help); + + /** Get Comment/Help. + * Comment or Hint + */ + public String getHelp(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name IsApproved */ + public static final String COLUMNNAME_IsApproved = "IsApproved"; + + /** Set Approved. + * Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved); + + /** Get Approved. + * Indicates if this document requires approval + */ + public boolean isApproved(); + + /** Column name Jam */ + public static final String COLUMNNAME_Jam = "Jam"; + + /** Set Jam */ + public void setJam (Timestamp Jam); + + /** Get Jam */ + public Timestamp getJam(); + + /** Column name Judul */ + public static final String COLUMNNAME_Judul = "Judul"; + + /** Set Judul */ + public void setJudul (String Judul); + + /** Get Judul */ + public String getJudul(); + + /** Column name Judul_Analisa */ + public static final String COLUMNNAME_Judul_Analisa = "Judul_Analisa"; + + /** Set Judul Analisa */ + public void setJudul_Analisa (String Judul_Analisa); + + /** Get Judul Analisa */ + public String getJudul_Analisa(); + + /** Column name JumlahRM */ + public static final String COLUMNNAME_JumlahRM = "JumlahRM"; + + /** Set Jumlah Raw Material */ + public void setJumlahRM (String JumlahRM); + + /** Get Jumlah Raw Material */ + public String getJumlahRM(); + + /** Column name Kesimpulan */ + public static final String COLUMNNAME_Kesimpulan = "Kesimpulan"; + + /** Set Kesimpulan */ + public void setKesimpulan (String Kesimpulan); + + /** Get Kesimpulan */ + public String getKesimpulan(); + + /** Column name Ket */ + public static final String COLUMNNAME_Ket = "Ket"; + + /** Set Keterangan */ + public void setKet (String Ket); + + /** Get Keterangan */ + public String getKet(); + + /** Column name KeteranganCetak */ + public static final String COLUMNNAME_KeteranganCetak = "KeteranganCetak"; + + /** Set Keterangan Cetak */ + public void setKeteranganCetak (String KeteranganCetak); + + /** Get Keterangan Cetak */ + public String getKeteranganCetak(); + + /** Column name KeteranganLain */ + public static final String COLUMNNAME_KeteranganLain = "KeteranganLain"; + + /** Set Keterangan Lain */ + public void setKeteranganLain (String KeteranganLain); + + /** Get Keterangan Lain */ + public String getKeteranganLain(); + + /** Column name MID_Analysis_ID */ + public static final String COLUMNNAME_MID_Analysis_ID = "MID_Analysis_ID"; + + /** Set Analysis QC */ + public void setMID_Analysis_ID (int MID_Analysis_ID); + + /** Get Analysis QC */ + public int getMID_Analysis_ID(); + + /** Column name MID_Analysis_UU */ + public static final String COLUMNNAME_MID_Analysis_UU = "MID_Analysis_UU"; + + /** Set mid_analysis_UU */ + public void setMID_Analysis_UU (String MID_Analysis_UU); + + /** Get mid_analysis_UU */ + public String getMID_Analysis_UU(); + + /** Column name M_InOut_ID */ + public static final String COLUMNNAME_M_InOut_ID = "M_InOut_ID"; + + /** Set Shipment/Receipt. + * Material Shipment Document + */ + public void setM_InOut_ID (int M_InOut_ID); + + /** Get Shipment/Receipt. + * Material Shipment Document + */ + public int getM_InOut_ID(); + + public org.compiere.model.I_M_InOut getM_InOut() throws RuntimeException; + + /** Column name M_InOutReturn_ID */ + public static final String COLUMNNAME_M_InOutReturn_ID = "M_InOutReturn_ID"; + + /** Set M_InOutReturn_ID */ + public void setM_InOutReturn_ID (int M_InOutReturn_ID); + + /** Get M_InOutReturn_ID */ + public int getM_InOutReturn_ID(); + + public org.compiere.model.I_M_InOut getM_InOutReturn() throws RuntimeException; + + /** Column name M_Production_ID */ + public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; + + /** Set Production. + * Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID); + + /** Get Production. + * Plan for producing a product + */ + public int getM_Production_ID(); + + public org.compiere.model.I_M_Production getM_Production() throws RuntimeException; + + /** Column name NamaAnalis */ + public static final String COLUMNNAME_NamaAnalis = "NamaAnalis"; + + /** Set Nama Analis */ + public void setNamaAnalis (String NamaAnalis); + + /** Get Nama Analis */ + public String getNamaAnalis(); + + /** Column name NamaKepala */ + public static final String COLUMNNAME_NamaKepala = "NamaKepala"; + + /** Set Nama Kepala */ + public void setNamaKepala (String NamaKepala); + + /** Get Nama Kepala */ + public String getNamaKepala(); + + /** Column name Nama_Manajer */ + public static final String COLUMNNAME_Nama_Manajer = "Nama_Manajer"; + + /** Set Nama Manajer */ + public void setNama_Manajer (String Nama_Manajer); + + /** Get Nama Manajer */ + public String getNama_Manajer(); + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name No_COA */ + public static final String COLUMNNAME_No_COA = "No_COA"; + + /** Set No COA */ + public void setNo_COA (String No_COA); + + /** Get No COA */ + public String getNo_COA(); + + /** Column name NoIso */ + public static final String COLUMNNAME_NoIso = "NoIso"; + + /** Set No Iso */ + public void setNoIso (String NoIso); + + /** Get No Iso */ + public String getNoIso(); + + /** Column name No_ISO */ + public static final String COLUMNNAME_No_ISO = "No_ISO"; + + /** Set No ISO */ + public void setNo_ISO (String No_ISO); + + /** Get No ISO */ + public String getNo_ISO(); + + /** Column name NoISOCoa */ + public static final String COLUMNNAME_NoISOCoa = "NoISOCoa"; + + /** Set No ISO Coa */ + public void setNoISOCoa (String NoISOCoa); + + /** Get No ISO Coa */ + public String getNoISOCoa(); + + /** Column name NoLogBook */ + public static final String COLUMNNAME_NoLogBook = "NoLogBook"; + + /** Set NoLogBook */ + public void setNoLogBook (String NoLogBook); + + /** Get NoLogBook */ + public String getNoLogBook(); + + /** Column name Pj */ + public static final String COLUMNNAME_Pj = "Pj"; + + /** Set Penanggung Jawab */ + public void setPj (String Pj); + + /** Get Penanggung Jawab */ + public String getPj(); + + /** Column name Posted */ + public static final String COLUMNNAME_Posted = "Posted"; + + /** Set Posted. + * Posting status + */ + public void setPosted (boolean Posted); + + /** Get Posted. + * Posting status + */ + public boolean isPosted(); + + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + + /** Column name ProcessedOn */ + public static final String COLUMNNAME_ProcessedOn = "ProcessedOn"; + + /** Set Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn); + + /** Get Processed On. + * The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn(); + + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + + /** Column name QC2_Dari */ + public static final String COLUMNNAME_QC2_Dari = "QC2_Dari"; + + /** Set QC2 Dari */ + public void setQC2_Dari (String QC2_Dari); + + /** Get QC2 Dari */ + public String getQC2_Dari(); + + /** Column name QC2_Dir */ + public static final String COLUMNNAME_QC2_Dir = "QC2_Dir"; + + /** Set QC2 Direktur */ + public void setQC2_Dir (String QC2_Dir); + + /** Get QC2 Direktur */ + public String getQC2_Dir(); + + /** Column name QC2_DirName */ + public static final String COLUMNNAME_QC2_DirName = "QC2_DirName"; + + /** Set QC2 Nama Direktur */ + public void setQC2_DirName (String QC2_DirName); + + /** Get QC2 Nama Direktur */ + public String getQC2_DirName(); + + /** Column name QC2_Kepada */ + public static final String COLUMNNAME_QC2_Kepada = "QC2_Kepada"; + + /** Set QC2 Kepada */ + public void setQC2_Kepada (String QC2_Kepada); + + /** Get QC2 Kepada */ + public String getQC2_Kepada(); + + /** Column name QC2_Menyetujui */ + public static final String COLUMNNAME_QC2_Menyetujui = "QC2_Menyetujui"; + + /** Set QC2 Menyetujui */ + public void setQC2_Menyetujui (String QC2_Menyetujui); + + /** Get QC2 Menyetujui */ + public String getQC2_Menyetujui(); + + /** Column name QC2_NoISO */ + public static final String COLUMNNAME_QC2_NoISO = "QC2_NoISO"; + + /** Set QC2 No. ISO */ + public void setQC2_NoISO (String QC2_NoISO); + + /** Get QC2 No. ISO */ + public String getQC2_NoISO(); + + /** Column name QC2_NoSurat */ + public static final String COLUMNNAME_QC2_NoSurat = "QC2_NoSurat"; + + /** Set QC2 No Surat */ + public void setQC2_NoSurat (String QC2_NoSurat); + + /** Get QC2 No Surat */ + public String getQC2_NoSurat(); + + /** Column name Qty_COA */ + public static final String COLUMNNAME_Qty_COA = "Qty_COA"; + + /** Set Quantity COA */ + public void setQty_COA (BigDecimal Qty_COA); + + /** Get Quantity COA */ + public BigDecimal getQty_COA(); + + /** Column name Rev */ + public static final String COLUMNNAME_Rev = "Rev"; + + /** Set Rev */ + public void setRev (String Rev); + + /** Get Rev */ + public String getRev(); + + /** Column name SubJudul_Analisa */ + public static final String COLUMNNAME_SubJudul_Analisa = "SubJudul_Analisa"; + + /** Set Sub Judul Analisa */ + public void setSubJudul_Analisa (String SubJudul_Analisa); + + /** Get Sub Judul Analisa */ + public String getSubJudul_Analisa(); + + /** Column name SuratPermintaan */ + public static final String COLUMNNAME_SuratPermintaan = "SuratPermintaan"; + + /** Set Surat Permintaan */ + public void setSuratPermintaan (String SuratPermintaan); + + /** Get Surat Permintaan */ + public String getSuratPermintaan(); + + /** Column name Tgl_COA */ + public static final String COLUMNNAME_Tgl_COA = "Tgl_COA"; + + /** Set Tanggal COA */ + public void setTgl_COA (Timestamp Tgl_COA); + + /** Get Tanggal COA */ + public Timestamp getTgl_COA(); + + /** Column name Tgl_Minta */ + public static final String COLUMNNAME_Tgl_Minta = "Tgl_Minta"; + + /** Set Tanggal Minta */ + public void setTgl_Minta (Timestamp Tgl_Minta); + + /** Get Tanggal Minta */ + public Timestamp getTgl_Minta(); + + /** Column name UnitProduksi */ + public static final String COLUMNNAME_UnitProduksi = "UnitProduksi"; + + /** Set Unit Produksi */ + public void setUnitProduksi (String UnitProduksi); + + /** Get Unit Produksi */ + public String getUnitProduksi(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisLine.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisLine.java new file mode 100644 index 0000000..d648c43 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisLine.java @@ -0,0 +1,204 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package andromedia.midsuit.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.model.*; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for MID_AnalysisLine + * @author iDempiere (generated) + * @version Release 5.1 + */ +@SuppressWarnings("all") +public interface I_MID_AnalysisLine +{ + + /** TableName=MID_AnalysisLine */ + public static final String Table_Name = "MID_AnalysisLine"; + + /** AD_Table_ID=30094 */ + public static final int Table_ID = 30094; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name MID_AnalysisLine_ID */ + public static final String COLUMNNAME_MID_AnalysisLine_ID = "MID_AnalysisLine_ID"; + + /** Set Hasil Analisa Product */ + public void setMID_AnalysisLine_ID (int MID_AnalysisLine_ID); + + /** Get Hasil Analisa Product */ + public int getMID_AnalysisLine_ID(); + + /** Column name MID_AnalysisLine_UU */ + public static final String COLUMNNAME_MID_AnalysisLine_UU = "MID_AnalysisLine_UU"; + + /** Set MID_AnalysisLine_UU */ + public void setMID_AnalysisLine_UU (String MID_AnalysisLine_UU); + + /** Get MID_AnalysisLine_UU */ + public String getMID_AnalysisLine_UU(); + + /** Column name MID_AnalysisPro_ID */ + public static final String COLUMNNAME_MID_AnalysisPro_ID = "MID_AnalysisPro_ID"; + + /** Set Analysis QC Product */ + public void setMID_AnalysisPro_ID (int MID_AnalysisPro_ID); + + /** Get Analysis QC Product */ + public int getMID_AnalysisPro_ID(); + + public I_MID_AnalysisPro getMID_AnalysisPro() throws RuntimeException; + + /** Column name MID_Parameter_ID */ + public static final String COLUMNNAME_MID_Parameter_ID = "MID_Parameter_ID"; + + /** Set Product Parameter */ + public void setMID_Parameter_ID (int MID_Parameter_ID); + + /** Get Product Parameter */ + public int getMID_Parameter_ID(); + + public I_MID_Parameter getMID_Parameter() throws RuntimeException; + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name NoISOCoa */ + public static final String COLUMNNAME_NoISOCoa = "NoISOCoa"; + + /** Set No ISO Coa */ + public void setNoISOCoa (String NoISOCoa); + + /** Get No ISO Coa */ + public String getNoISOCoa(); + + /** Column name Parameter_Standard */ + public static final String COLUMNNAME_Parameter_Standard = "Parameter_Standard"; + + /** Set Parameter Standard */ + public void setParameter_Standard (String Parameter_Standard); + + /** Get Parameter Standard */ + public String getParameter_Standard(); + + /** Column name standardParameter */ + public static final String COLUMNNAME_standardParameter = "standardParameter"; + + /** Set Standard Parameter */ + public void setstandardParameter (String standardParameter); + + /** Get Standard Parameter */ + public String getstandardParameter(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisPro.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisPro.java new file mode 100644 index 0000000..e055a85 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_AnalysisPro.java @@ -0,0 +1,229 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package andromedia.midsuit.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.model.*; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for MID_AnalysisPro + * @author iDempiere (generated) + * @version Release 5.1 + */ +@SuppressWarnings("all") +public interface I_MID_AnalysisPro +{ + + /** TableName=MID_AnalysisPro */ + public static final String Table_Name = "MID_AnalysisPro"; + + /** AD_Table_ID=30092 */ + public static final int Table_ID = 30092; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name batch_id */ + public static final String COLUMNNAME_batch_id = "batch_id"; + + /** Set batch_id */ + public void setbatch_id (String batch_id); + + /** Get batch_id */ + public String getbatch_id(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name Kesimpulan */ + public static final String COLUMNNAME_Kesimpulan = "Kesimpulan"; + + /** Set Kesimpulan */ + public void setKesimpulan (String Kesimpulan); + + /** Get Kesimpulan */ + public String getKesimpulan(); + + /** Column name MID_Analysis_ID */ + public static final String COLUMNNAME_MID_Analysis_ID = "MID_Analysis_ID"; + + /** Set Analysis QC */ + public void setMID_Analysis_ID (int MID_Analysis_ID); + + /** Get Analysis QC */ + public int getMID_Analysis_ID(); + + public I_MID_Analysis getMID_Analysis() throws RuntimeException; + + /** Column name MID_AnalysisPro_ID */ + public static final String COLUMNNAME_MID_AnalysisPro_ID = "MID_AnalysisPro_ID"; + + /** Set Analysis QC Product */ + public void setMID_AnalysisPro_ID (int MID_AnalysisPro_ID); + + /** Get Analysis QC Product */ + public int getMID_AnalysisPro_ID(); + + /** Column name MID_AnalysisPro_UU */ + public static final String COLUMNNAME_MID_AnalysisPro_UU = "MID_AnalysisPro_UU"; + + /** Set MID_AnalysisPro_UU */ + public void setMID_AnalysisPro_UU (String MID_AnalysisPro_UU); + + /** Get MID_AnalysisPro_UU */ + public String getMID_AnalysisPro_UU(); + + /** Column name M_InOut_ID */ + public static final String COLUMNNAME_M_InOut_ID = "M_InOut_ID"; + + /** Set Shipment/Receipt. + * Material Shipment Document + */ + public void setM_InOut_ID (int M_InOut_ID); + + /** Get Shipment/Receipt. + * Material Shipment Document + */ + public int getM_InOut_ID(); + + public org.compiere.model.I_M_InOut getM_InOut() throws RuntimeException; + + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; + + /** Column name M_Production_ID */ + public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; + + /** Set Production. + * Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID); + + /** Get Production. + * Plan for producing a product + */ + public int getM_Production_ID(); + + public org.compiere.model.I_M_Production getM_Production() throws RuntimeException; + + /** Column name Qty */ + public static final String COLUMNNAME_Qty = "Qty"; + + /** Set Quantity. + * Quantity + */ + public void setQty (BigDecimal Qty); + + /** Get Quantity. + * Quantity + */ + public BigDecimal getQty(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Parameter.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Parameter.java new file mode 100644 index 0000000..054ec53 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/I_MID_Parameter.java @@ -0,0 +1,192 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package andromedia.midsuit.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.model.*; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for MID_Parameter + * @author iDempiere (generated) + * @version Release 5.1 + */ +@SuppressWarnings("all") +public interface I_MID_Parameter +{ + + /** TableName=MID_Parameter */ + public static final String Table_Name = "MID_Parameter"; + + /** AD_Table_ID=30093 */ + public static final int Table_ID = 30093; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name Help */ + public static final String COLUMNNAME_Help = "Help"; + + /** Set Comment/Help. + * Comment or Hint + */ + public void setHelp (String Help); + + /** Get Comment/Help. + * Comment or Hint + */ + public String getHelp(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name MID_Parameter_ID */ + public static final String COLUMNNAME_MID_Parameter_ID = "MID_Parameter_ID"; + + /** Set Product Parameter */ + public void setMID_Parameter_ID (int MID_Parameter_ID); + + /** Get Product Parameter */ + public int getMID_Parameter_ID(); + + /** Column name mid_parameter_UU */ + public static final String COLUMNNAME_mid_parameter_UU = "mid_parameter_UU"; + + /** Set mid_parameter_UU */ + public void setmid_parameter_UU (String mid_parameter_UU); + + /** Get mid_parameter_UU */ + public String getmid_parameter_UU(); + + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException; + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name Parameter_Standard */ + public static final String COLUMNNAME_Parameter_Standard = "Parameter_Standard"; + + /** Set Parameter Standard */ + public void setParameter_Standard (String Parameter_Standard); + + /** Get Parameter Standard */ + public String getParameter_Standard(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Analysis.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Analysis.java new file mode 100644 index 0000000..0f49518 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Analysis.java @@ -0,0 +1,229 @@ +package andromedia.midsuit.model; + +import java.io.File; +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.List; +import java.util.Properties; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MInOutConfirm; +import org.compiere.model.MInOutLine; +import org.compiere.model.MProduction; +import org.compiere.model.MProductionLine; +import org.compiere.model.Query; +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.util.DB; + +public class MID_Analysis extends X_MID_Analysis implements DocAction { + + /** + * + */ + private static final long serialVersionUID = 1L; + + public MID_Analysis(Properties ctx, int MID_Analysis_ID, String trxName) { + super(ctx, MID_Analysis_ID, trxName); + // TODO Auto-generated constructor stub + } + + public MID_Analysis(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + // TODO Auto-generated constructor stub + } + + protected boolean afterSave(boolean newRecord, boolean success) { + // TODO Auto-generated method stub + if (newRecord) { + if (getM_Production_ID() > 0) + createLineFromProduction(); + else if (getM_InOut_ID() > 0) + createLineFromShipment(); + else if (get_Value("M_InOutReturn_ID") == null || (int) get_Value("M_InOutReturn_ID") > 0) + createLineFromReturn(); + // else if (get_Value("M_Inventory_ID")!=null) + // createLineFromInventory(); + } + return true; + } + + @Override + protected boolean beforeDelete() { + MInOutConfirm Confirm = new Query(getCtx(), MInOutConfirm.Table_Name, "PS_Analysis_ID =? AND DocStatus =?", get_TrxName()) + .setParameters(new Object[] { getMID_Analysis_ID(), DocAction.ACTION_Complete }) + .setOnlyActiveRecords(true) + .first(); + if(Confirm!=null) + throw new AdempiereException("QC sudah digunakan pada ship/receipt nomor "+Confirm.getDocumentNo()); + + int[] productIDs = new Query(getCtx(), MID_AnalysisPro.Table_Name, "PS_Analysis_ID =? ", get_TrxName()) + .getIDs(); + for(int productID : productIDs){ + String sql = "DELETE FROM PS_AnalysisLine WHERE PS_AnalysisPro_ID =?"; + DB.executeUpdateEx(sql, new Object[]{productID}, get_TrxName()); + } + + String sql = "DELETE FROM PS_AnalysisPro WHERE PS_Analysis_ID =?"; + DB.executeUpdateEx(sql, new Object[]{ getMID_Analysis_ID() }, get_TrxName()); + + return super.beforeDelete(); + } + + public void createLineFromProduction() { + + MProduction production = new MProduction(getCtx(), getM_Production_ID(), null); + + if(production != null) { + MID_AnalysisPro a = new MID_AnalysisPro(getCtx(), 0, get_TrxName()); + a.setMID_Analysis_ID(getMID_Analysis_ID()); + a.setM_Product_ID(production.getM_Product_ID()); + a.setQty(production.getProductionQty()); + a.setbatch_id(getProduct()); + a.saveEx(); + } + } + + public String getProduct() { + + String valueReturn = ""; + List productionLines = new Query(getCtx() + , MProductionLine.Table_Name + , "M_Production_ID = ? and isEndProduct='N'", get_TrxName()) + .setParameters(new Object[] {getM_Production_ID()}) + .list(); + + for(MProductionLine productionLine : productionLines) { + if(productionLine != null) { + String qtyUsed = productionLine.getQtyUsed().toString(); + valueReturn += qtyUsed == null ? "0;" : qtyUsed + ";"; + } + } + + return valueReturn; + } + + public void createLineFromShipment() { + List iols = new Query(getCtx(), MInOutLine.Table_Name, "M_InOut_ID = ?", get_TrxName()) + .setParameters(new Object[] {getM_InOut()}) + .list(); + + for(MInOutLine iol : iols){ + MID_AnalysisPro ap = new MID_AnalysisPro(getCtx(), 0, get_TrxName()); + ap.setMID_Analysis_ID(getMID_Analysis_ID()); + ap.setM_Product_ID(iol.getM_Product_ID()); + ap.setQty(iol.getQtyEntered()); + ap.saveEx(); + } + } + + public void createLineFromReturn() { + List iols = new Query(getCtx(), MInOutLine.Table_Name, "M_InOut_ID = ?", get_TrxName()) + .setParameters(new Object[] {getM_InOut()}) + .list(); + + for(MInOutLine iol : iols) { + MID_AnalysisPro ap = new MID_AnalysisPro(getCtx(), 0, get_TrxName()); + ap.setMID_Analysis_ID(getMID_Analysis_ID()); + ap.setM_Product_ID(iol.getM_Product_ID()); + ap.setQty(iol.getQtyEntered()); + ap.saveEx(); + } + } + + @Override + public boolean processIt(String action) throws Exception { + // TODO Auto-generated method stub + log.warning("Processing Action=" + action + " - DocStatus=" + getDocStatus() + " - DocAction=" + getDocAction()); + DocumentEngine engine = new DocumentEngine(this, getDocStatus()); + return engine.processIt(action, getDocAction()); + } + + @Override + public boolean unlockIt() { + return true; + } + + @Override + public boolean invalidateIt() { + return true; + } + + @Override + public String prepareIt() { + setC_DocType_ID(getC_DocTypeTarget_ID()); + return DocAction.STATUS_InProgress; + } + + @Override + public boolean approveIt() { + return true; + } + + @Override + public boolean rejectIt() { + return true; + } + + @Override + public String completeIt() { + + return DocAction.STATUS_Completed; + } + + @Override + public boolean voidIt() { + return true; + } + + @Override + public boolean closeIt() { + return true; + } + + @Override + public boolean reverseCorrectIt() { + return true; + } + + @Override + public boolean reverseAccrualIt() { + return true; + } + + @Override + public boolean reActivateIt() { + return true; + } + + @Override + public String getSummary() { + return null; + } + + @Override + public String getDocumentInfo() { + return null; + } + + @Override + public File createPDF() { + return null; + } + + @Override + public String getProcessMsg() { + return null; + } + + @Override + public int getDoc_User_ID() { + return 0; + } + + @Override + public BigDecimal getApprovalAmt() { + return BigDecimal.ONE; + } + +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisLine.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisLine.java new file mode 100644 index 0000000..ec7ece6 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisLine.java @@ -0,0 +1,23 @@ +package andromedia.midsuit.model; + +import java.sql.ResultSet; +import java.util.Properties; + +public class MID_AnalysisLine extends X_MID_AnalysisLine { + + /** + * + */ + private static final long serialVersionUID = -8735159026713259241L; + + public MID_AnalysisLine(Properties ctx, int MID_AnalysisLine_ID, String trxName) { + super(ctx, MID_AnalysisLine_ID, trxName); + // TODO Auto-generated constructor stub + } + + public MID_AnalysisLine(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + // TODO Auto-generated constructor stub + } + +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisPro.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisPro.java new file mode 100644 index 0000000..0e73ae2 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_AnalysisPro.java @@ -0,0 +1,48 @@ +package andromedia.midsuit.model; + +import java.sql.ResultSet; +import java.util.List; +import java.util.Properties; + +import org.compiere.model.Query; + +public class MID_AnalysisPro extends X_MID_AnalysisPro { + + /** + * + */ + private static final long serialVersionUID = -5451587381155760865L; + + public MID_AnalysisPro(Properties ctx, int MID_AnalysisPro_ID, String trxName) { + super(ctx, MID_AnalysisPro_ID, trxName); + // TODO Auto-generated constructor stub + } + + public MID_AnalysisPro(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + // TODO Auto-generated constructor stub + } + + protected boolean afterSave(boolean newRecord, boolean success) { + if (newRecord) { + createParameter(); + } + return true; + } + + public void createParameter() { + + List params = new Query(getCtx(), MID_Parameter.Table_Name, "M_Product_ID = ?", get_TrxName()) + .setParameters(new Object[] {getM_Product_ID()}) + .list(); + for(MID_Parameter param : params) { + MID_AnalysisLine al = new MID_AnalysisLine(getCtx(),0,get_TrxName()); + al.setName(param.getName()); + al.setParameter_Standard(param.getParameter_Standard()); + al.setMID_Parameter_ID(param.getMID_Parameter_ID()); + al.setMID_AnalysisPro_ID(getMID_AnalysisPro_ID()); + al.saveEx(); + } + } + +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Parameter.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Parameter.java new file mode 100644 index 0000000..637ec4a --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/MID_Parameter.java @@ -0,0 +1,23 @@ +package andromedia.midsuit.model; + +import java.sql.ResultSet; +import java.util.Properties; + +public class MID_Parameter extends X_MID_Parameter { + + /** + * + */ + private static final long serialVersionUID = -2785109173056371758L; + + public MID_Parameter(Properties ctx, int MID_Parameter_ID, String trxName) { + super(ctx, MID_Parameter_ID, trxName); + // TODO Auto-generated constructor stub + } + + public MID_Parameter(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + // TODO Auto-generated constructor stub + } + +} diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Analysis.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Analysis.java new file mode 100644 index 0000000..705b4d0 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Analysis.java @@ -0,0 +1,1232 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package andromedia.midsuit.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; +import org.compiere.model.*; +import org.compiere.util.Env; + +/** Generated Model for MID_Analysis + * @author iDempiere (generated) + * @version Release 5.1 - $Id$ */ +public class X_MID_Analysis extends PO implements I_MID_Analysis, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20180828L; + + /** Standard Constructor */ + public X_MID_Analysis (Properties ctx, int MID_Analysis_ID, String trxName) + { + super (ctx, MID_Analysis_ID, trxName); + /** if (MID_Analysis_ID == 0) + { + setKesimpulan (null); + setMID_Analysis_ID (0); + } */ + } + + /** Load Constructor */ + public X_MID_Analysis (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_MID_Analysis[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Asal. + @param Asal Asal */ + public void setAsal (String Asal) + { + set_Value (COLUMNNAME_Asal, Asal); + } + + /** Get Asal. + @return Asal */ + public String getAsal () + { + return (String)get_Value(COLUMNNAME_Asal); + } + + /** Set No. Batch. + @param Batch_No No. Batch */ + public void setBatch_No (String Batch_No) + { + set_Value (COLUMNNAME_Batch_No, Batch_No); + } + + /** Get No. Batch. + @return No. Batch */ + public String getBatch_No () + { + return (String)get_Value(COLUMNNAME_Batch_No); + } + + /** Set Batch Produksi. + @param BatchProduksi Batch Produksi */ + public void setBatchProduksi (String BatchProduksi) + { + set_Value (COLUMNNAME_BatchProduksi, BatchProduksi); + } + + /** Get Batch Produksi. + @return Batch Produksi */ + public String getBatchProduksi () + { + return (String)get_Value(COLUMNNAME_BatchProduksi); + } + + public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException + { + return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name) + .getPO(getC_Currency_ID(), get_TrxName()); } + + /** Set Currency. + @param C_Currency_ID + The Currency for this record + */ + public void setC_Currency_ID (int C_Currency_ID) + { + if (C_Currency_ID < 1) + set_Value (COLUMNNAME_C_Currency_ID, null); + else + set_Value (COLUMNNAME_C_Currency_ID, Integer.valueOf(C_Currency_ID)); + } + + /** Get Currency. + @return The Currency for this record + */ + public int getC_Currency_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Currency_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException + { + return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name) + .getPO(getC_DocType_ID(), get_TrxName()); } + + /** Set Document Type. + @param C_DocType_ID + Document type or rules + */ + public void setC_DocType_ID (int C_DocType_ID) + { + if (C_DocType_ID < 0) + set_ValueNoCheck (COLUMNNAME_C_DocType_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID)); + } + + /** Get Document Type. + @return Document type or rules + */ + public int getC_DocType_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_C_DocType getC_DocTypeTarget() throws RuntimeException + { + return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name) + .getPO(getC_DocTypeTarget_ID(), get_TrxName()); } + + /** Set Target Document Type. + @param C_DocTypeTarget_ID + Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) + { + if (C_DocTypeTarget_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); + } + + /** Get Target Document Type. + @return Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Cetak COA. + @param CetakCOA Cetak COA */ + public void setCetakCOA (boolean CetakCOA) + { + set_Value (COLUMNNAME_CetakCOA, Boolean.valueOf(CetakCOA)); + } + + /** Get Cetak COA. + @return Cetak COA */ + public boolean isCetakCOA () + { + Object oo = get_Value(COLUMNNAME_CetakCOA); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Cetak Hasil Analisa Lab. + @param CetakHasilAnalisaLab Cetak Hasil Analisa Lab */ + public void setCetakHasilAnalisaLab (boolean CetakHasilAnalisaLab) + { + set_Value (COLUMNNAME_CetakHasilAnalisaLab, Boolean.valueOf(CetakHasilAnalisaLab)); + } + + /** Get Cetak Hasil Analisa Lab. + @return Cetak Hasil Analisa Lab */ + public boolean isCetakHasilAnalisaLab () + { + Object oo = get_Value(COLUMNNAME_CetakHasilAnalisaLab); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Cetak Surat Hasil Analisa. + @param cetaksurathasilanalisa Cetak Surat Hasil Analisa */ + public void setcetaksurathasilanalisa (boolean cetaksurathasilanalisa) + { + set_Value (COLUMNNAME_cetaksurathasilanalisa, Boolean.valueOf(cetaksurathasilanalisa)); + } + + /** Get Cetak Surat Hasil Analisa. + @return Cetak Surat Hasil Analisa */ + public boolean iscetaksurathasilanalisa () + { + Object oo = get_Value(COLUMNNAME_cetaksurathasilanalisa); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Cetak Surat Hasil Analisa Produksi. + @param cetaksurathasilanalisaproduksi Cetak Surat Hasil Analisa Produksi */ + public void setcetaksurathasilanalisaproduksi (boolean cetaksurathasilanalisaproduksi) + { + set_Value (COLUMNNAME_cetaksurathasilanalisaproduksi, Boolean.valueOf(cetaksurathasilanalisaproduksi)); + } + + /** Get Cetak Surat Hasil Analisa Produksi. + @return Cetak Surat Hasil Analisa Produksi */ + public boolean iscetaksurathasilanalisaproduksi () + { + Object oo = get_Value(COLUMNNAME_cetaksurathasilanalisaproduksi); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set COA. + @param COA COA */ + public void setCOA (String COA) + { + set_Value (COLUMNNAME_COA, COA); + } + + /** Get COA. + @return COA */ + public String getCOA () + { + return (String)get_Value(COLUMNNAME_COA); + } + + /** Set Date. + @param Date1 + Date when business is not conducted + */ + public void setDate1 (Timestamp Date1) + { + set_Value (COLUMNNAME_Date1, Date1); + } + + /** Get Date. + @return Date when business is not conducted + */ + public Timestamp getDate1 () + { + return (Timestamp)get_Value(COLUMNNAME_Date1); + } + + /** Set Account Date. + @param DateAcct + Accounting Date + */ + public void setDateAcct (Timestamp DateAcct) + { + set_ValueNoCheck (COLUMNNAME_DateAcct, DateAcct); + } + + /** Get Account Date. + @return Accounting Date + */ + public Timestamp getDateAcct () + { + return (Timestamp)get_Value(COLUMNNAME_DateAcct); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** DocAction AD_Reference_ID=135 */ + public static final int DOCACTION_AD_Reference_ID=135; + /** Complete = CO */ + public static final String DOCACTION_Complete = "CO"; + /** Approve = AP */ + public static final String DOCACTION_Approve = "AP"; + /** Reject = RJ */ + public static final String DOCACTION_Reject = "RJ"; + /** Post = PO */ + public static final String DOCACTION_Post = "PO"; + /** Void = VO */ + public static final String DOCACTION_Void = "VO"; + /** Close = CL */ + public static final String DOCACTION_Close = "CL"; + /** Reverse - Correct = RC */ + public static final String DOCACTION_Reverse_Correct = "RC"; + /** Reverse - Accrual = RA */ + public static final String DOCACTION_Reverse_Accrual = "RA"; + /** Invalidate = IN */ + public static final String DOCACTION_Invalidate = "IN"; + /** Re-activate = RE */ + public static final String DOCACTION_Re_Activate = "RE"; + /** = -- */ + public static final String DOCACTION_None = "--"; + /** Prepare = PR */ + public static final String DOCACTION_Prepare = "PR"; + /** Unlock = XL */ + public static final String DOCACTION_Unlock = "XL"; + /** Wait Complete = WC */ + public static final String DOCACTION_WaitComplete = "WC"; + /** Set Document Action. + @param DocAction + The targeted status of the document + */ + public void setDocAction (String DocAction) + { + + set_Value (COLUMNNAME_DocAction, DocAction); + } + + /** Get Document Action. + @return The targeted status of the document + */ + public String getDocAction () + { + return (String)get_Value(COLUMNNAME_DocAction); + } + + /** DocFrom AD_Reference_ID=30047 */ + public static final int DOCFROM_AD_Reference_ID=30047; + /** Kabag Laboratoriun Kimia = from_1 */ + public static final String DOCFROM_KabagLaboratoriunKimia = "from_1"; + /** Kabag Laboratoriun Mikrobiologi = from_2 */ + public static final String DOCFROM_KabagLaboratoriunMikrobiologi = "from_2"; + /** Kabag Jamintas = from_3 */ + public static final String DOCFROM_KabagJamintas = "from_3"; + /** Kabag Gudang Bahan dan Material = to_1 */ + public static final String DOCFROM_KabagGudangBahanDanMaterial = "to_1"; + /** Kabag Pengadaan Barang = to_2 */ + public static final String DOCFROM_KabagPengadaanBarang = "to_2"; + /** Set DocFrom. + @param DocFrom DocFrom */ + public void setDocFrom (String DocFrom) + { + + set_Value (COLUMNNAME_DocFrom, DocFrom); + } + + /** Get DocFrom. + @return DocFrom */ + public String getDocFrom () + { + return (String)get_Value(COLUMNNAME_DocFrom); + } + + /** DocStatus AD_Reference_ID=131 */ + public static final int DOCSTATUS_AD_Reference_ID=131; + /** Drafted = DR */ + public static final String DOCSTATUS_Drafted = "DR"; + /** Completed = CO */ + public static final String DOCSTATUS_Completed = "CO"; + /** Approved = AP */ + public static final String DOCSTATUS_Approved = "AP"; + /** Not Approved = NA */ + public static final String DOCSTATUS_NotApproved = "NA"; + /** Voided = VO */ + public static final String DOCSTATUS_Voided = "VO"; + /** Invalid = IN */ + public static final String DOCSTATUS_Invalid = "IN"; + /** Reversed = RE */ + public static final String DOCSTATUS_Reversed = "RE"; + /** Closed = CL */ + public static final String DOCSTATUS_Closed = "CL"; + /** Unknown = ?? */ + public static final String DOCSTATUS_Unknown = "??"; + /** In Progress = IP */ + public static final String DOCSTATUS_InProgress = "IP"; + /** Waiting Payment = WP */ + public static final String DOCSTATUS_WaitingPayment = "WP"; + /** Waiting Confirmation = WC */ + public static final String DOCSTATUS_WaitingConfirmation = "WC"; + /** Set Document Status. + @param DocStatus + The current status of the document + */ + public void setDocStatus (String DocStatus) + { + + set_Value (COLUMNNAME_DocStatus, DocStatus); + } + + /** Get Document Status. + @return The current status of the document + */ + public String getDocStatus () + { + return (String)get_Value(COLUMNNAME_DocStatus); + } + + /** DocTo AD_Reference_ID=30047 */ + public static final int DOCTO_AD_Reference_ID=30047; + /** Kabag Laboratoriun Kimia = from_1 */ + public static final String DOCTO_KabagLaboratoriunKimia = "from_1"; + /** Kabag Laboratoriun Mikrobiologi = from_2 */ + public static final String DOCTO_KabagLaboratoriunMikrobiologi = "from_2"; + /** Kabag Jamintas = from_3 */ + public static final String DOCTO_KabagJamintas = "from_3"; + /** Kabag Gudang Bahan dan Material = to_1 */ + public static final String DOCTO_KabagGudangBahanDanMaterial = "to_1"; + /** Kabag Pengadaan Barang = to_2 */ + public static final String DOCTO_KabagPengadaanBarang = "to_2"; + /** Set Doc To. + @param DocTo Doc To */ + public void setDocTo (String DocTo) + { + + set_Value (COLUMNNAME_DocTo, DocTo); + } + + /** Get Doc To. + @return Doc To */ + public String getDocTo () + { + return (String)get_Value(COLUMNNAME_DocTo); + } + + /** Set Document No. + @param DocumentNo + Document sequence number of the document + */ + public void setDocumentNo (String DocumentNo) + { + set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); + } + + /** Get Document No. + @return Document sequence number of the document + */ + public String getDocumentNo () + { + return (String)get_Value(COLUMNNAME_DocumentNo); + } + + /** Set Comment/Help. + @param Help + Comment or Hint + */ + public void setHelp (String Help) + { + set_Value (COLUMNNAME_Help, Help); + } + + /** Get Comment/Help. + @return Comment or Hint + */ + public String getHelp () + { + return (String)get_Value(COLUMNNAME_Help); + } + + /** Set Approved. + @param IsApproved + Indicates if this document requires approval + */ + public void setIsApproved (boolean IsApproved) + { + set_ValueNoCheck (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved)); + } + + /** Get Approved. + @return Indicates if this document requires approval + */ + public boolean isApproved () + { + Object oo = get_Value(COLUMNNAME_IsApproved); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Jam. + @param Jam Jam */ + public void setJam (Timestamp Jam) + { + set_Value (COLUMNNAME_Jam, Jam); + } + + /** Get Jam. + @return Jam */ + public Timestamp getJam () + { + return (Timestamp)get_Value(COLUMNNAME_Jam); + } + + /** Judul AD_Reference_ID=30048 */ + public static final int JUDUL_AD_Reference_ID=30048; + /** Laboratorium Kimia = judul1 */ + public static final String JUDUL_LaboratoriumKimia = "judul1"; + /** Set Judul. + @param Judul Judul */ + public void setJudul (String Judul) + { + + set_Value (COLUMNNAME_Judul, Judul); + } + + /** Get Judul. + @return Judul */ + public String getJudul () + { + return (String)get_Value(COLUMNNAME_Judul); + } + + /** Set Judul Analisa. + @param Judul_Analisa Judul Analisa */ + public void setJudul_Analisa (String Judul_Analisa) + { + set_Value (COLUMNNAME_Judul_Analisa, Judul_Analisa); + } + + /** Get Judul Analisa. + @return Judul Analisa */ + public String getJudul_Analisa () + { + return (String)get_Value(COLUMNNAME_Judul_Analisa); + } + + /** Set Jumlah Raw Material. + @param JumlahRM Jumlah Raw Material */ + public void setJumlahRM (String JumlahRM) + { + set_Value (COLUMNNAME_JumlahRM, JumlahRM); + } + + /** Get Jumlah Raw Material. + @return Jumlah Raw Material */ + public String getJumlahRM () + { + return (String)get_Value(COLUMNNAME_JumlahRM); + } + + /** Kesimpulan AD_Reference_ID=30046 */ + public static final int KESIMPULAN_AD_Reference_ID=30046; + /** Diterima = D */ + public static final String KESIMPULAN_Diterima = "D"; + /** Ditolak = R */ + public static final String KESIMPULAN_Ditolak = "R"; + /** Produksi Ulang = RW */ + public static final String KESIMPULAN_ProduksiUlang = "RW"; + /** Set Kesimpulan. + @param Kesimpulan Kesimpulan */ + public void setKesimpulan (String Kesimpulan) + { + + set_Value (COLUMNNAME_Kesimpulan, Kesimpulan); + } + + /** Get Kesimpulan. + @return Kesimpulan */ + public String getKesimpulan () + { + return (String)get_Value(COLUMNNAME_Kesimpulan); + } + + /** Set Keterangan. + @param Ket Keterangan */ + public void setKet (String Ket) + { + set_Value (COLUMNNAME_Ket, Ket); + } + + /** Get Keterangan. + @return Keterangan */ + public String getKet () + { + return (String)get_Value(COLUMNNAME_Ket); + } + + /** Set Keterangan Cetak. + @param KeteranganCetak Keterangan Cetak */ + public void setKeteranganCetak (String KeteranganCetak) + { + set_Value (COLUMNNAME_KeteranganCetak, KeteranganCetak); + } + + /** Get Keterangan Cetak. + @return Keterangan Cetak */ + public String getKeteranganCetak () + { + return (String)get_Value(COLUMNNAME_KeteranganCetak); + } + + /** Set Keterangan Lain. + @param KeteranganLain Keterangan Lain */ + public void setKeteranganLain (String KeteranganLain) + { + set_Value (COLUMNNAME_KeteranganLain, KeteranganLain); + } + + /** Get Keterangan Lain. + @return Keterangan Lain */ + public String getKeteranganLain () + { + return (String)get_Value(COLUMNNAME_KeteranganLain); + } + + /** Set Analysis QC. + @param MID_Analysis_ID Analysis QC */ + public void setMID_Analysis_ID (int MID_Analysis_ID) + { + if (MID_Analysis_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_Analysis_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_Analysis_ID, Integer.valueOf(MID_Analysis_ID)); + } + + /** Get Analysis QC. + @return Analysis QC */ + public int getMID_Analysis_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_Analysis_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set mid_analysis_UU. + @param MID_Analysis_UU mid_analysis_UU */ + public void setMID_Analysis_UU (String MID_Analysis_UU) + { + set_ValueNoCheck (COLUMNNAME_MID_Analysis_UU, MID_Analysis_UU); + } + + /** Get mid_analysis_UU. + @return mid_analysis_UU */ + public String getMID_Analysis_UU () + { + return (String)get_Value(COLUMNNAME_MID_Analysis_UU); + } + + public org.compiere.model.I_M_InOut getM_InOut() throws RuntimeException + { + return (org.compiere.model.I_M_InOut)MTable.get(getCtx(), org.compiere.model.I_M_InOut.Table_Name) + .getPO(getM_InOut_ID(), get_TrxName()); } + + /** Set Shipment/Receipt. + @param M_InOut_ID + Material Shipment Document + */ + public void setM_InOut_ID (int M_InOut_ID) + { + if (M_InOut_ID < 1) + set_ValueNoCheck (COLUMNNAME_M_InOut_ID, null); + else + set_ValueNoCheck (COLUMNNAME_M_InOut_ID, Integer.valueOf(M_InOut_ID)); + } + + /** Get Shipment/Receipt. + @return Material Shipment Document + */ + public int getM_InOut_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOut_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_InOut getM_InOutReturn() throws RuntimeException + { + return (org.compiere.model.I_M_InOut)MTable.get(getCtx(), org.compiere.model.I_M_InOut.Table_Name) + .getPO(getM_InOutReturn_ID(), get_TrxName()); } + + /** Set M_InOutReturn_ID. + @param M_InOutReturn_ID M_InOutReturn_ID */ + public void setM_InOutReturn_ID (int M_InOutReturn_ID) + { + if (M_InOutReturn_ID < 1) + set_Value (COLUMNNAME_M_InOutReturn_ID, null); + else + set_Value (COLUMNNAME_M_InOutReturn_ID, Integer.valueOf(M_InOutReturn_ID)); + } + + /** Get M_InOutReturn_ID. + @return M_InOutReturn_ID */ + public int getM_InOutReturn_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutReturn_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_Production getM_Production() throws RuntimeException + { + return (org.compiere.model.I_M_Production)MTable.get(getCtx(), org.compiere.model.I_M_Production.Table_Name) + .getPO(getM_Production_ID(), get_TrxName()); } + + /** Set Production. + @param M_Production_ID + Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID) + { + if (M_Production_ID < 1) + set_ValueNoCheck (COLUMNNAME_M_Production_ID, null); + else + set_ValueNoCheck (COLUMNNAME_M_Production_ID, Integer.valueOf(M_Production_ID)); + } + + /** Get Production. + @return Plan for producing a product + */ + public int getM_Production_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Production_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Nama Analis. + @param NamaAnalis Nama Analis */ + public void setNamaAnalis (String NamaAnalis) + { + set_Value (COLUMNNAME_NamaAnalis, NamaAnalis); + } + + /** Get Nama Analis. + @return Nama Analis */ + public String getNamaAnalis () + { + return (String)get_Value(COLUMNNAME_NamaAnalis); + } + + /** Set Nama Kepala. + @param NamaKepala Nama Kepala */ + public void setNamaKepala (String NamaKepala) + { + set_Value (COLUMNNAME_NamaKepala, NamaKepala); + } + + /** Get Nama Kepala. + @return Nama Kepala */ + public String getNamaKepala () + { + return (String)get_Value(COLUMNNAME_NamaKepala); + } + + /** Set Nama Manajer. + @param Nama_Manajer Nama Manajer */ + public void setNama_Manajer (String Nama_Manajer) + { + set_Value (COLUMNNAME_Nama_Manajer, Nama_Manajer); + } + + /** Get Nama Manajer. + @return Nama Manajer */ + public String getNama_Manajer () + { + return (String)get_Value(COLUMNNAME_Nama_Manajer); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set No COA. + @param No_COA No COA */ + public void setNo_COA (String No_COA) + { + set_Value (COLUMNNAME_No_COA, No_COA); + } + + /** Get No COA. + @return No COA */ + public String getNo_COA () + { + return (String)get_Value(COLUMNNAME_No_COA); + } + + /** Set No Iso. + @param NoIso No Iso */ + public void setNoIso (String NoIso) + { + set_Value (COLUMNNAME_NoIso, NoIso); + } + + /** Get No Iso. + @return No Iso */ + public String getNoIso () + { + return (String)get_Value(COLUMNNAME_NoIso); + } + + /** Set No ISO. + @param No_ISO No ISO */ + public void setNo_ISO (String No_ISO) + { + set_Value (COLUMNNAME_No_ISO, No_ISO); + } + + /** Get No ISO. + @return No ISO */ + public String getNo_ISO () + { + return (String)get_Value(COLUMNNAME_No_ISO); + } + + /** Set No ISO Coa. + @param NoISOCoa No ISO Coa */ + public void setNoISOCoa (String NoISOCoa) + { + set_Value (COLUMNNAME_NoISOCoa, NoISOCoa); + } + + /** Get No ISO Coa. + @return No ISO Coa */ + public String getNoISOCoa () + { + return (String)get_Value(COLUMNNAME_NoISOCoa); + } + + /** Set NoLogBook. + @param NoLogBook NoLogBook */ + public void setNoLogBook (String NoLogBook) + { + set_Value (COLUMNNAME_NoLogBook, NoLogBook); + } + + /** Get NoLogBook. + @return NoLogBook */ + public String getNoLogBook () + { + return (String)get_Value(COLUMNNAME_NoLogBook); + } + + /** Set Penanggung Jawab. + @param Pj Penanggung Jawab */ + public void setPj (String Pj) + { + set_Value (COLUMNNAME_Pj, Pj); + } + + /** Get Penanggung Jawab. + @return Penanggung Jawab */ + public String getPj () + { + return (String)get_Value(COLUMNNAME_Pj); + } + + /** Set Posted. + @param Posted + Posting status + */ + public void setPosted (boolean Posted) + { + set_ValueNoCheck (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + } + + /** Get Posted. + @return Posting status + */ + public boolean isPosted () + { + Object oo = get_Value(COLUMNNAME_Posted); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Processed On. + @param ProcessedOn + The date+time (expressed in decimal format) when the document has been processed + */ + public void setProcessedOn (BigDecimal ProcessedOn) + { + set_Value (COLUMNNAME_ProcessedOn, ProcessedOn); + } + + /** Get Processed On. + @return The date+time (expressed in decimal format) when the document has been processed + */ + public BigDecimal getProcessedOn () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set QC2 Dari. + @param QC2_Dari QC2 Dari */ + public void setQC2_Dari (String QC2_Dari) + { + set_Value (COLUMNNAME_QC2_Dari, QC2_Dari); + } + + /** Get QC2 Dari. + @return QC2 Dari */ + public String getQC2_Dari () + { + return (String)get_Value(COLUMNNAME_QC2_Dari); + } + + /** Set QC2 Direktur. + @param QC2_Dir QC2 Direktur */ + public void setQC2_Dir (String QC2_Dir) + { + set_Value (COLUMNNAME_QC2_Dir, QC2_Dir); + } + + /** Get QC2 Direktur. + @return QC2 Direktur */ + public String getQC2_Dir () + { + return (String)get_Value(COLUMNNAME_QC2_Dir); + } + + /** Set QC2 Nama Direktur. + @param QC2_DirName QC2 Nama Direktur */ + public void setQC2_DirName (String QC2_DirName) + { + set_Value (COLUMNNAME_QC2_DirName, QC2_DirName); + } + + /** Get QC2 Nama Direktur. + @return QC2 Nama Direktur */ + public String getQC2_DirName () + { + return (String)get_Value(COLUMNNAME_QC2_DirName); + } + + /** Set QC2 Kepada. + @param QC2_Kepada QC2 Kepada */ + public void setQC2_Kepada (String QC2_Kepada) + { + set_Value (COLUMNNAME_QC2_Kepada, QC2_Kepada); + } + + /** Get QC2 Kepada. + @return QC2 Kepada */ + public String getQC2_Kepada () + { + return (String)get_Value(COLUMNNAME_QC2_Kepada); + } + + /** Set QC2 Menyetujui. + @param QC2_Menyetujui QC2 Menyetujui */ + public void setQC2_Menyetujui (String QC2_Menyetujui) + { + set_Value (COLUMNNAME_QC2_Menyetujui, QC2_Menyetujui); + } + + /** Get QC2 Menyetujui. + @return QC2 Menyetujui */ + public String getQC2_Menyetujui () + { + return (String)get_Value(COLUMNNAME_QC2_Menyetujui); + } + + /** Set QC2 No. ISO. + @param QC2_NoISO QC2 No. ISO */ + public void setQC2_NoISO (String QC2_NoISO) + { + set_Value (COLUMNNAME_QC2_NoISO, QC2_NoISO); + } + + /** Get QC2 No. ISO. + @return QC2 No. ISO */ + public String getQC2_NoISO () + { + return (String)get_Value(COLUMNNAME_QC2_NoISO); + } + + /** Set QC2 No Surat. + @param QC2_NoSurat QC2 No Surat */ + public void setQC2_NoSurat (String QC2_NoSurat) + { + set_Value (COLUMNNAME_QC2_NoSurat, QC2_NoSurat); + } + + /** Get QC2 No Surat. + @return QC2 No Surat */ + public String getQC2_NoSurat () + { + return (String)get_Value(COLUMNNAME_QC2_NoSurat); + } + + /** Set Quantity COA. + @param Qty_COA Quantity COA */ + public void setQty_COA (BigDecimal Qty_COA) + { + set_Value (COLUMNNAME_Qty_COA, Qty_COA); + } + + /** Get Quantity COA. + @return Quantity COA */ + public BigDecimal getQty_COA () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Qty_COA); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Rev. + @param Rev Rev */ + public void setRev (String Rev) + { + set_Value (COLUMNNAME_Rev, Rev); + } + + /** Get Rev. + @return Rev */ + public String getRev () + { + return (String)get_Value(COLUMNNAME_Rev); + } + + /** Set Sub Judul Analisa. + @param SubJudul_Analisa Sub Judul Analisa */ + public void setSubJudul_Analisa (String SubJudul_Analisa) + { + set_Value (COLUMNNAME_SubJudul_Analisa, SubJudul_Analisa); + } + + /** Get Sub Judul Analisa. + @return Sub Judul Analisa */ + public String getSubJudul_Analisa () + { + return (String)get_Value(COLUMNNAME_SubJudul_Analisa); + } + + /** Set Surat Permintaan. + @param SuratPermintaan Surat Permintaan */ + public void setSuratPermintaan (String SuratPermintaan) + { + set_Value (COLUMNNAME_SuratPermintaan, SuratPermintaan); + } + + /** Get Surat Permintaan. + @return Surat Permintaan */ + public String getSuratPermintaan () + { + return (String)get_Value(COLUMNNAME_SuratPermintaan); + } + + /** Set Tanggal COA. + @param Tgl_COA Tanggal COA */ + public void setTgl_COA (Timestamp Tgl_COA) + { + set_Value (COLUMNNAME_Tgl_COA, Tgl_COA); + } + + /** Get Tanggal COA. + @return Tanggal COA */ + public Timestamp getTgl_COA () + { + return (Timestamp)get_Value(COLUMNNAME_Tgl_COA); + } + + /** Set Tanggal Minta. + @param Tgl_Minta Tanggal Minta */ + public void setTgl_Minta (Timestamp Tgl_Minta) + { + set_Value (COLUMNNAME_Tgl_Minta, Tgl_Minta); + } + + /** Get Tanggal Minta. + @return Tanggal Minta */ + public Timestamp getTgl_Minta () + { + return (Timestamp)get_Value(COLUMNNAME_Tgl_Minta); + } + + /** UnitProduksi AD_Reference_ID=30050 */ + public static final int UNITPRODUKSI_AD_Reference_ID=30050; + /** Biokaosida = Biokaosida */ + public static final String UNITPRODUKSI_Biokaosida = "Biokaosida"; + /** Set Unit Produksi. + @param UnitProduksi Unit Produksi */ + public void setUnitProduksi (String UnitProduksi) + { + + set_Value (COLUMNNAME_UnitProduksi, UnitProduksi); + } + + /** Get Unit Produksi. + @return Unit Produksi */ + public String getUnitProduksi () + { + return (String)get_Value(COLUMNNAME_UnitProduksi); + } +} \ No newline at end of file diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisLine.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisLine.java new file mode 100644 index 0000000..d9872fe --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisLine.java @@ -0,0 +1,233 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package andromedia.midsuit.model; + +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.model.*; + +/** Generated Model for MID_AnalysisLine + * @author iDempiere (generated) + * @version Release 5.1 - $Id$ */ +public class X_MID_AnalysisLine extends PO implements I_MID_AnalysisLine, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20180828L; + + /** Standard Constructor */ + public X_MID_AnalysisLine (Properties ctx, int MID_AnalysisLine_ID, String trxName) + { + super (ctx, MID_AnalysisLine_ID, trxName); + /** if (MID_AnalysisLine_ID == 0) + { + setMID_AnalysisLine_ID (0); + setMID_AnalysisPro_ID (0); + setName (null); + } */ + } + + /** Load Constructor */ + public X_MID_AnalysisLine (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_MID_AnalysisLine[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Hasil Analisa Product. + @param MID_AnalysisLine_ID Hasil Analisa Product */ + public void setMID_AnalysisLine_ID (int MID_AnalysisLine_ID) + { + if (MID_AnalysisLine_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_AnalysisLine_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_AnalysisLine_ID, Integer.valueOf(MID_AnalysisLine_ID)); + } + + /** Get Hasil Analisa Product. + @return Hasil Analisa Product */ + public int getMID_AnalysisLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_AnalysisLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set MID_AnalysisLine_UU. + @param MID_AnalysisLine_UU MID_AnalysisLine_UU */ + public void setMID_AnalysisLine_UU (String MID_AnalysisLine_UU) + { + set_ValueNoCheck (COLUMNNAME_MID_AnalysisLine_UU, MID_AnalysisLine_UU); + } + + /** Get MID_AnalysisLine_UU. + @return MID_AnalysisLine_UU */ + public String getMID_AnalysisLine_UU () + { + return (String)get_Value(COLUMNNAME_MID_AnalysisLine_UU); + } + + public I_MID_AnalysisPro getMID_AnalysisPro() throws RuntimeException + { + return (I_MID_AnalysisPro)MTable.get(getCtx(), I_MID_AnalysisPro.Table_Name) + .getPO(getMID_AnalysisPro_ID(), get_TrxName()); } + + /** Set Analysis QC Product. + @param MID_AnalysisPro_ID Analysis QC Product */ + public void setMID_AnalysisPro_ID (int MID_AnalysisPro_ID) + { + if (MID_AnalysisPro_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_AnalysisPro_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_AnalysisPro_ID, Integer.valueOf(MID_AnalysisPro_ID)); + } + + /** Get Analysis QC Product. + @return Analysis QC Product */ + public int getMID_AnalysisPro_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_AnalysisPro_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_MID_Parameter getMID_Parameter() throws RuntimeException + { + return (I_MID_Parameter)MTable.get(getCtx(), I_MID_Parameter.Table_Name) + .getPO(getMID_Parameter_ID(), get_TrxName()); } + + /** Set Product Parameter. + @param MID_Parameter_ID Product Parameter */ + public void setMID_Parameter_ID (int MID_Parameter_ID) + { + if (MID_Parameter_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_Parameter_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_Parameter_ID, Integer.valueOf(MID_Parameter_ID)); + } + + /** Get Product Parameter. + @return Product Parameter */ + public int getMID_Parameter_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_Parameter_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set No ISO Coa. + @param NoISOCoa No ISO Coa */ + public void setNoISOCoa (String NoISOCoa) + { + set_Value (COLUMNNAME_NoISOCoa, NoISOCoa); + } + + /** Get No ISO Coa. + @return No ISO Coa */ + public String getNoISOCoa () + { + return (String)get_Value(COLUMNNAME_NoISOCoa); + } + + /** Set Parameter Standard. + @param Parameter_Standard Parameter Standard */ + public void setParameter_Standard (String Parameter_Standard) + { + set_Value (COLUMNNAME_Parameter_Standard, Parameter_Standard); + } + + /** Get Parameter Standard. + @return Parameter Standard */ + public String getParameter_Standard () + { + return (String)get_Value(COLUMNNAME_Parameter_Standard); + } + + /** Set Standard Parameter. + @param standardParameter Standard Parameter */ + public void setstandardParameter (String standardParameter) + { + throw new IllegalArgumentException ("standardParameter is virtual column"); } + + /** Get Standard Parameter. + @return Standard Parameter */ + public String getstandardParameter () + { + return (String)get_Value(COLUMNNAME_standardParameter); + } +} \ No newline at end of file diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisPro.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisPro.java new file mode 100644 index 0000000..2aec3fa --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_AnalysisPro.java @@ -0,0 +1,286 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package andromedia.midsuit.model; + +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.model.*; +import org.compiere.util.Env; + +/** Generated Model for MID_AnalysisPro + * @author iDempiere (generated) + * @version Release 5.1 - $Id$ */ +public class X_MID_AnalysisPro extends PO implements I_MID_AnalysisPro, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20180828L; + + /** Standard Constructor */ + public X_MID_AnalysisPro (Properties ctx, int MID_AnalysisPro_ID, String trxName) + { + super (ctx, MID_AnalysisPro_ID, trxName); + /** if (MID_AnalysisPro_ID == 0) + { + setKesimpulan (null); + setMID_Analysis_ID (0); + setMID_AnalysisPro_ID (0); + setM_Product_ID (0); + } */ + } + + /** Load Constructor */ + public X_MID_AnalysisPro (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_MID_AnalysisPro[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set batch_id. + @param batch_id batch_id */ + public void setbatch_id (String batch_id) + { + set_Value (COLUMNNAME_batch_id, batch_id); + } + + /** Get batch_id. + @return batch_id */ + public String getbatch_id () + { + return (String)get_Value(COLUMNNAME_batch_id); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Kesimpulan AD_Reference_ID=30046 */ + public static final int KESIMPULAN_AD_Reference_ID=30046; + /** Diterima = D */ + public static final String KESIMPULAN_Diterima = "D"; + /** Ditolak = R */ + public static final String KESIMPULAN_Ditolak = "R"; + /** Produksi Ulang = RW */ + public static final String KESIMPULAN_ProduksiUlang = "RW"; + /** Set Kesimpulan. + @param Kesimpulan Kesimpulan */ + public void setKesimpulan (String Kesimpulan) + { + + set_Value (COLUMNNAME_Kesimpulan, Kesimpulan); + } + + /** Get Kesimpulan. + @return Kesimpulan */ + public String getKesimpulan () + { + return (String)get_Value(COLUMNNAME_Kesimpulan); + } + + public I_MID_Analysis getMID_Analysis() throws RuntimeException + { + return (I_MID_Analysis)MTable.get(getCtx(), I_MID_Analysis.Table_Name) + .getPO(getMID_Analysis_ID(), get_TrxName()); } + + /** Set Analysis QC. + @param MID_Analysis_ID Analysis QC */ + public void setMID_Analysis_ID (int MID_Analysis_ID) + { + if (MID_Analysis_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_Analysis_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_Analysis_ID, Integer.valueOf(MID_Analysis_ID)); + } + + /** Get Analysis QC. + @return Analysis QC */ + public int getMID_Analysis_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_Analysis_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Analysis QC Product. + @param MID_AnalysisPro_ID Analysis QC Product */ + public void setMID_AnalysisPro_ID (int MID_AnalysisPro_ID) + { + if (MID_AnalysisPro_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_AnalysisPro_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_AnalysisPro_ID, Integer.valueOf(MID_AnalysisPro_ID)); + } + + /** Get Analysis QC Product. + @return Analysis QC Product */ + public int getMID_AnalysisPro_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_AnalysisPro_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set MID_AnalysisPro_UU. + @param MID_AnalysisPro_UU MID_AnalysisPro_UU */ + public void setMID_AnalysisPro_UU (String MID_AnalysisPro_UU) + { + set_ValueNoCheck (COLUMNNAME_MID_AnalysisPro_UU, MID_AnalysisPro_UU); + } + + /** Get MID_AnalysisPro_UU. + @return MID_AnalysisPro_UU */ + public String getMID_AnalysisPro_UU () + { + return (String)get_Value(COLUMNNAME_MID_AnalysisPro_UU); + } + + public org.compiere.model.I_M_InOut getM_InOut() throws RuntimeException + { + return (org.compiere.model.I_M_InOut)MTable.get(getCtx(), org.compiere.model.I_M_InOut.Table_Name) + .getPO(getM_InOut_ID(), get_TrxName()); } + + /** Set Shipment/Receipt. + @param M_InOut_ID + Material Shipment Document + */ + public void setM_InOut_ID (int M_InOut_ID) + { + throw new IllegalArgumentException ("M_InOut_ID is virtual column"); } + + /** Get Shipment/Receipt. + @return Material Shipment Document + */ + public int getM_InOut_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOut_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException + { + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) + .getPO(getM_Product_ID(), get_TrxName()); } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + set_Value (COLUMNNAME_M_Product_ID, null); + else + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_M_Production getM_Production() throws RuntimeException + { + return (org.compiere.model.I_M_Production)MTable.get(getCtx(), org.compiere.model.I_M_Production.Table_Name) + .getPO(getM_Production_ID(), get_TrxName()); } + + /** Set Production. + @param M_Production_ID + Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID) + { + throw new IllegalArgumentException ("M_Production_ID is virtual column"); } + + /** Get Production. + @return Plan for producing a product + */ + public int getM_Production_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Production_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Quantity. + @param Qty + Quantity + */ + public void setQty (BigDecimal Qty) + { + set_Value (COLUMNNAME_Qty, Qty); + } + + /** Get Quantity. + @return Quantity + */ + public BigDecimal getQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Qty); + if (bd == null) + return Env.ZERO; + return bd; + } +} \ No newline at end of file diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Parameter.java b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Parameter.java new file mode 100644 index 0000000..f22e377 --- /dev/null +++ b/andromeida.midsuit.project/src/andromedia/midsuit/model/X_MID_Parameter.java @@ -0,0 +1,202 @@ +/****************************************************************************** + * Product: iDempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package andromedia.midsuit.model; + +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.model.*; + +/** Generated Model for MID_Parameter + * @author iDempiere (generated) + * @version Release 5.1 - $Id$ */ +public class X_MID_Parameter extends PO implements I_MID_Parameter, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20180828L; + + /** Standard Constructor */ + public X_MID_Parameter (Properties ctx, int MID_Parameter_ID, String trxName) + { + super (ctx, MID_Parameter_ID, trxName); + /** if (MID_Parameter_ID == 0) + { + setMID_Parameter_ID (0); + setM_Product_ID (0); + setName (null); + setParameter_Standard (null); + } */ + } + + /** Load Constructor */ + public X_MID_Parameter (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_MID_Parameter[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Comment/Help. + @param Help + Comment or Hint + */ + public void setHelp (String Help) + { + set_Value (COLUMNNAME_Help, Help); + } + + /** Get Comment/Help. + @return Comment or Hint + */ + public String getHelp () + { + return (String)get_Value(COLUMNNAME_Help); + } + + /** Set Product Parameter. + @param MID_Parameter_ID Product Parameter */ + public void setMID_Parameter_ID (int MID_Parameter_ID) + { + if (MID_Parameter_ID < 1) + set_ValueNoCheck (COLUMNNAME_MID_Parameter_ID, null); + else + set_ValueNoCheck (COLUMNNAME_MID_Parameter_ID, Integer.valueOf(MID_Parameter_ID)); + } + + /** Get Product Parameter. + @return Product Parameter */ + public int getMID_Parameter_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MID_Parameter_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set mid_parameter_UU. + @param mid_parameter_UU mid_parameter_UU */ + public void setmid_parameter_UU (String mid_parameter_UU) + { + set_ValueNoCheck (COLUMNNAME_mid_parameter_UU, mid_parameter_UU); + } + + /** Get mid_parameter_UU. + @return mid_parameter_UU */ + public String getmid_parameter_UU () + { + return (String)get_Value(COLUMNNAME_mid_parameter_UU); + } + + public org.compiere.model.I_M_Product getM_Product() throws RuntimeException + { + return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name) + .getPO(getM_Product_ID(), get_TrxName()); } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + set_Value (COLUMNNAME_M_Product_ID, null); + else + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set Parameter Standard. + @param Parameter_Standard Parameter Standard */ + public void setParameter_Standard (String Parameter_Standard) + { + set_Value (COLUMNNAME_Parameter_Standard, Parameter_Standard); + } + + /** Get Parameter Standard. + @return Parameter Standard */ + public String getParameter_Standard () + { + return (String)get_Value(COLUMNNAME_Parameter_Standard); + } +} \ No newline at end of file