feat: refs #8190 entry_getCommission #3207
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#3207
Loading…
Reference in New Issue
No description provided.
Delete Branch "8190-entry_getCommission"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
feat: refs #8190 entry_getCommissionto WIP: feat: refs #8190 entry_getCommissionWIP: feat: refs #8190 entry_getCommissionto feat: refs #8190 entry_getCommission@ -11,6 +11,7 @@ BEGIN
DECLARE vCurrentCommission INT;
DECLARE vIsNotEUR INT;
DECLARE vLastEntryFk INT;
DECLARE vTravelFkLanded INT;
vLanded
@ -33,2 +37,2 @@
ORDER BY tr.landed DESC
LIMIT 1;
WHERE e.supplierFk = vSupplierFk
ORDER BY (vTravelFkLanded <= tr.landed) ASC, tr.landed DESC
per defecte ja es ASC