Comments (4)
@cielf I'm looking at this and in some of my test data was a bit surprised. For some reason I thought that this was supposed to (even before this change) have a column for every item from the org. But instead it has a column for every item for the exported requests. Is that what you expected too?
In which case if someone is exporting requests which have ONLY used "Adult Briefs (Small/Medium) (Packs)" then that is the only item column that would get exported, right? It wouldn't export the POSSIBLE units, only the ones that are used in any of the exported requests. That's what the code is leading to based on current behavior, but thought I'd check.
from human-essentials.
Or now that I'm reading the description again, it would be that if the item was used on ANY of the exported requests, go ahead and include a column for ALL of the units. In which case, I should include the implicit "Unit" unit too, right?
from human-essentials.
@cielf I'm looking at this and in some of my test data was a bit surprised. For some reason I thought that this was supposed to (even before this change) have a column for every item from the org. But instead it has a column for every item for the exported requests. Is that what you expected too?
In which case if someone is exporting requests which have ONLY used "Adult Briefs (Small/Medium) (Packs)" then that is the only item column that would get exported, right? It wouldn't export the POSSIBLE units, only the ones that are used in any of the exported requests. That's what the code is leading to based on current behavior, but thought I'd check.
The question of whether should all the items on the org be included? The easy answer would be yes, but/and a certain number of the items are not visible to partners, so I'm not so sure that it would be useful across the board(I know of one bank that only offers their assembled kits to the partners for direct request).
We could, perhaps, make it all items that are visible to partners -- that would, at least, be more stable under filtering -- but I'd wonder about whether we have banks that take things out of visibility to the partners when they no longer have a reliable supply of them. It's out of scope for this change in any case.
But I want to muse about this. Maybe ask the stakeholder circle for input on Wednesday.
from human-essentials.
Or now that I'm reading the description again, it would be that if the item was used on ANY of the exported requests, go ahead and include a column for ALL of the units. In which case, I should include the implicit "Unit" unit too, right?
Short answer -- I think yes (though my ultimate reason for thinking so is stability, informed by the discussion above) But also -- what if they delete a unit (which they can, right?) . There could be item requests using that unit -- so we would need to make sure those are included.
Edge cases, man.
from human-essentials.
Related Issues (20)
- add quota to partner on seed HOT 3
- Better wording on partner request sent page HOT 2
- [BUG]: Protect against mixed units during partner placing request
- Filtering on distribution -- specifically by item category -- the totals are not filtering properly (Judi, stakeholder 20240808) HOT 5
- when scanning a new barcode item, the item name doesn't correctly show up
- Distribution export -- item columns are no longer in alphbetical order. Fix it. HOT 5
- Should be able to select items for audit that have 0 inventory. HOT 7
- All dropdown lists should be in human alphabetical order HOT 4
- Restore "reset password" capability -- banks to reset password for partners. HOT 2
- Invite and Approve single step HOT 4
- On distribution, state should be status HOT 3
- Distribution with Units from Request - UX Improvement HOT 7
- [PACKS] item units for new requests should not be set initally. HOT 2
- Fix behaviour with errors on Distribution HOT 5
- New Purchase -- purchase total is mandatory, so it should have a star on it. HOT 2
- Add text on confirming audit that the audit must be finalized for it to take effect. HOT 2
- Add ability to remove (empty) partner groups HOT 3
- Comment is missing from purchase details HOT 2
- Move product drives menu items under Community HOT 3
- Write down "unit" as the default unit type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from human-essentials.