Sorting with BINS
Hello people,
My problem is the following:
I have 2 columns: C1 and C2.
The C1 I filter and sort with case.
The C2 I didn't filter but I use BINS... like, if C2 is something group this in "Others"
Now, I need to sort this C2, but is not too simple like C1. I'll try to show why:
TEXT 1 ---------------------------------------
C1 C2
C1 C2
C1 C2
C1 C2
TEXT 2 ---------------------------------------
C1 C2
C1 C2
C1 C2
When I told that I sort C1 with case, is simple, because C1 is not depending to TEXT 1 or TEXT 2.
C2 is different because depends to TEXT 1 and TEXT 2, and besides this when I sort, the group "Others" appears more than 1 time like as the attributes are:
If a group cat, dog and bird in "Others" and sort this, didn't sort the Others one time, appears Others 3 times (Trying to sort cat, dog and bird inside Others).
Someone has a idea of what I can do with this problem ?
Tks in advance.
I have this attributes :
Manifest, Motive1, Motive2
Values for Manifest: Satisfaction, Reclamation, Idea, ...
Values for Motive1: Package, Product, Marketing, ...
Values for Motive2: Mould, Melt, Staning, General, Perfomance, Composition, ...
Before BIN, i have:
Manifest: Reclamation
Motive1: Package Motive2: Perfomance
Motive1: Package Motive2: Composition
Motive1: Package Motive2: General
Motive1: Product Motive2: Mould
Motive1: Marketing Motive2: General
Manifest: Satisfaction
Motive1: Package Motive2: Composition
Motive1: Package Motive2: Perfomance
Motive1: Product Motive2: Melt
After BIN, i have: -- Grouping what I need.
Manifest: Reclamation
Motive1: Package Motive2: Perfomance
Motive1: Package Motive2: Others
Motive1: Product Motive2: Mould
Motive1: Marketing Motive2: General
Manifest: Satisfaction
Motive1: Package Motive2: General
Motive1: Product Motive2: Melt
Now, I have to sort this pivot, but I don't know why. When I try to sort (like perfomance 1 and others 2 marketing 3 product 4 product melt 1 package general 1) I got this:
Manifest: Reclamation
Motive1: Package Motive2: Perfomance
Motive1: Package Motive2: Others
Motive1: Package Motive2: Others
Motive1: Marketing Motive2: General
Motive1: Product Motive2: Mould
Manifest: Satisfaction
Motive1: Product Motive2: Melt
Motive1: Package Motive2: General
Motive1: Package Motive2: General
I don't know why, but the BIN didn't sort, they sort ''thinking'' in the things inside the BIN.
I need to sort this and if possible, without case (to expensive to maintenance..)
If still unclear, tell pls.
Tks !
Similar Messages
-
Sort Preset Bin by Name?
Am I missing something? I've searched the net for this and can not find a way to sort preset bins by name or other. I must be missing somthing. When i add a preset to a custom bin it just goes in random order and that makes it hard to locate and not mix up presets with similar but different names.
Thanks for the help.
CliffI don't think you can do a sort like you want. But, you can click and drag a present up or down to change its position
-
I am trying to print TO sorted by bin number and then by material number. I guess I can sort TO output by bin etc only if I am creating TO using multiple processing function. Second option I tried using ""sort profile for TO split" but that didn't work either...may be because I am using split profile but not splitting.
Can anybody throw some light on this...
Thanks!Hi,
You can maintain this sort profile in WM Customizing under Activities --> Transfers --> Processing Performance Data / TO Split --> Define Profiles' and assign it to a profile for the TO split (refer to note 388828).
Here are the steps:-
1. Create "Sort profile for TO splitting" (this is the place where you defined how TO items should be sorted).
2. Create "Profile for Transfer Order Splitting" and assign sort file created in step 1 to the split profile.
3. Go to "Control for Performance Data Processing / Define TO Split" and select "Performance data control". Assign split profile defined in step 2 to movement types as per your wish.
TO with movement type defined in step 3 should then be sorted according to sort profile defined in step 2 when it is created.
Please also be noted that sort profiles defined in OMLV are only for multiple processing (print of pick lists). During normal transfer order printing, sorting is always made according to TO item as of Release 4.0 (refer to note 556016). -
Create a delivery note with bin locations and batch numbers
Hello everyone,
when sending this message to my b1if scenario i am receiving this error (which says nothing):
Exception : DI Error: (-2010) Internal error (-2010) occurred
This error only occurs when using a warehouse with bin locations. For regular warehouses it works when leaving the <DocumentLinesBinAllocations> away.
What could cause this issue? Just for clarfying: UOMEntry Nr. 2 means that the sales unit contains 5kg of a product.
I would greatly appreciate any help.
Best regards
Simon
<CreateDelivery>
<Documents>
<row>
<CardCode>K100002</CardCode>
<DocDate>04.02.2015</DocDate>
<DocDueDate>04.02.2015</DocDueDate>
<DocNum>200048</DocNum>
</row>
</Documents>
<DocumentLines>
<row>
<DocEntry>62</DocEntry>
<LineNum>1</LineNum>
<BaseLine>1</BaseLine>
<ItemCode>8705</ItemCode>
<Quantity>1</Quantity>
<UoMEntry>2</UoMEntry>
<WarehouseCode>SB</WarehouseCode>
</row>
</DocumentLines>
<BatchNumbers>
<row>
<BatchNumber>20150701</BatchNumber>
<ExpiryDate>07.07.2015</ExpiryDate>
<Quantity>5</Quantity>
<BaseLineNumber>1</BaseLineNumber>
</row>
</BatchNumbers>
<DocumentLinesBinAllocations>
<row>
<BinAbsEntry>4</BinAbsEntry>
<Quantity>5</Quantity>
<BaseLineNumber>1</BaseLineNumber>
<AllowNegativeQuantity>N</AllowNegativeQuantity>
<SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>
</row>
</DocumentLinesBinAllocations>
</CreateDelivery>Hi Pablo,
based on the code from the other thread it should be like that for the first row:
delivery.Lines.ItemCode = "ID200";
delivery.Lines.Quantity = 15;
delivery.Lines.BinAllocations.BinAbsEntry = 3107; // guessed AbsEntry
delivery.Lines.BinAllocations.Quantity = 10;
delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 0;
delivery.Lines.BinAllocations.Add();
delivery.Lines.BinAllocations.BinAbsEntry = 3108;
delivery.Lines.BinAllocations.Quantity = 5;
delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 1;
delivery.Lines.BatchNumbers.Location = "02-A";
delivery.Lines.BatchNumbers.BatchNumber = "XY";
delivery.Lines.BatchNumbers.Quantity = 10;
delivery.Lines.BatchNumbers.Add();
delivery.Lines.BatchNumbers.Location = "02-B";
delivery.Lines.BatchNumbers.BatchNumber = "YY";
delivery.Lines.BatchNumbers.Quantity = 5;
You got now :
1 Delivery Row, Quantity 15
2 BinLoc Rows, Quantity 10+5
2 Batch Rows, Quantity 10+5
regards,
Maik -
A simple question about wrong sorting with multiple sort columns in Excel 2010
Hi, everyone! I have encountered a problem that I don't know how to explain.
So I post it here because I don't know if there is another more relevant forum...
I have a data sheet with the students' scores for the course.
All the data were generated with the randbetween function,
and pasted with the values.
To rank the students by their performance,
I did the sort with the column "total score" as the first sort-column
and "final term" as the second.
The weird thing to me is that the order of the data seems problematic.
That is, all the rows are sorted correctly with the first sort-column.
But for the rows with the same values of the first sort-column,
there are some rows whose values of the second sort-column are out of order.
(please look at the data file at
www_dot_kuaipan_dot_cn/file/id_67204268108546068_dot_htm
Please change the "_dot_" to the real literal dot.
Especially the rows with 56.7 as the first sort-column value
and some other values near the tail of the list.)
I tried to manually input and sort the same values of both columns
in a near-by region. The result was correct.
When some friend copied all the data to paste in Notepad,
and reload them in excel. The problem disappears.
Some friend also tried to wrap a round function at the values of the 1st sort-column,
the sorting order became correct!
But they could not explain why either.
How confusing! I even tried to swap the first and secod sort-column;
the output was right.
All the data were generated by randbetween function and pasted with values.
Where could all the special characters, if any, come?
Can anyone give me an explanation? I would be very grateful.
Thanks in advance!Re: Sort is not in proper order
Sounds as if the data includes spaces or hidden characters that are affecting the sort.
That is indicated by the fact that manually entering the data resolves the problem.
Note: You can use a public file storage website to hold your file and add the link to it in your post.
Jim Cone
Portland, Oregon USA
Special Sort excel add-in (30+ ways to sort) - 3 week no obligation trial
https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2 -
Sorting with nulls last on the fact column
anybody tell me how to do the sorting with nulls last in the template? i can't change anything in data model or anywhere other than template.
i did try to put the descending order,but null values are coming in between positive and negative values.
<?sort:FACT_Column_Name;'decending';data-type='number'?>
could anyone please tell me how can i do that in template?
Thanks in advance.
Edited by: user12255470 on Apr 12, 2012 5:29 PMHi to all,
i've solved, is very simple using decode inside the select:
SELECT
ID,
FK_HTMLDB_ITEM, DECODE(FK_HTMLDB_ITEM,1,HTMLDB_ITEM.DATE_POPUP(3,rownum,VAL,'dd-mon-yyyy'),2,HTMLDB_ITEM.TEXT(3,VAL)) VALORE
FROM TESTID
my table is:
CREATE TABLE "DEV"."TESTID"
( "ID" NUMBER NOT NULL ENABLE,
"FK_HTMLDB_ITEM" NUMBER,
"VAL" VARCHAR2(4000 BYTE))
Bye Bye -
Sorting of bins by using WM movement types
Hello,
I want to have my sorting of bins in descending order when am using the movement type 999. For example, i have bins which name are 11, 12 and 13. When i used the WM movement Type 999, i want my TO created will trigger the bins in order of starting to 13, 12 and 11. where could exactly i need to define that given that the movement type 999 settings is blank data for source and destination source bin is blank.
thanks in advance!!
trekHello John,
The print code is the same for the movement types that i have used, it is 21.For the sort profile TO processing configurations, we have a standard data that we have followed for all the warehouses.Are there any ways where i could set the sorting of bins in decreasing or ascending depending on the movement types that i will used?
Thanks in advance! -
Need Inventory transfer query with bIn location information
Dear Team,
Please help me to create the query for inventory transfers with bin location information.
WTR19 field is empty so that i have checked with tables OINM,OILM,OBTL
But how can i link this tables..?
Regards
Sanu.Dear AndakondaRamudu,
In the mentioned link i had already checked .I need the item movement bin transactions report inventory transfer using a parameter with UDF..
Regards
Ajith -
Hi,
I am using Oracle 10.2 and am experiencing an issue that doing some operations on existing tables, some temporary tables are getting created starting with BIN$.
For ex: BIN$HULdSlmnRZmbCXAl/pkA9w==$0
But I dont see these tables in the database after two or three days. I found that these temporary tables are a replica of existing tables and these contain only the table structure but not the data. I even not able to drop them from database.
Can anyone throw some pointers on this?
Thanks and Regards,
SivaThese tables are in the Oracle recycle bin. When you drop a table, Oracle just renames it to BIN$xxx so that you can undrop the table if you made a mistake.
- You can ignore tables in the recycle bin if you would like. Oracle will automatically purge them when it needs the space.
- You can prevent a table from going in to the recycle bin by adding the purge command to the drop, i.e.
DROP TABLE table_name PURGE- You can empty out the recycle bin using the command
SQL> purge dba_recyclebin(or just recyclebin if you only want to clear out the objects you own from the recyclebin).
Justin -
Dynamic SORT with multiple components
Hi all,
I want to sort an internal table in this way:
SORT itab BY (component).
This is not difficult if "component" contains the name of ONE column of itab. But - and here is my problem - how can I sort with multiple components?
Like this:
SORT itab BY (comp_1) (comp_2) ... (comp_N).
The number of components (N) shall be flexible. It is not possible to concatenate the components into one string-variable. This causes an error ITAB_ILLEGAL_COMPONENT.
Brillant would be a solution which also contains the sort-direction (ASCENDING or DESCENDING for each component like this:
SORT itab BY (comp_1) (dir_1)
(comp_2) (dir_2)
(comp_N) (dir_N).
Is there a way to do so?
Thanks for all hints!
MathiasHi Matahias ...
From ABAP help...
SORT itab.
Extras:
1. ... BY f1 f2 ... fn
2. ... ASCENDING
3. ... DESCENDING
4. ... AS TEXT
5. ... STABLE
The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Field symbols not allowed as sort criterion.
Effect
The entries in the internal table are sorted in ascending order using the key from the table definition (DATA, TYPES).
Addition 1
... BY f1 f2 ... fn
Effect
Uses the sort key defined by the sub-fields f1, f2, ..., fn of the table itab instead of the table key. The fields can be of any type; even number fields and tables are allowed.
You can also specify the sort fields dynamically in the form (name). If name is blank at run time, the sort field is ignored. If itab is a table with a header line, you can also use a field symbol pointing to the header line of itab as a dynamic sort criterion. A field symbol that is not assigned is ignored. If a field symbol is assigned, but does not point to the header line of the internal table, a runtime error occurs.
If the line type of the internal table contains object reference variables as components, or the entire line type is a reference variable, you can use the attributes of the object to which a reference is pointing in a line as sort criteria (see Attributes of Objects as the Key of an Internal Table
You can address the entire line of an internal table as the key using the pseudocomponent TABLE_LINE. This is particularly relevant for tables with a non-structured line type when you want to address the whole line as the key of the table (see also Pseudocomponent TABLE_LINE With Internal Tables).
If you use one of the additions 2 to 5 before BY, it applies to all fields of the sort key by default. You can also specify these additions after each individual sort field f1, f2, ..., fn. For each key field, this defines an individual sort rule which overrides the default.
Cheers
Preetham -
Add Bins to a warehouse already set up with bins
Hi
We have SAP 8.81 and Inventory Pro add on with bin locations
We have had the bin locations set up since the start, but now we would like to add new bin locations to one of the warehouses. Can we do this?
I think this is Inventory Pro functionality and not standard SAP
Thanks
VickyHi,
As the add-on was used to create the Add-on which is a third party add-on, it is better to contact the Third Party add-on provider for the help regarding anything which you require.
Also, Version 9.0 provides with the Bin Location feature in the application itself. You can check the documentation on the same available on the Service Market Place using your S-user ID and Password.
Kind Regards,
Jitin
SAP Business One Forum Team -
LOV sorting with upper and lower case
In a dynamic table, I have the following values:
aaxyz
ABC
Abd
ACE
Adf
AEG
But when I create the LOV, it sorts
ABC
ACE
AEG
Abd
Adf
aaxyz
Is there any way to sort a LOV as if case does doesn't matter?Except the values in the dynamic table are sometimes acronyms which should be upper case and sometimes not.
For example:
eDiscovery
False Alarm
FBI
Federal Department
where the list sorts:
FBI
False Alarm
Federal Department
eDiscovery
The issue is that the list of values is large (over 100 items) and sometimes the item the user is interested in is sorted below all the initial upper case letter (in the case of the eDiscovery element). It needs to sort with the "E" but not be upper case.
Thanx! -
DataFormWebPart: Sorting with Last modified bug
I have created a DataFormWebPart with SPD2013. In my DataFormWebPart, I sort the table by Modifed column. The column is display with follow format:
<xsl:value-of select="ddwrt:FormatDate(string(@Modified), 2057, 5)"/>
However, when sorting with descending order. The time at 12:xx is at higher proirity:
24/04/2015 12:44
24/04/2015 12:25
24/04/2015 17:18
24/04/2015 16:55
24/04/2015 15:52
Why is that? Can we fix it? Thank you.Thank you for your reply. I have done more test. When I press F5 to refresh the page, the sorting order is correct. However when click on the column header to sort the order is incorrect.
There are only two sentense start with <xsl:sort
<xsl:sort select="*[name() = $dvt_sortfield] | @*[name() = $dvt_sortfield] | text()[name(ancestor::*[1]) = $dvt_sortfield]" order="{$dvt_sortdir}" data-type="{$dvt_sorttype}" />
<xsl:sort select="ddwrt:FormatDate(string(@Modified),2057,5)" order="descending" />
and here is part of column with wrong order when clicking the header:
<xsl:call-template name="dvt.headerfield" ddwrt:atomic="1" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime">
<xsl:with-param name="fieldname">@Modified</xsl:with-param>
<xsl:with-param name="fieldtitle">修改時間</xsl:with-param>
<xsl:with-param name="displayname">修改時間</xsl:with-param>
<xsl:with-param name="sortable">1</xsl:with-param>
<xsl:with-param name="fieldtype">x:dateTime</xsl:with-param>
</xsl:call-template>
Here is how the sorting looks like:
24/04/2015 15:52
24/04/2015 16:55
24/04/2015 12:44
27/04/2015 13:49
27/04/2015 13:53 -
Sorting with Diacritic characters
Hi,
While implementing sorting in Endeca search we came across a scenario where the sorting should include diacritic characters. Taking the example of Polish, there are characters like *"A"* and *"Ą"* starting for the product names. When we sort with the product name (A-Z sort), we had seen that the records starting with *"Ą"* are retrieved at the end. In fact the expected behavior being it should follow after the names starting with *"A"*. Please let me know if anyone has come across similar behavior and the fix made for it.
The endeca version being used is 6.1.3 and the language used is Polish.You need to add --lang pl-u-co-standard to the dgidx and dgraph components (in ./config/script/AppConfig.xml). By default Endeca sorts using endeca collation which "sorts text with lower case before upper case and does not account for character accents and punctuation." Standard collation sorts data "according to the International Components for Unicode (ICU) standard for the language you specify". See http://docs.oracle.com/cd/E35641_01/MDEX.621/pdf/AdvDevGuide.pdf , Chapter "Using Internationalized Data" for further details.
If by 6.1.3 you mean MDEX 6.1.3 (as opposed to Platform Services) I'm not sure this sorting was available then, you would need to check the chapter listed above in the MDEX 6.1.3 documentation. -
my computer is all out of sort with the color and it is in like a negitative effect that i cannot seem to fix. How do i fix it?
Try System Preferences>Universal Access>Seeing>Display. See if White on Black' has been selected.
If so, select 'Black on White'.
Ciao.
Message was edited by: OGELTHORPE
Maybe you are looking for
-
Hi, I have a requirement, where client is creating a custom sales order form and my task is to write a package to book, delete and change sales order when the user presses button in the front end. The custom form calls my package when book order is p
-
How can I backup all of the texts on my iPhone to iMessage on my Mac?
I want to transfer every text on my iPhone, since the beginning of time, onto my Mac in an easily synced and accessible way. I want to use iMessage on my Mac to store all of the texts on my phone. Eventually, I want to hold only a month/week's worth
-
XTerm colours screwed up after upgrade.
After a system upgrade back on Sunday, xterm always starts up with black text on a black background. I just tried running it from another terminal instead of via KRunner, and I got the following warnings: Warning: Color name "WINDOW_BACKGROUND" is no
-
Subtracting sysdate from parameter
All, I need to have user input parameter value. for example i want to restrict query based on input parameter. I have created a paramter as old_report where user would enter number of days they want to go back and see reports for. So my where conditi
-
Does this unit come with a default website that allows a username/password to access the WiFi? Example, a user comes in and sees the SSID and connects. When he gets on the web, he's presented with a screen for a username and password. Once he gets pa