Additional funfionality on shipping page

Hi,
We need to add two new fields to store additional information in own user table, but I have a problem to add my code do continue button to save this information. Do you have any idea how to do this in WT 6.0 ?
Thanks for help
Greg.

Hi Greg,
You will need to add a new button and make the existing button invisible.
If you are not using the Notes field in OrderMaster, you could use that and avoid having to deal with UDFs and synch issues.  If you are going to use a new field, you will need to create a synch plugin to synch the data to B1.
Here is the code for the event--use this for your new button and add your custom code:
protected void lnkNext_Click(object sender, System.Web.UI.ImageClickEventArgs e)
            Page.Validate();
            imgPhoneWarning.Visible = false;
            bool noAddress = !rblShippingAddress.Visible;
            List<NPError> theErrors = new List<NPError>();
            int addID = AddAddress.Save(theErrors);
            if (addID > 0)
                _order.SetAllDetailShipAddress(addID);
                if (dtRequestedShipDate.SelectedDate != DateTime.MinValue && dtRequestedShipDate.SelectedDate <= DateTime.Now)
                    imgRequestedShipDate.Visible = true;
                else
                    imgRequestedShipDate.Visible = false;
                    _order.RequestedShipDate = dtRequestedShipDate.SelectedDate;
                _order.Calculate();               
            if (!DisplayErrors(theErrors))
                Save(addID);

Similar Messages

  • Urgent!! issue in shipping page

    Hi All,
    We have added create address page in shipping page, but when I click on continue check out, its not able to proceed to next page, getting error like
    "Address Line 1 is requried",
    How can we fix it ?
    Please suggest me asap
    Thanks

    Hi user588510,
    Thanks for your quick reply to my issue..
    I have included the following code in ibeCCkdBHdrShip.jsp to display Address Form in Shipping Page.
    We merged Ship to and BIlling information page in one page..
    The same code works for US Store..
    I mapped custom related jsps to CAN Store also, then its not working for me..
    Please advise me ..
    <table summary="" border="0" width="100%" cellpadding="2" cellspacing="0">
    <!-- This is the start of the address form -->
    <%
    String addrpage = DisplayManager.getTemplate("STORE_ADDRBK_DISPLAY_FORM").getFileName();
    pageContext.setAttribute("noName", "true", PageContext.REQUEST_SCOPE);
    pageContext.setAttribute("incl_src","STORE_CHKOUT_CREATE_ADDRESS",PageContext.REQUEST_SCOPE);
    if ("shipto".equals(context) || "billto".equals(context))
    pageContext.setAttribute("addressType", context.toUpperCase(), PageContext.REQUEST_SCOPE);
    %>
    <jsp:include page="<%=addrpage%>" flush="true"/>
    <!-- This is the end of the address form -->
    </TABLE>
    In Processing page..
    ibeCCkpBHdrShip.jsp
    if( !addressBean.getOnChange().equals("") ) {
    pageContext.setAttribute("addrDropDownChanged", "true" , PageContext.REQUEST_SCOPE);
    // Coming off from onChange event of country
    // Just forward back
    // doesnt work: String backurl = addressBean.getCallerUrl();
    addressBean.clear();
    %> <jsp:forward page="<%=refUrl%>" /> <%
    oracle.apps.ibe.tcav2.Address addr = null;
    if (!addressBean.isEmpty()) {
    if (! addressBean.verifyAddress(false,RequestCtx.getOperatingUnit())) {
    pageContext.setAttribute("errMsg",
    addressBean.getErrorMessage() + "<BR>", PageContext.REQUEST_SCOPE); %>
    %> <jsp:forward page="<%= refUrl %>" /> <%
    else {
    addr = addressBean.getAddress();
    addr.setPartyId(RequestCtx.getPartyId());
    BigDecimal custAccountId = null;
    BigDecimal custPartyId_b = null;
    // String custPartyName = null;
    // String custPartyType = null;
    BigDecimal contactPartyId = null;
    String contactPartyName = null;
    boolean needCommit = false;
    Object dummy = new Object();
    try {
    TransactionScope.begin(dummy);
    custAccountId = new BigDecimal((String)request.getParameter("shiptoCustAccountId"));
    custPartyId_b = new BigDecimal((String)request.getParameter("shiptoCustPartyId"));
    custPartyName = request.getParameter("shiptoCustPartyName");
    custPartyType = request.getParameter("shiptoCustPartyType");
    String tmp = request.getParameter("shiptoContactPartyId");
    if ((tmp != null) && !("".equals(tmp)))
    contactPartyId = new BigDecimal(tmp);
    contactPartyName = request.getParameter("shiptoContactPartyName");
    addr.setPartyId(custPartyId_b);
    addr.setCreatedByModule(ApiConstant.CHECKOUT);
    oracle.apps.ibe.tcav2.AddressManager.createAddress(addr, false, false,false,true,false);
    shiptoPartySiteId = addr.getPartySiteId().toString();
    needCommit = true;
    pageContext.setAttribute("partySiteId", addr.getPartySiteId(), PageContext.REQUEST_SCOPE);
    if ("contact".equals(request.getParameter("owner")))
    pageContext.setAttribute("partySiteType", "contact" , PageContext.REQUEST_SCOPE);
    else
    pageContext.setAttribute("partySiteType", "customer" , PageContext.REQUEST_SCOPE);
    } catch ( CustomerException e) {
    pageContext.setAttribute("errMsg", mmi.getMessage("IBE_PRMT_ADDRESS_INVALID") + "<BR>", PageContext.REQUEST_SCOPE); %>
    %> <jsp:forward page="<%= refUrl %>" /> <%
    } finally {
    if ( !needCommit )
    TransactionScope.setRollbackOnly();
    TransactionScope.end(dummy);
    Please help me in this regard..........
    Thanks in advacne

  • In addition to my home page, every time I start Firefox a tab opens with notifacation of an updated addon. Why does this tab continue to appear even though there is no updated version of the addon?

    In addition to my home page, every time I start Firefox a tab opens with notification of an updated addon. Why does this tab continue to appear even though there is no updated version of the addon?

    See these articles for some suggestions:
    *https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • What is FRT on AT&T Status Shipping Page ?

    I recently ordered my iPhone and have been feverishly checking the status shipping page from AT&T. I'm just wondering what FRT is since I see it as listed with the phone as part of the shipment.
    Thanks.

    Freight.... having waited 10-days for my delivery (ordered July 14), one day prior to deliveries getting push-out 10-21 days from the 15th on.. unless you'll settle for a white 16G, then it may still be 72-hr delivery. Regardless, TAKE MY ADVICE, DON'T MONITOR YOUR STATUS ON A DAILY BASIS if you don't want to FRUSTRATE YOURSELF. Reason being that the status will vacillate from day to day showing no sign of BACKORDERED to being BACKORDERED so don't waste your time and energy. People have been called to the store the same day their tracking report showed it BACKORDERED. So if you are on a 21-day delivery with AT&T, don't bother checking until the day before. And if you show it being shipped with a blue carrier # hyperlink... click on it to gauge its status only then. Once it is shown as delivered to your store, it may still take the Staff 2-3 hours to inventory everything into stock which includes other brand phones, etc. My recommendation, when you see it delivered to your store, call them and schedule an appt. to have it activated. It took 10-min for my Verizon # to port over.
    The rest is a tangent I got off on, but it may re-establish some confidence in your choice to by the 3G. So read if you desire. BTW, with relatively heavy usage the first 24-hours I had the phone learning how to navigate around the features, syncing, then just playing with the new toy with PUSH being on, along with 3G, blueTooth, etc. i got 19 hr's battery life. After my first FULL CHARGE, on Saturday afternoon, it easily lasted over 24-hr's into Sunday with still at least 30 battery life showing. Here we are Monday at almost 5p EDT and I still have 50% battery life remaining. The key is remembering this is a tech tool and not a toy, right. You turn the features on as you require them. If you are in your local area I seriously doubt you get lost or need to know where you are...so don't turn on Location... I leave 3G off unless I receive an email with an attachment... and then I quickly switch to 3G for the download... or turn it on if I need to forward an attachment to someone. So on and so forth. As for the phone itself, I absolutely luv it and sooo glad I did not cancel the order the 3x I considered it after reading all the negative discussions and concerns. It works as it should and I knew of its lacking features when i bought it. I tried and tried to warm up to the BlackBerry Curve and 8000 series phones and "for me" I wasn't overly impressed with its features enough to stay with Verizon. I was not an AT&T user before getting my 3G, so I did not know what to expect on signal strength and dropped calls versus that of Verizon for 5+ yr's. WIth that being said, I dropped three call's over the weekend. Two on EDGE network and a couple of times not able to access a 3G signal or a very slow download from the inside a building, which APPLE own's up to in its literature. While I was not on 3G with Verizon, I can assure you my wife has had me in this store a few times in my life and out of boredom have successfully place a call or two. In my mind that is an AT&T issue.... and you can rest assured they were not prepared for the overwhelming influx of new 3G user's and the drain it was going to put on its 3G network bandwidth, so they are in the process of bolstering their systems and adding more towers

  • I can't stop the Firefox Start page from opening - in addition to my default page - each time I open Firefox

    # Question
    I can't stop the Firefox Start page from opening - in addition to my default page - each time I open Firefox

    Is this the Firefox branded Google page? If it is, Firefox can store multiple home pages and you may have 2 home pages set. Follow the instructions to set a single home page in this link - https://support.mozilla.com/kb/How+to+set+the+home+page
    If it is the Firefox has just updated page that keeps on appearing, there may be a different problem, for details on fixing that see https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox

  • Install Personas Plus Tab opens in addition to my home page when I start up Firefox

    Hi I partially completed the process of installing Personas Plus app but decided against it because it was a trial rather than a free version. Now when I open Firefox I get my home page and an additional tab with this page http://barisderin.com/?p=915 open.
    I can't figure out how to stop this from happening. I hope to hear from you. Kind regards
    Chris

    See these articles for some suggestions:
    *https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • Additional CheckBoxes on JSP Page

    Dear All,
    I have created 10 Additional CheckBoxes on a JSP Page in Apps through pesonalization by Create Item option and chosen (MessageStylesCheckBox).
    The Value of this CheckBox is 1 if it is checked and 0 if it is unchecked. Now I want to track these two values. Are these checkboxes have any
    impact on the underlying table or where this information goes? Do I have to put anything inside View Attribute and View Instance?
    Please help if anybody knows this.
    Regards

    Try to check the settings for the section and the column, maybe you have one chance there to hide it. As you can now "freeze" one column and scroll another one that scroll bar is the one of the column (I guess), if you click to display all result the scroll will happen on the "inner" scroll, not the one of page (the one on the right), as far as I remember.
    Now sure it's a problem, it's more the normal way to support advanced behavior in a dashboard with multiple columns / sections.

  • HT5484 Does it mean the 3rd-party iOS developers can use the fonts listed in 'Additional Information' of this page for free?

    On the page ‘iOS 6: font list’, there's an Additional Information section, listing a series of fonts _not_ pre-installaed in iOS 6. It also says that ‘Apps can also install the following fonts as necessary.’ Does it mean that Apple has already paid for the licenses of these fonts, and they allow 3rd-party usage for free? (I.e., may I bundle these fonts to my iOS app?)
    Thanks.

    Anything you have access to through the iOS SDK should be licensed for use in your apps, but you can contact the developer program support:
    https://developer.apple.com/contact/submit.php
    or software licensing:
    [email protected]
    and confirm.
    Regards.

  • Point Additional Domain to Certain Page of Existing Domain

    I'm looking for a way to point an additional domain name to a page other than the index of an existing domain.
    Basically, I'd like http://ParentGroup.com to host a page that I can have multiple companies listed and the user can click on one. That's set up.
    I'd like to add http://Company1.com as an additional domain to point to the same site directory (which I have working), but I would like that domain name to pull up http://Company1.com/C1 rather than the index file, as that will still land on the company selection page rather than the page specific to that company already.
    Any help on how to accomplish this would be much appreciated.
    Thanks!

    Can you be more specific in your request?
    Off-hand I can think of at least three ways of interpretingyour request, each with different solutions.
    First off, is C1 a file in the document root, or a subdirectory?
    If it;s a subdirectory, do you want the main document root to be the same as parentgroup.com, or different?
    If the same, do you just want to serve the different page, or redirect users to the /C1 URL if the hit the top URL for http://company1.com?

  • New Address creation on Shipping Page

    Hey All,
    I have a .net user control running on the shipping.aspx page that retrieves the selected address from the drop down list or radio button of addresses in the users account.
    This works great for existing addresses and I can save the info.
    How can my control know what the address ID is when the user adds a new address? I get the order.GetShippingId it always has the value of the last selected address when adding a new address or 0 which is no good.
    Any suggestions on how I can figure out what address ID has been assigned to the new address that was created?

    Hi Curtis,
    Since my previous suggestions haven't panned out, I guess you can try getting it form the account object or go straight to the DB.
    NPBasePage bp = (NPBasePage)Page;
    NPAccount a = new NPAccount(bp.AccountID);
    // get the last address in the collection
    NPAddress address = null;
    if (a.Addresses.Count > 0){
       address = ((NPAddress)a.Addresses[a.Addresses.Count -1]);
    if (address != null){
        int addressid = address.AddressID;
    Note that addresses are not sorted in the NPAddress.Addresses query, so it is possible that SQL Server will not return them in order of AddressID.  If you are worried about this, you can check the ids to make sure you've got the highest.  That will be the one that was just created.
    or you could go straight to the DB:
    NPBasePage bp = (NPBasePage)Page;
    StringBuilder sb = new StringBuilder();
    sb.Append("SELECT TOP 1 AddressID ");
    sb.Append("FROM UsersAccountAddress ");
    sb.Append("WHERE AccountID = @accountid ");
    sb.Append("ORDER BY AddressID DESC");
    DataParameters dp = new DataParameters(1);
    dp.Add(NPDataType.NPInt, "@accountid", bp.AccountID);
    object o = DataFunctions.ExecuteScalar(sb.ToString(), bp.Parameters, bp.ConnectionString);
    if (o != null){
      int addressID = Convert.ToInt32(o);

  • Adding additional field in tasklist page of worklist application

    Hi,
    I'm working on customizing the worklist application in SOA 10.1.3.4.
    I need to add an extra field systemMessageAttributes.textAttribute1 in tasklist page of the worklist application.
    Can any one provide me the procedure for the same.
    I tried using flexi field mapping and was able to create mapping for TextAttribute1.
    How can I retrieve this mapping in the Tasklist.jsp.
    Can anyone help me out.
    Thanks..
    Mamatha

    File WorklistappConstants.java has the list of columns to display, almost at the end.
    Add your text attribute here, e.g.
    USER_PREF_DEFAULTS.put(PARAM_USER_PREF_INBOX_COL+"8",
    WFTaskConstants.TEXTATTRIBUTE1_COLUMN);
    This works for other columns, like WFTaskConstants.ASSIGNEEGROUPS_COLUMN,
    but I'm currently struggling with WFTaskConstants.TEXTATTRIBUTE3_COLUMN.
    Even if this is the only change I make, the WorklistApp crashes in my environment.

  • Every time I start up Firefox the PluginChecker loads in addition to my home page.

    In tools/ startup "show my home page is selected".
    There does not appear to be anything else but the URL for my home page in the homepage URL window in tools/start up.
    Other related problem: If I do not have "history cleared when Firefox closes", all the previous tabs open next time I start up. (I do NOT have "show my windows and tabs from time" selected.)
    If I have history kept, and open and close a bunch of times, I will get the screen filled with one home page and as many plugincheckers as I closed down with plus one.

    See:
    *http://kb.mozillazine.org/Preferences_not_saved
    Thee can also be a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (extensions.sqlite, extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.<br />
    New files will be created when required.
    See "Corrupt extension files":
    * http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is an update.

  • Safari opens a blank window in addition to normal home page Window

    Recently when opening safari, some times I get two windows, one with my normal home page, the other is blank and has focus.
    Also when closing one of the open safari windows these all close.
    Any ideas on how to cure?
    Steve

    Steve,
    Quit Safari, find the com.apple.Safari.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder, drag it to the Desktop, log out/in or restart and let us know what happens.
    ;~)

  • After a crash, when Firefox is restored, I get many blank pages opening, in addition to the correct page. It takes a while to close them all.

    The new version of Firefox also seems to be crashing more than the old.

    Set the pref [http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes browser.sessionstore.max_resumed_crashes] to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen the other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Firefox 4 Beta has problem when printing shipping pages from Amazon Marketplace, it shows and prints strange symbols instead of the packing slip and the label. Do you have any idea why is that?

    Well, I installed it 2 days ago and yesterday when I tried to print a packing slip and a label for Amazon customers it printed so many strange symbols that were nothing like what they are supposed to be, not even close. When I printed it with another browser it was all fine, so it is obviously a problem of the new version of my favorite browser. Probably something with the encoding, but since I'm not a computer geek, I cannot give more info. :(

    '''If you go the the menu and click "Print Preview" then it will show normally, and will print correctly from there. You must do it this way the first time you try to print though, if you try to print (using the print command) and it is messed up, then it shows it messed up in the preview. It's not a cure, but works for now until this bug is fixed.'''

Maybe you are looking for

  • Ipod touch wifi help

    I bought my i pod touch on the 13th and i am having problems connecting to wifi. Whenever i do get connected and i go to safari or youtube it says cannot connect. if it helps i have a link sys wireless g router. I also have th 22 letter encryption co

  • Image Breakup when using crop tool

    At recent events, operating aperture on a 17" MacBookPro with an extra 23" Apple display, I have image break up after using the crop tool. The image breaks up into quarters, with variable green colours, the image itself disappearing altogether. This

  • Nvidia Chipset- 32-bit or 64-bit?

    Hi, I am new to these forums, so I apologize if this question is posted already somewhere else- I just can't find an answer, so I'm posting my own question. Can anyone tell me whether or not the new macbook pros (late 2008) have a 64-bit or 32-bit ch

  • Portlet minimised

    Hi, I am writing a JSR 168 portlet for Oracle Portal 10.1.4 I would like this portlet to start in a minimised state when the user first enters the portal. Is there any portlet code that someone could point me at which will allow me to do this ? Thank

  • Can I add attachments to the responses screen

    Hello, We have recently created an application form for people to fill out and upload their own documents into the relevant sections. Part of this application requires a letter of recommendation, which is emailed separately by the recommender. We wou