7120-specialPrice #2213

Merged
jgallego merged 4 commits from 7120-specialPrice into dev 2024-03-28 08:01:46 +00:00
Owner
No description provided.
jgallego added 2 commits 2024-03-26 11:08:04 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
c99de95b33
feat: #7120 con tabla temporal
jgallego requested review from carlosap 2024-03-26 11:08:09 +00:00
jgallego added 1 commit 2024-03-26 11:19:05 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
9408b82874
feat: #7120 con esquema
carlosap requested changes 2024-03-26 17:46:22 +00:00
Dismissed
@ -17,1 +16,3 @@
AND clientFk = vClientFk ;
WHERE itemFk = vItemFk
AND (clientFk = vClientFk OR clientFk IS NULL)
AND started <= util.VN_CURDATE()
Member

La columna aunque está declarada NOTNULL, la mayoría de los valores es NULL

La columna aunque está declarada NOTNULL, la mayoría de los valores es NULL
jgallego marked this conversation as resolved
@ -28,0 +32,4 @@
SELECT *
FROM specialPrice
WHERE (clientFk = vClientFk OR clientFk IS NULL)
AND started <= vShipped
Member

La columna aunque está declarada NOTNULL, la mayoría de los valores es NULL

La columna aunque está declarada NOTNULL, la mayoría de los valores es NULL
Author
Owner

si ho mires en php no eren null eren 0000-00-00 pero dbeaver ho mostra com a null. De totes formes he creat un valor per defecte.

si ho mires en php no eren null eren 0000-00-00 pero dbeaver ho mostra com a null. De totes formes he creat un valor per defecte.
jgallego marked this conversation as resolved
@ -0,0 +1,7 @@
ALTER TABLE vn.specialPrice MODIFY COLUMN clientFk int(11) DEFAULT 0 NULL;
ALTER TABLE vn.specialPrice ADD started date NOT NULL;
Member

Hay que actualizar los valores antes de hacer este cambio para que no falle?

Hay que actualizar los valores antes de hacer este cambio para que no falle?
jgallego marked this conversation as resolved
jgallego added 1 commit 2024-03-27 06:20:22 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
2881409b1e
feat: #7120 con fecha por defecto
jgallego requested review from carlosap 2024-03-27 06:22:02 +00:00
carlosap approved these changes 2024-03-27 18:04:32 +00:00
jgallego merged commit 699883182c into dev 2024-03-28 08:01:46 +00:00
jgallego deleted branch 7120-specialPrice 2024-03-28 08:01:46 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#2213
No description provided.