product api
This commit is contained in:
@@ -325,7 +325,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.unicenta</groupId>
|
<groupId>com.unicenta</groupId>
|
||||||
<artifactId>unicenta-plugins</artifactId>
|
<artifactId>unicenta-plugins</artifactId>
|
||||||
<version>1.2.4</version>
|
<version>1.2.5-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.gluonhq</groupId>
|
<groupId>com.gluonhq</groupId>
|
||||||
|
|||||||
@@ -487,7 +487,7 @@ public final class ProductsEditor extends javax.swing.JPanel implements EditorRe
|
|||||||
myprod[28] = m_UomModel.getSelectedKey();
|
myprod[28] = m_UomModel.getSelectedKey();
|
||||||
myprod[29] = Formats.TIMESTAMP.parseValue(m_jdate.getText());
|
myprod[29] = Formats.TIMESTAMP.parseValue(m_jdate.getText());
|
||||||
|
|
||||||
myprod[30] = m_jInCatalog.isSelected();
|
myprod [30] = m_jInCatalog.isSelected();
|
||||||
myprod[31] = Formats.INT.parseValue(m_jCatalogOrder.getText());
|
myprod[31] = Formats.INT.parseValue(m_jCatalogOrder.getText());
|
||||||
|
|
||||||
if (m_jName.getText().contains("&")) {
|
if (m_jName.getText().contains("&")) {
|
||||||
|
|||||||
@@ -378,7 +378,38 @@ public class ProductInfoExt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final String toString() {
|
public String toString() {
|
||||||
return m_sRef + " - " + m_sName;
|
return "ProductInfoExt{" +
|
||||||
|
"m_ID='" + m_ID + '\'' +
|
||||||
|
", m_sRef='" + m_sRef + '\'' +
|
||||||
|
", m_sCode='" + m_sCode + '\'' +
|
||||||
|
", m_sCodetype='" + m_sCodetype + '\'' +
|
||||||
|
", m_sName='" + m_sName + '\'' +
|
||||||
|
", m_dPriceBuy=" + m_dPriceBuy +
|
||||||
|
", m_dPriceSell=" + m_dPriceSell +
|
||||||
|
", categoryid='" + categoryid + '\'' +
|
||||||
|
", taxcategoryid='" + taxcategoryid + '\'' +
|
||||||
|
", attributesetid='" + attributesetid + '\'' +
|
||||||
|
", m_stockCost=" + m_stockCost +
|
||||||
|
", m_stockVolume=" + m_stockVolume +
|
||||||
|
", m_Image=" + m_Image +
|
||||||
|
", m_bCom=" + m_bCom +
|
||||||
|
", m_bScale=" + m_bScale +
|
||||||
|
", m_bConstant=" + m_bConstant +
|
||||||
|
", m_bPrintKB=" + m_bPrintKB +
|
||||||
|
", m_bSendStatus=" + m_bSendStatus +
|
||||||
|
", m_bService=" + m_bService +
|
||||||
|
", attributes=" + attributes +
|
||||||
|
", m_sDisplay='" + m_sDisplay + '\'' +
|
||||||
|
", m_bVprice=" + m_bVprice +
|
||||||
|
", m_bVerpatrib=" + m_bVerpatrib +
|
||||||
|
", m_sTextTip='" + m_sTextTip + '\'' +
|
||||||
|
", m_bWarranty=" + m_bWarranty +
|
||||||
|
", m_dStockUnits=" + m_dStockUnits +
|
||||||
|
", m_sPrinter='" + m_sPrinter + '\'' +
|
||||||
|
", supplierid='" + supplierid + '\'' +
|
||||||
|
", uomid='" + uomid + '\'' +
|
||||||
|
", memodate='" + memodate + '\'' +
|
||||||
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -336,7 +336,7 @@ CREATE TABLE `products` (
|
|||||||
`stockunits` double NOT NULL default '0',
|
`stockunits` double NOT NULL default '0',
|
||||||
`printto` varchar(255) default '1',
|
`printto` varchar(255) default '1',
|
||||||
`supplier` varchar(255) default NULL,
|
`supplier` varchar(255) default NULL,
|
||||||
`uom` varchar(255) default '0',
|
`uom` varchar(255) default '0',
|
||||||
`memodate` datetime default '2018-01-01 00:00:01',
|
`memodate` datetime default '2018-01-01 00:00:01',
|
||||||
|
|
||||||
PRIMARY KEY ( `id` ),
|
PRIMARY KEY ( `id` ),
|
||||||
|
|||||||
Reference in New Issue
Block a user