Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
9279e90f
Commit
9279e90f
authored
Feb 01, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catalog explanation_uid in stock table
parent
fe9b06e2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
22 deletions
+31
-22
bt5/erp5_calendar/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
...portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
+14
-10
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
...portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
+15
-11
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_stock.xml
...eItem/portal_catalog/erp5_mysql_innodb/z_create_stock.xml
+1
-0
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
+1
-1
No files found.
bt5/erp5_calendar/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
View file @
9279e90f
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
<item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\r\n
<value>
<string>
uid\r\n
getExplanationUid\r\n
getResourceUid\r\n
getResourceUid\r\n
getInventoriatedQuantity\r\n
getInventoriatedQuantity\r\n
getSourceUid\r\n
getSourceUid\r\n
...
@@ -100,6 +101,7 @@ WHERE\n
...
@@ -100,6 +101,7 @@ WHERE\n
<dtml-call
expr=
"row_list.append([\n
<dtml-call
expr=
"row_list.append([\n
uid[loop_item],\n
uid[loop_item],\n
uid_dict[uid[loop_item]],\n
uid_dict[uid[loop_item]],\n
getExplanationUid[loop_item],\n
getDestinationUid[loop_item],\n
getDestinationUid[loop_item],\n
getDestinationSectionUid[loop_item],\n
getDestinationSectionUid[loop_item],\n
getDestinationPaymentUid[loop_item],\n
getDestinationPaymentUid[loop_item],\n
...
@@ -124,6 +126,7 @@ WHERE\n
...
@@ -124,6 +126,7 @@ WHERE\n
<dtml-call
expr=
"row_list.append([\n
<dtml-call
expr=
"row_list.append([\n
uid[loop_item],\n
uid[loop_item],\n
uid_dict[uid[loop_item]],\n
uid_dict[uid[loop_item]],\n
getExplanationUid[loop_item],\n
getSourceUid[loop_item],\n
getSourceUid[loop_item],\n
getSourceSectionUid[loop_item],\n
getSourceSectionUid[loop_item],\n
getSourcePaymentUid[loop_item],\n
getSourcePaymentUid[loop_item],\n
...
@@ -155,24 +158,25 @@ VALUES\n
...
@@ -155,24 +158,25 @@ VALUES\n
(\n
(\n
<dtml-sqlvar
expr=
"row_item[0]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[0]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[1]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[1]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[2]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[2]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[3]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[3]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[4]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[4]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[5]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[5]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[6]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[6]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[7]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[7]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[8]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[8]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[9]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[9]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[10]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[10]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[11]"
type=
"
float"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[11]"
type=
"
int"
>
,\n
<dtml-sqlvar
expr=
"row_item[12]"
type=
"
int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[12]"
type=
"
float"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[13]"
type=
"
datetime"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[13]"
type=
"
int"
>
,\n
<dtml-sqlvar
expr=
"row_item[14]"
type=
"datetime"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[14]"
type=
"datetime"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[15]"
type=
"
float
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[15]"
type=
"
datetime
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[16]"
type=
"
string
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[16]"
type=
"
float
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[17]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[17]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[18]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[18]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[19]"
type=
"string"
optional
>
\n
<dtml-sqlvar
expr=
"row_item[19]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[20]"
type=
"string"
optional
>
\n
)\n
)\n
<dtml-if
sequence-end
><dtml-else>
,
</dtml-if>
\n
<dtml-if
sequence-end
><dtml-else>
,
</dtml-if>
\n
</dtml-in>
\n
</dtml-in>
\n
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
View file @
9279e90f
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
<item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\r\n
<value>
<string>
uid\r\n
getExplanationUid\r\n
getResourceUid\r\n
getResourceUid\r\n
getInventoriatedQuantity\r\n
getInventoriatedQuantity\r\n
getSourceUid\r\n
getSourceUid\r\n
...
@@ -100,6 +101,7 @@ WHERE\n
...
@@ -100,6 +101,7 @@ WHERE\n
<dtml-call
expr=
"row_list.append([\n
<dtml-call
expr=
"row_list.append([\n
uid[loop_item], \n
uid[loop_item], \n
uid_dict[uid[loop_item]],\n
uid_dict[uid[loop_item]],\n
getExplanationUid[loop_item],\n
getDestinationUid[loop_item],\n
getDestinationUid[loop_item],\n
getDestinationSectionUid[loop_item],\n
getDestinationSectionUid[loop_item],\n
getDestinationPaymentUid[loop_item],\n
getDestinationPaymentUid[loop_item],\n
...
@@ -126,6 +128,7 @@ WHERE\n
...
@@ -126,6 +128,7 @@ WHERE\n
<dtml-call
expr=
"row_list.append([\n
<dtml-call
expr=
"row_list.append([\n
uid[loop_item], \n
uid[loop_item], \n
uid_dict[uid[loop_item]],\n
uid_dict[uid[loop_item]],\n
getExplanationUid[loop_item],\n
getSourceUid[loop_item],\n
getSourceUid[loop_item],\n
getSourceSectionUid[loop_item],\n
getSourceSectionUid[loop_item],\n
getSourcePaymentUid[loop_item],\n
getSourcePaymentUid[loop_item],\n
...
@@ -158,26 +161,27 @@ VALUES\n
...
@@ -158,26 +161,27 @@ VALUES\n
(\n
(\n
<dtml-sqlvar
expr=
"row_item[0]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[0]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[1]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[1]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[2]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[2]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[3]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[3]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[4]"
type=
"int"
optional
>
, \n
<dtml-sqlvar
expr=
"row_item[4]"
type=
"int"
optional
>
, \n
<dtml-sqlvar
expr=
"row_item[5]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[5]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[6]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[6]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[7]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[7]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[8]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[8]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[9]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[9]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[10]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[10]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[11]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[11]"
type=
"int"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[12]"
type=
"
float"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[12]"
type=
"
int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[13]"
type=
"
int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[13]"
type=
"
float"
optional
>
,
\n
<dtml-sqlvar
expr=
"row_item[14]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[14]"
type=
"int"
>
,
\n
<dtml-sqlvar
expr=
"row_item[15]"
type=
"
datetime"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[15]"
type=
"
int"
>
,\n
<dtml-sqlvar
expr=
"row_item[16]"
type=
"datetime"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[16]"
type=
"datetime"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[17]"
type=
"
float
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[17]"
type=
"
datetime
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[18]"
type=
"
string
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[18]"
type=
"
float
"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[19]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[19]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[20]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[20]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[21]"
type=
"string"
optional
>
\n
<dtml-sqlvar
expr=
"row_item[21]"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[22]"
type=
"string"
optional
>
\n
)\n
)\n
<dtml-if
sequence-end
><dtml-else>
,
</dtml-if>
\n
<dtml-if
sequence-end
><dtml-else>
,
</dtml-if>
\n
</dtml-in>
\n
</dtml-in>
\n
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_stock.xml
View file @
9279e90f
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
CREATE TABLE `stock` (\n
CREATE TABLE `stock` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n
`uid` BIGINT UNSIGNED NOT NULL,\n
`order_id` TINYINT UNSIGNED NOT NULL,\n
`order_id` TINYINT UNSIGNED NOT NULL,\n
`explanation_uid` BIGINT UNSIGNED,\n
`node_uid` BIGINT UNSIGNED,\n
`node_uid` BIGINT UNSIGNED,\n
`section_uid` BIGINT UNSIGNED,\n
`section_uid` BIGINT UNSIGNED,\n
`payment_uid` BIGINT UNSIGNED,\n
`payment_uid` BIGINT UNSIGNED,\n
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
View file @
9279e90f
243
244
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment