Skip to content

Commit

Permalink
Add support to product
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Dec 13, 2023
1 parent 6657563 commit 68b1220
Show file tree
Hide file tree
Showing 5 changed files with 339 additions and 249 deletions.
16 changes: 8 additions & 8 deletions base/src/org/adempiere/core/domains/models/I_I_Product.java
Original file line number Diff line number Diff line change
Expand Up @@ -679,38 +679,38 @@ public interface I_I_Product
/** Set Shelf Depth.
* Shelf depth required
*/
public void setShelfDepth (int ShelfDepth);
public void setShelfDepth (BigDecimal ShelfDepth);

/** Get Shelf Depth.
* Shelf depth required
*/
public int getShelfDepth();
public BigDecimal getShelfDepth();

/** Column name ShelfHeight */
public static final String COLUMNNAME_ShelfHeight = "ShelfHeight";

/** Set Shelf Height.
* Shelf height required
*/
public void setShelfHeight (int ShelfHeight);
public void setShelfHeight (BigDecimal ShelfHeight);

/** Get Shelf Height.
* Shelf height required
*/
public int getShelfHeight();
public BigDecimal getShelfHeight();

/** Column name ShelfWidth */
public static final String COLUMNNAME_ShelfWidth = "ShelfWidth";

/** Set Shelf Width.
* Shelf width required
*/
public void setShelfWidth (int ShelfWidth);
public void setShelfWidth (BigDecimal ShelfWidth);

/** Get Shelf Width.
* Shelf width required
*/
public int getShelfWidth();
public BigDecimal getShelfWidth();

/** Column name SKU */
public static final String COLUMNNAME_SKU = "SKU";
Expand Down Expand Up @@ -838,12 +838,12 @@ public interface I_I_Product
/** Set Weight.
* Weight of a product
*/
public void setWeight (int Weight);
public void setWeight (BigDecimal Weight);

/** Get Weight.
* Weight of a product
*/
public int getWeight();
public BigDecimal getWeight();

/** Column name X12DE355 */
public static final String COLUMNNAME_X12DE355 = "X12DE355";
Expand Down
178 changes: 89 additions & 89 deletions base/src/org/adempiere/core/domains/models/I_M_Product.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,61 @@ public interface I_M_Product
*/
public int getAD_Org_ID();

/** Column name Classification */
public static final String COLUMNNAME_Classification = "Classification";

/** Set Classification.
* Classification for grouping
*/
public void setClassification (String Classification);

/** Get Classification.
* Classification for grouping
*/
public String getClassification();

/** Column name CopyFrom */
public static final String COLUMNNAME_CopyFrom = "CopyFrom";

/** Set Copy From.
* Copy From Record
*/
public void setCopyFrom (String CopyFrom);

/** Get Copy From.
* Copy From Record
*/
public String getCopyFrom();

/** Column name CostStandard */
public static final String COLUMNNAME_CostStandard = "CostStandard";

/** Set Standard Cost.
* Standard Costs
*/
public void setCostStandard (BigDecimal CostStandard);

/** Get Standard Cost.
* Standard Costs
*/
public BigDecimal getCostStandard();

/** 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 C_RevenueRecognition_ID */
public static final String COLUMNNAME_C_RevenueRecognition_ID = "C_RevenueRecognition_ID";

Expand Down Expand Up @@ -139,61 +194,6 @@ public interface I_M_Product

public org.adempiere.core.domains.models.I_C_UOM getC_UOM() throws RuntimeException;

/** Column name Classification */
public static final String COLUMNNAME_Classification = "Classification";

/** Set Classification.
* Classification for grouping
*/
public void setClassification (String Classification);

/** Get Classification.
* Classification for grouping
*/
public String getClassification();

/** Column name CopyFrom */
public static final String COLUMNNAME_CopyFrom = "CopyFrom";

/** Set Copy From.
* Copy From Record
*/
public void setCopyFrom (String CopyFrom);

/** Get Copy From.
* Copy From Record
*/
public String getCopyFrom();

/** Column name CostStandard */
public static final String COLUMNNAME_CostStandard = "CostStandard";

/** Set Standard Cost.
* Standard Costs
*/
public void setCostStandard (BigDecimal CostStandard);

/** Get Standard Cost.
* Standard Costs
*/
public BigDecimal getCostStandard();

/** 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";

Expand Down Expand Up @@ -794,36 +794,6 @@ public interface I_M_Product

public org.adempiere.core.domains.models.I_R_MailText getR_MailText() throws RuntimeException;

/** Column name S_ExpenseType_ID */
public static final String COLUMNNAME_S_ExpenseType_ID = "S_ExpenseType_ID";

/** Set Expense Type.
* Expense report type
*/
public void setS_ExpenseType_ID (int S_ExpenseType_ID);

/** Get Expense Type.
* Expense report type
*/
public int getS_ExpenseType_ID();

public org.adempiere.core.domains.models.I_S_ExpenseType getS_ExpenseType() throws RuntimeException;

/** Column name S_Resource_ID */
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";

/** Set Resource.
* Resource
*/
public void setS_Resource_ID (int S_Resource_ID);

/** Get Resource.
* Resource
*/
public int getS_Resource_ID();

public org.adempiere.core.domains.models.I_S_Resource getS_Resource() throws RuntimeException;

/** Column name SalesRep_ID */
public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID";

Expand All @@ -839,18 +809,33 @@ public interface I_M_Product

public org.adempiere.core.domains.models.I_AD_User getSalesRep() throws RuntimeException;

/** Column name S_ExpenseType_ID */
public static final String COLUMNNAME_S_ExpenseType_ID = "S_ExpenseType_ID";

/** Set Expense Type.
* Expense report type
*/
public void setS_ExpenseType_ID (int S_ExpenseType_ID);

/** Get Expense Type.
* Expense report type
*/
public int getS_ExpenseType_ID();

public org.adempiere.core.domains.models.I_S_ExpenseType getS_ExpenseType() throws RuntimeException;

/** Column name ShelfDepth */
public static final String COLUMNNAME_ShelfDepth = "ShelfDepth";

/** Set Shelf Depth.
* Shelf depth required
*/
public void setShelfDepth (int ShelfDepth);
public void setShelfDepth (BigDecimal ShelfDepth);

/** Get Shelf Depth.
* Shelf depth required
*/
public int getShelfDepth();
public BigDecimal getShelfDepth();

/** Column name ShelfHeight */
public static final String COLUMNNAME_ShelfHeight = "ShelfHeight";
Expand All @@ -871,12 +856,12 @@ public interface I_M_Product
/** Set Shelf Width.
* Shelf width required
*/
public void setShelfWidth (int ShelfWidth);
public void setShelfWidth (BigDecimal ShelfWidth);

/** Get Shelf Width.
* Shelf width required
*/
public int getShelfWidth();
public BigDecimal getShelfWidth();

/** Column name SKU */
public static final String COLUMNNAME_SKU = "SKU";
Expand All @@ -891,6 +876,21 @@ public interface I_M_Product
*/
public String getSKU();

/** Column name S_Resource_ID */
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";

/** Set Resource.
* Resource
*/
public void setS_Resource_ID (int S_Resource_ID);

/** Get Resource.
* Resource
*/
public int getS_Resource_ID();

public org.adempiere.core.domains.models.I_S_Resource getS_Resource() throws RuntimeException;

/** Column name UnitsPerPack */
public static final String COLUMNNAME_UnitsPerPack = "UnitsPerPack";

Expand Down
Loading

0 comments on commit 68b1220

Please sign in to comment.