Triggering an event with more than one item.

Hello there,
I've written an addon, part of which populates a UDF on the Validate event of the ItemCode Cell of the matrix on the Sales Order form.
Although this works fine when the user inputs a single item, if the user selects multiple items from the 'List of Items' list, as each item is added to the Sales Order, the addon's event is only called for the first item added, even though I'm sure all of the items must be validated as they are put into the matrix - does anyone know why it wouldn't run the event for each indivdual item ?
Is there a way I can capture the data as it's moved from the list to the matrix ?.. or something..?

Hello,
You can use the et_CHOOSE_FROM_LIST event in any case!
Even when the user just enters the ItemCode it is getting fired..
Check-out SDK Sample "C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\17.ChooseFromList"
Regards,
Frank

Similar Messages

  • HT1040 Is there a way to place an order with more than one item at a time? For example I am going to make a few books and have them all shipped to me.  Do I have to order and pay shipping for each one individually?

    Is there a way to place an order with more than one item at a time?  for example I am making a few books and having them all shipped to me.  Do I have to order each one separately and pay shipping each time?

    You have to order each book separately, if the books are different. Only multiple copies of the same book can be ordered in the same order, see here
    Regards
    Léonie

  • Can't add a goods-issue with more than one item and one is serial managed.

    Hi,
    We are trying to issue more than one item to a production order using the DI API.  If none of the items is serial managed, they all are accepted and the goods-issue Add is successful.  If one the items is batch-managed, the goods-issue Add is also successful.  I am able to add the goods-receipt if I it contains only one item and it is serial-number managed.  However, if I’m issuing more than one item and one or more of the items is serial number managed, then the DI API will not add the goods-issue.  The error message that appears refers to an item that is not among the items being issued.  The message is:
    -10: (IGE1.WhsCode)(line: 3), ‘Item ‘A00006        ‘ with system serial 1 is not in stock.’
    Again item A00006 is not even in the group of items being issued.
    The code I am using for the serial number part is:
    With oGoodsIssue.Lines.SerialNumbers
              .SystemSerialNumber = rs.Fields.Item("SysSerial").Value
              .ManufacturerSerialNumber = rs.Fields.Item("MfrSN").Value
              .InternalSerialNumber = rs.Fields.Item("IntrSerial").Value
              .SetCurrentLine(n)
              .Add()
              rs.MoveNext()
              n += 1
    End With
    The rs is a recordset that the code is looping through as the serial numbers are being added.
    The error message does not occur during this code.  It occurs when it tries to add the full goods-receipt.  Does anyone have any idea how I can fix this?
    Thanks,
    Mike
    Edited by: Mike Angelastro on Mar 31, 2008 8:43 AM

    Hi Mike,
    Try to do the ".Add" only if you need it. Doing a ".add" without assignation may cause the error you have.
    I guess your n variable start at 1 or 0, so you could put code like this :
    With oGoodsIssue.Lines.SerialNumbers
    if n = 0 then (or 1, also I don't the correct syntax of your programming language)
    .Add()
    end if
    .SystemSerialNumber = rs.Fields.Item("SysSerial").Value
    .ManufacturerSerialNumber = rs.Fields.Item("MfrSN").Value
    .InternalSerialNumber = rs.Fields.Item("IntrSerial").Value
    .SetCurrentLine(n)
    rs.MoveNext()
    n += 1
    End With
    HTH
    Jodérick

  • Problem with more than one item in a track

    DVDSP 4.0.2 / OSX.4.2 I've built a DVD with several tracks. In each track I've placed several .m2v files, one after another. Finished build plays fine on my Mac and on one of my stand alone DVD players. But on another stand alone (Sony DVP-S360) something very odd happens. DVD begins to play just fine, but whenever it encounters a track with more than one source file, it will play until it gets to the spot in the program where the second source file is in the track and then it hangs and won't do anything. I'm just curious if anyone has any insight into this problem. Is it a DVDSP conflict thing with certain players? Or is this Sony player just not capable of playing a DVD built this way? Thanks.

    This page here:
    http://www.videohelp.com/dvdplayers.php?DVDnameid=428&Search=Search&
    has someone talking about finally getting burned DVDs to work, which suggests they previously had problems. I can't think why the track would not seem like continuous video, as if it had always been that way. Our Sony DVD player at work seems sensitive to higher data rates. What data rate did you use?

  • A&D ADSUBCON: wrong qty in delivery for subcontr.PO with more than one item

    Hi gurus,
    i created a subcontracting PO with 2 item: item 10 for 200 PC and item 20 for 500 PC.
    When i create a delivery, using ADSUBCON (because i have to managed special stock E), the delivery quantities are wrong.
    I mean: I obtain a delivery with item 10 for 500 PC and item 20 for 500 PC; same quantity.
    It seems that SAP takes the quantity of the last PO's item ( in my example the qty of the second PO item 500PC).
    I tried to invert the case: PO with item 10 for 500 PC and item 20 for 200 PC. The delivery created has 200 PC for item 10 and 200 PC for item 20
    I also tried to create a PO not for MTO but for MTS and using ADSUBCON transaction the delivery quantity still be wrong but using ME2O it is correct (but this second case isn't my case because i need to manage customer stock E).
    It is for this reason that i suppose that the problem is related to A&D...
    Please, could you help me?
    It is very important and urgent.
    Thank you in advance for your collaboration.

    i've not worked with ADSUBCON txn but could find a a note related to similar issue, have a look at it:
    SAP Note 736737 - ADSUBCON: Problems with the performance and data display
    yogesh

  • Is it possible to place more than one Item on same line on the FORM

    Can we placed more than one Item on the form?
    for ex: I want to use TextFields to input the Date of birth in form of DD/MM/YY
    I want to put on the form like
    Enter DOB :- DD MM YYYY
    Please suggest if it is possible any way in J2ME

    It will depend on the phone. There is no way of knowing if the items actually will be on the same line or not. On a phone with a small screen, the items are likely to end up on two lines.
    You can however make sure that the lines will occupy two lines by using the setLayout(int layout) method which belongs to the Item class.

  • Get the data with more than one of the desired value

    Hi,
    I need to pull the records with more than one value of 'Other' on the delivery days fields.
    The delivery fields are mon,tue,wed,thu,fri and sat that tells the where the item will be delivered. The value can be Home, Work, or Other.
    Here is the Sample data:
    cust_id: 123
    item: newspaper
    mon: Home
    tue:Work
    wed: Other
    thu: Home
    fri: Other
    sat: Other
    And here is my query so far.
    select
    cust_id,
    item,
    mon,
    tue,
    wed,
    thu,
    fri,
    sat,
    sum(case when (del_mon = 'O' or del_tue ='O' or del_wed ='O' or del_thu ='O' or del_fri ='O' or del_sat='O') then 1
    else 0 end) as day_ctr
    from customer
    Could you please help me with the right formula I need to get this?
    Thank you in advance..

    First
    DESC customer
    Second
    Can you explain what you are trying with
    sum(case when (del_mon = 'O' or del_tue ='O' or del_wed ='O' or del_thu ='O' or del_fri ='O' or del_sat='O') then 1 else 0 end) as day_ctr
    Third
    Usually it's helpful a example of the result you want...
    Perhaps you want this
    select DECODE(mon,1,(select distinct mon from customer), 'OTHER') mon,
            DECODE(tue,1,(select distinct tue from customer), 'OTHER') tue,
            DECODE(wed,1,(select distinct wed from customer), 'OTHER') wed,
            DECODE(thu,1,(select distinct thu from customer), 'OTHER') thu,
            DECODE(fri,1,(select distinct fri from customer), 'OTHER') fri,
            DECODE(sat,1,(select distinct sat from customer), 'OTHER') sat from
    select
    COUNT(DISTINCT mon) mon,
    COUNT(DISTINCT tue) tue,
    COUNT(DISTINCT wed) wed,
    COUNT(DISTINCT thu) thu,
    COUNT(DISTINCT fri) fri,
    COUNT(DISTINCT sat ) sat
    from customer
    )

  • GR-GI printout for more than one item in one document

    Hi Friends,
    In my GR document, there are more than one materials receipted in one document. I am taking the printout of GR slip by assigning the printer in MB02 T-Code. And then through MB90 i am taking the printout. But in MB90 in the print preview, I can see only one item at a time. where as I have receipted more than one item in one document. In MB02 I have to assign the printer one by one to each item and in MB90 also i can see only one item in the GR slip. How can I take the printout of the of all the items in the GR document all at a time??????
    Same is the case for Goods Issue slip. Here also i can see the print preview of only one item at a time.
    Please advice.
    Thanks & Regards
    Satya

    Satyabrata,
    <b>In transaction "OMBR" define print version indicator as "3" for the transactions through which you are creating this material document</b> this basically defaults when performing the transaction. You can also set the indicator to collective in the intial screen of the transaction.
    Defination of print version:
    Version for printing of GR/GI slip, Specifies the version of the goods receipt/issue slip.
    You can print out three different versions of a GR/GI slip:
    <b>Individual slip (version 1)</b>
    In this case, one GR/GI slip is printed out for each item.
    <b>Individual slip with inspection text (version 2)</b>
    In this case, one GR/GI slip is printed out for each item. In addition, a quality inspection text is printed if there is one in the material master record.
    <b>Collective slip (version 3)</b>
    In this case, a collective slip including all the items in a document is printed.
    Hope this helps...
    Regards,
    Prasobh

  • "A script is already running" while attempting to run more than one item

    We upgrade recently to ODT 11.2.0.3.20. Since then, attempting to run more than one item from the Solution Explorer (by selecting the items, right-clicking, and selecting "Run") results in a popup error of "Oracle Developer Tools. A script is already running". If many items are selected it results in many error messages and only a random few of the items are actually executed on the server. Also, choosing "Run On" now results in it prompting for the target database for each item selected (rather than once for all items selected like it used to). This all used to work fine in the earlier release we were using. Has anyone else run into this? Any fixes? We used to use multi-select and "Run" or "Run On" to deploy multiple items at once, but this no longer works -- doing one at a time works, but if you have hundreds of items to run, this quickly becomes unusable.
    Thanks for any insight.
    - Josh

    cshay wrote:
    I don't believe that the intention was for you to be able to run a bunch of scripts one after the other. Often there are dependencies between scripts anyway and so you you have to order them. Because we're generally deploying a large set of stored procedures (and not just one-time scripts) the order doesn't really matter -- even if a stored procedure gets created before one it depends on, once all the SPs are on the server, the ones that are "invalid" will compile correctly once you execute them.
    I think a lot of people are creating master scripts that references child scripts using the "@" sql plus syntax.... have you tried that?
    I'll give that a try as a work around. Only issue I have with that solution is every time we add or remove something from the solution, we also have to update the script.
    We are doing a lot of enhancements to our script generation in the coming year. Keep an eye out for a beta to test.
    Like I said, this used to work fine in the older versions of ODT. It seems like the new version is attempting to execute multiple items at once on the same connection simultaneously, thus resulting in the "A script is already running" error. The old version used to be smart enough to execute them one at a time -- so something changed in a more recent version to completely break "Run" and "Run On" when you have more than one item highlighted (even just highlighting 2 items and choosing "Run" runs the first item, but then gives the error for the second item).
    Christian- Josh

  • Reversing Landed Cost document with more than one vendor

    Hi Experts,
    Reversing Landed Cost document with more than one vendor:
    My client can reverse a landed cost document with One Vendor, but cannot with multiple vendors. I have also tested this in 8.8 PL10. Here is a brief description:
    Created Landed cost by selecting 2 vendors in the Vendor field.
    After you picked one vendor, you go to the vendor code/name again then choose another vendor you
    need, once you picked, the system will ask you whether you want to delete the previous data, then
    you say no, after then you will see the vendor name became "different vendors" and code be "********"
    (on the vendor tab: you will see two vendors)
    To Reverse Landed Cost we do the following with Landed Cost documents that only have one vendor:
    I can copy from the Landed Cost document (on the right-bottom corner) while creating new one with
    zero amount to reverse, which is ok; but for multiple vendors, the list of vendors onlyshows one of
    the vendors for Good Receipts & Landed Cost.
    Cannot copy from a Landed Cost document wioth more than one vendor to reverse this Landed Cost.
    To be albe to copy from a previously created Landed Cost document (with multiple vendors) as you
    can with one vendor to reverse the transaction.
    Can this functionality be added to future versions?

    Take a look at business area and groupings in they payment program settings...
    I am not sure what version you are on but the following link for 4.7 should provide some valuable information...
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9be64455711d182b40000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9be64455711d182b40000e829fbfe/frameset.htm
    Grouping Open Items and Individual Payments
    Wherever possible, the payment program will always group items together for payment.
    The payment program can only group together open items for payment if the open items in an account have the same:
    1. Currency
    2. Payment method in the item
    3. Bank in the item
    4. Contents of the grouping fields (if a grouping key is specified in the customer or vendor master record)
    You can also pay open items from different company codes together, as well as customer and vendor line items.
    Items in an account are not grouped together if you:
    1. Make payments separately per business area. This procedure entails separate payments being created per business area.
    2. Want to make individual payments
    Items in which a payment method is specified are not grouped with items in which no payment method is specified.
    You define the required grouping key in the IMG for Financial Accounting under Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Method/Bank Selection for Payment Program -> Define Payment Groupings.
    In our system, if the business area is the same, there will be one ZP document with one line with a posting key of 25. Otherwise there will be many individual 25 posting key lines with.

  • Tax code with more than one tax rate

    Hi,
    I am using TAXINN procedure and I created on tax codes with more than one rate. i.e. for service tax I created  a tax code S1 with 3 rates as follows
    Acc. Key    Tax %      condition type
    VS9            12             JSE4
    VS0              2             JES4
    VSS              1             JHS4
    When I am trying to post a document with the above tax code the system is giving the following error message
    Tax code S1 may only contain one assignment line
    Message no. FF731
    Diagnosis
    For direct postings to tax accounts, only tax codes containing exactly one tax line may be used. Tax codes with several rates or a nondeductible portion are not allowed here.
    Procedure
    Use a different tax code.
    For direct postings to a tax account, you might have to define a separate tax code for which only one line with a percentage rate other than zero is active in percentage rate maintenance. All other lines must be inactive.
    To do this, choose Maintain entries (F5).
    Could you please let me know how to rectify this problem? I want to post 3 line items for each of base rate, Edu. Cess and Higher Edu.cess.
    Advance thanks for your help and
    Regards
    Koteswara Rao Padarti

    The problem is in the master data of the revenue account. the tax category should not be > and it should be *

  • Document/literal style wsdl with more than one port

    Recently I have changed wsdl style from rpc/encoded to document/literal as BPEL does not handle soapenc:arrayType. The wsdl contains 2 operations and few complex type definitions.
    In BPEL Designer I have created a process that invokes all operations defined in the wsdl, but only one of them will have some data in the response message and the other one will have an empty message. On the other hand, when I use stub generation to invoke Web Service everything is working fine.
    If I provide separate wsdl for each operation (in BPEL process I would have two partnerLinks instead of one) than it works fine.
    Does this mean that BPEL does not handle document/literal style endpoints with more than one port (operation)?
    I have tested this with the orabpel_2.0_J1_win32.exe and orabpel_2.0rc9_win32.exe. Web Services, used for this test, are deployed in Jboss 3.2.3 and axis-1_2beta3.
    WSDL used as partnerLink:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions targetNamespace="http://test" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://test" xmlns:intf="http://test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <schema elementFormDefault="qualified" targetNamespace="http://test" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="CardId">
    <sequence>
    <element name="cardType" nillable="true" type="xsd:string" />
    <element name="number" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    <complexType name="CardIdArray">
    <sequence>
    <element maxOccurs="unbounded" name="item" nillable="true" type="impl:CardId" />
    </sequence>
    </complexType>
    <element name="getCardsReturn" type="impl:CardIdArray" />
    <complexType name="CardholderCards">
    <sequence>
    <element maxOccurs="unbounded" name="cards" nillable="true" type="impl:CardId" />
    <element name="serialNumber" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    <element name="retrieveChReturn" type="impl:CardholderCards" />
    </schema>
    </wsdl:types>
    <wsdl:message name="retrieveChRequest" />
    <wsdl:message name="getCardsRequest" />
    <wsdl:message name="retrieveChResponse">
    <wsdl:part element="impl:retrieveChReturn" name="retrieveChReturn" />
    </wsdl:message>
    <wsdl:message name="getCardsResponse">
    <wsdl:part element="impl:getCardsReturn" name="getCardsReturn" />
    </wsdl:message>
    <wsdl:portType name="TestService">
    <wsdl:operation name="getCards">
    <wsdl:input message="impl:getCardsRequest" name="getCardsRequest" />
    <wsdl:output message="impl:getCardsResponse" name="getCardsResponse" />
    </wsdl:operation>
    <wsdl:operation name="retrieveCh">
    <wsdl:input message="impl:retrieveChRequest" name="retrieveChRequest" />
    <wsdl:output message="impl:retrieveChResponse" name="retrieveChResponse" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TestServiceSoapBinding" type="impl:TestService">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getCards">
    <wsdlsoap:operation soapAction="" />
    <wsdl:input name="getCardsRequest">
    <wsdlsoap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="getCardsResponse">
    <wsdlsoap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="retrieveCh">
    <wsdlsoap:operation soapAction="" />
    <wsdl:input name="retrieveChRequest">
    <wsdlsoap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="retrieveChResponse">
    <wsdlsoap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TestServiceService">
    <wsdl:port binding="impl:TestServiceSoapBinding" name="TestService">
    <wsdlsoap:address location="http://localhost:8080/axis/services/TestService" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Hi Dragana,
    We definitely support the ability to call a web service that exposes two operations (document/literal or not).
    Glancing through your WSDL, it looks good.
    Could you please try to tunnel the second request and see 1) what data is sent to the service and 2) what data is returned by the service?
    Can you please email us a reproduceable case so that we can help troubleshoot in parallel?
    Thank you,
    Edwin
    [email protected]
    please rename .zip to .zap

  • More than one item table in HIERSEQ_LIST_DISPLAY

    Hi ,
    Is it possible to have moe than one item table in HIERSEQ_LIST_DISPLAY.
    if we have more than one item table with different structures then what is the best way to disply them.
    Thanks and Regards,

    thank you

  • PC Suite ignores more than one item of each kind

    PC Suite ignores additional items when there are more than one item of the same kind - example: if I have two or more notes in a contact, only one is showed, and the remaining ones are ignored. It seems to be a bug, since even exportation of a contact with multiple items of the same kind only exports one of them, ignoring all the others. My cell phone is 5610, is connected with the USB cable, and my PC Suite is version 7.1.30.9

    Hi,
    As you mentioned when i add one more notes to a contact on Nokia N86, after sync, in view sync last report i saw the second note as Unsupported properties Note(2) and its content displayed on view last report.  So i dont think this will be supported.  Similar issue we have for contacts, if you same contact(say mobile home1, mobile home 2) pc suite will recognise only the first (mobile home1) and pc sync will say unsupported properties for rest of mobile home nos# and you cannot view them on Nokia Communication centre/PC Suite.... Similarly though your phone supports adding more than one note for a contact, it wont be supported by pc suite as per view last sync report May be this is currently how it behaves

  • GLT2 201 in VF02 With More Than One Segment

    Dears,
    Itu2019s occurring the following error message when trying to post the accounting document for sales billing with multiple items with different segments, transaction VF02: u201CGLT2201 u2013 Balancing field "Segment" in line item 001 not filledu201D.
    The error does not occurs if the sales billing have only one item, nether if the items have more than one item but with the same segment.
    Item 001 for accounting document of SD billing usually is the customer account
    The accounting document splitting is active for the characteristic Segment, and it's a a mandatory and balance zero accounting assignmet field.
    Some one knows how to fill up the Segment for accounting document of SD billing with more then one segment ??
    Any help is wellcome.
    Roger Aquino

    Dears,
    The error has being solved!
    The problem was the configuration of SD accounts determination.
    After the SD team customize the right accounts for accounting (until then they had defined any accounting records), the error was suppressed.
    Thanks.
    Roger Aquino.

Maybe you are looking for

  • Custon clearing agent vendor change in MIRO

    Hi friends, I am having the issue. User makes an import PO (CIN4.0A version). in the PO, there is one main vendor who willl supply the goods, one vendor (Customs office) who will raise and send the customs excise invoice and one vendor as customs cle

  • How many free websites do I have?

    I have one-month period Muse and I would like to know do I get every month a new free website?

  • How to Create Positions ???? - Help me pls...

    Hi, This is my first q to this forum... Im a fresh SAP HR Cons.... I have problem in Creating positions in the Recruitment Module. Following is what I have done. Im using SAP R/3 4.7 Personnel Mgmt -> Recruitment -> Workforce Reqs and Advt --> Create

  • Replacing ACS with ISE

    What is required to replace ACS with ISE in simple terms? I am looking to basically authenticate wired and wireless access against the local/AD) user database via Cisco kit I am thinking all I need is the BASE (perpetual) license rather than the adva

  • Custom step type Export and Import

    Hi,    I have created custom step types similar IVI for all my HAL drivers. I need help in sharing it with my team in different locations. I am looking at exporting and importing of the custome step types similar to templates. Could anyone help me wi