Capturing form info - including action

I'm looking at error handling. I'm wondering (right now) if
there's a means
by which to capture a form's action. I'm looking to have a
confirmation
page for my delete items tha can say be universal and so
route pages to
their proper places after confirmation has been done.
I may also just do a JavaScript confirmation, but I'm not as
big on that.
Also searching other avenues, so any suggestions are more
than welcome.
TIA,
Jon Parkhurst
PriivaWeb
http://priiva.net.

I guess that was a pretty big morning question. :O)
I'm goign to redirect all of my forms to a general error
checking for, an
then have a hidden field that redirects the form from there -
that should
work, no?
TIA,
Jon
"crash" <[email protected]> wrote in message
news:ejspt4$npe$[email protected]..
> I'm looking at error handling. I'm wondering (right now)
if there's a
> means by which to capture a form's action. I'm looking
to have a
> confirmation page for my delete items tha can say be
universal and so
> route pages to their proper places after confirmation
has been done.
>
> I may also just do a JavaScript confirmation, but I'm
not as big on that.
>
> Also searching other avenues, so any suggestions are
more than welcome.
>
> --
>
> TIA,
>
> Jon Parkhurst
> PriivaWeb
>
http://priiva.net.
>

Similar Messages

  • Calling DOO standard web service in ADF custom order Capture form

    Hi
    I am trying to call the standard DOO web service in my ADF form and I am using web service data control to call that service. But when I am dragging and drooping the method in my page with the parameters needed for that particular method and try to run the page. Its giving a null pointer exception. The main parameter for that method is _payload which wants an EBM to be passed to it.
    DOO is a distributed Order Orchestration which is part of SCM fusion module. In fusion we can capture the order from different places from a legacy system from an EBS or any other application and then that captured order is passed to
    DOO of fusion by calling a standard web service. But we don't have a order capture form built in ADF from where we can enter order and then pass this info to the DOO web service.
    EBM is Enterprise business message,it is an xml format file which is passed to the DOO of fusion.It accept only EBM format xml in which capture order data is dere with EBM header and the data area which contains the order information.
    The name of the method in web service which is called in j developer is SalesOrderOrchestrationService_pt_SubmitTransformAssignLaunch(__payload). payload is the parameter which accepts the EBM file.
    The sample of an EBM or the xml which is passed to this method of web service as a payload is below.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>ALALL</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ssiER3#1</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2">
    <ProcessSalesOrderFulfillmentEBM xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2" xmlns:coresalesorder="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2">
    <corecom:EBMHeader xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Sender>
    <corecom:ID>LEG1</corecom:ID>
    <corecom:Application>
    <corecom:ID>CRM</corecom:ID>
    <corecom:Version>8.0</corecom:Version>
    </corecom:Application>
    <corecom:ContactName>Siebel contact</corecom:ContactName>
    <corecom:ContactEmail>[email protected]</corecom:ContactEmail>
    <corecom:ContactPhoneNumber>1234567891</corecom:ContactPhoneNumber>
    </corecom:Sender>
    </corecom:EBMHeader>
    <coresalesorder:DataArea>
    <corecom:Process responseCode="OBJECT" xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"/>
    <coresalesorder:ProcessSalesOrderFulfillment>
    <corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_ID_GUID">31343933343333353331383237343632</corecom:BusinessComponentID>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="OrderNumber">TEST-ALALL-2</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="OrderId">TEST-ALALL-2</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:Identification>
    <coresalesorder:CurrencyCode>USD</coresalesorder:CurrencyCode>
    <coresalesorder:OrderDateTime>2013-02-04T10:58:32Z</coresalesorder:OrderDateTime>
    <coresalesorder:PartialShipmentAllowedIndicator/>
    <coresalesorder:PricingDateTime>2013-02-04T10:58:32Z</coresalesorder:PricingDateTime>
    <coresalesorder:RequestedShipDateTime/>
    <coresalesorder:FulfillmentModeCode/>
    <coresalesorder:ShipmentPriorityCode>NEXTDAY</coresalesorder:ShipmentPriorityCode>
    <coresalesorder:TypeCode>ORDER</coresalesorder:TypeCode>
    <corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Code>BOOKED</corecom:Code>
    <corecom:EffectiveDateTime>2013-02-04T23:40:42</corecom:EffectiveDateTime>
    </corecom:Status>
    <corecom:CurrencyExchange xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:ConversionTypeCode/>
    <corecom:ConversionRate/>
    <corecom:ConversionRateDateTime/>
    </corecom:CurrencyExchange>
    <corecom:BusinessUnitReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:BusinessUnitIdentification>
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="ORGANIZATION_ID">A40A64204F0811DDBFBB6925DE4959D4</corecom:BusinessComponentID>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="InventoryOrganizationId">300000001130177</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="OrganizationId">300000001130053</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="OrganizationId">300000001130053</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:BusinessUnitIdentification>
    </corecom:BusinessUnitReference>
    <corecom:CustomerPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:PartyIdentification>
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_PARTYID_GUID">2d383037373236333033353335383233</corecom:BusinessComponentID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="AccountId">300000002605080</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:PartyIdentification>
    <corecom:OrganizationName/>
    <corecom:CustomerPartyAccountIdentification>
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_ACCOUNTID_GUID">2d363038363737353331313735393632</corecom:BusinessComponentID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="AccountId">300000002605080</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountIdentification>
    </corecom:CustomerPartyReference>
    <coresalesorder:SalesOrderLine>
    <corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="LineId">101</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">88290</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <corecom:ParentSalesOrderLineIdentification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="ParentLineId"/>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">88290</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:ParentSalesOrderLineIdentification>
    <corecom:RootParentSalesOrderLineIdentification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="RootParentLineId"/>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">90</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:RootParentSalesOrderLineIdentification>
    <coresalesorder:SubstitutionAllowedIndicator/>
    <coresalesorder:SourceTypeCode/>
    <coresalesorder:PreferredGradeCode/>
    <coresalesorder:CatchWeightMeasure/>
    <corecom:EffectiveTimePeriod xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:StartDateTime/>
    <corecom:EndDateTime/>
    </corecom:EffectiveTimePeriod>
    <coresalesorder:GrossWeightMeasure>0</coresalesorder:GrossWeightMeasure>
    <coresalesorder:TypeCode>ORDER</coresalesorder:TypeCode>
    <coresalesorder:Description>Servers</coresalesorder:Description>
    <coresalesorder:OrderQuantity unitCode="EA">1</coresalesorder:OrderQuantity>
    <corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Code>PENDING</corecom:Code>
    </corecom:Status>
    <corecom:ItemReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="ITEM_ID_GUID">61</corecom:BusinessComponentID>
    <corecom:ContextID/>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="ProductId">AS85008</corecom:ID>
    <corecom:ContextID>300000001130177</corecom:ContextID>
    </corecom:AlternateObjectKey>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="ProductId">AS85008</corecom:ID>
    <corecom:ContextID>300000001130177</corecom:ContextID>
    </corecom:ApplicationObjectKey>
    <corecom:CustomerItemID schemeAgencyID="SEBL_01" schemeID="ProductId"/>
    </corecom:ItemIdentification>
    <corecom:Name/>
    <corecom:TypeCode/>
    <corecom:Description>Computer</corecom:Description>
    </corecom:ItemReference>
    <coresalesorder:FulfillmentModeCode/>
    <coresalesorder:SalesOrderSchedule>
    <corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_SCHEDULE_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="SalesOrderScheduleNumber">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="SalesOrderScheduleId">101</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">201</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <corecom:ShipmentSet xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Name/>
    </corecom:ShipmentSet>
    <coresalesorder:ExtendedAmount currencyCode="USD">18762.00</coresalesorder:ExtendedAmount>
    <coresalesorder:GrossWeightMeasure>0</coresalesorder:GrossWeightMeasure>
    <coresalesorder:Description>Servers</coresalesorder:Description>
    <coresalesorder:OrderQuantity unitCode="Ea">1</coresalesorder:OrderQuantity>
    <coresalesorder:RequestedShipDateTime>2013-06-25T10:58:32Z</coresalesorder:RequestedShipDateTime>
    <coresalesorder:ScheduledShipDateTime/>
    <coresalesorder:ScheduledArrivalDateTime/>
    <coresalesorder:RequestedDeliveryDateTime/>
    <coresalesorder:LatestRequestedDeliveryDateTime/>
    <coresalesorder:LatestRequestedShipDateTime/>
    <coresalesorder:LatestRequestedShipDateTime/>
    <coresalesorder:EarliestShipDateTime/>
    <coresalesorder:ShipmentPriorityCode/>
    <coresalesorder:FulfillmentModeCode/>
    <coresalesorder:FOBPointCode/>
    <coresalesorder:ModeOfTransportCode>Air</coresalesorder:ModeOfTransportCode>
    <coresalesorder:ReasonCode/>
    <coresalesorder:ServiceLevelCode>Next day air</coresalesorder:ServiceLevelCode>
    <corecom:CarrierPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:PartyIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>10010</corecom:ID>
    <corecom:ContextID>100010023895555</corecom:ContextID>
    </corecom:ApplicationObjectKey>
    </corecom:PartyIdentification>
    </corecom:CarrierPartyReference>
    <corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Code>PENDING</corecom:Code>
    </corecom:Status>
    <corecom:PaymentTerm xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Code>4</corecom:Code>
    </corecom:PaymentTerm>
    <corecom:CustomerPurchaseOrderShipmentReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:PurchaseOrderLineIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>Line # 1</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:PurchaseOrderLineIdentification>
    <corecom:PurchaseOrderIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>PO#A1</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:PurchaseOrderIdentification>
    </corecom:CustomerPurchaseOrderShipmentReference>
    <corecom:UnitListPrice xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Amount currencyCode="USD">18762.00</corecom:Amount>
    </corecom:UnitListPrice>
    <corecom:UnitSalePrice xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:Amount currencyCode="USD">18762.00</corecom:Amount>
    </corecom:UnitSalePrice>
    <corecom:ShipFromPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:LocationReference>
    <corecom:LocationIdentification>
    <corecom:ID>100010023895555</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000001130184</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_PARTYCONTACTID_GUID">300000001201066</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:LocationIdentification>
    </corecom:LocationReference>
    </corecom:ShipFromPartyReference>
    <coresalesorder:SalesOrderShipToParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:CustomerPartyAccountContactIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000003212320</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountContactIdentification>
    <corecom:CustomerPartyAccountSiteUsageIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000003679213</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountSiteUsageIdentification>
    <corecom:ShipToPartyReference>
    <corecom:CustomerPartyAccountIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000002605080</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountIdentification>
    </corecom:ShipToPartyReference>
    </coresalesorder:SalesOrderShipToParty>
    <coresalesorder:SalesOrderBillToParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:CustomerPartyAccountContactIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000003212320</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountContactIdentification>
    <corecom:CustomerPartyAccountSiteUsageIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000003679211</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountSiteUsageIdentification>
    <corecom:BillToPartyReference>
    <corecom:CustomerPartyAccountIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000002605080</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountIdentification>
    </corecom:BillToPartyReference>
    </coresalesorder:SalesOrderBillToParty>
    <coresalesorder:ShipmentInstruction/>
    <coresalesorder:PackingInstruction/>
    <coresalesorder:TotalAmount/>
    <coresalesorder:PricingDateTime/>
    <coresalesorder:PurchaseDate/>
    </coresalesorder:SalesOrderSchedule>
    </coresalesorder:SalesOrderLine>
    <coresalesorder:SalesOrderCustomerParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:CustomerPartyAccountContactIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID/>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountContactIdentification>
    <corecom:CustomerPartyReference>
    <corecom:CustomerPartyAccountIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID>300000002605080</corecom:ID>
    <corecom:ContextID/>
    </corecom:ApplicationObjectKey>
    </corecom:CustomerPartyAccountIdentification>
    </corecom:CustomerPartyReference>
    </coresalesorder:SalesOrderCustomerParty>
    <coresalesorder:ModeOfTransportCode/>
    <coresalesorder:ServiceLevelCode/>
    <coresalesorder:TotalAmount currencyCode="USD">70.94</coresalesorder:TotalAmount>
    <coresalesorder:EarliestShipDateTime/>
    <coresalesorder:PricingDateTime/>
    <corecom:SourceDocumentReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
    <corecom:DocumentIdentification>
    <corecom:ID>ShipOrderGenericProcess</corecom:ID>
    </corecom:DocumentIdentification>
    </corecom:SourceDocumentReference>
    </coresalesorder:ProcessSalesOrderFulfillment>
    </coresalesorder:DataArea>
    </ProcessSalesOrderFulfillmentEBM>
    </soap:Body>
    </soap:Envelope>
    Can I get a help on this and my question is in j developer when I make a web service data control and drag and drop that method in to my pages submit button with text box taking this EBM or xml as entry and when I submit this its giving a null pointer exception. How can I overcome this.
    Regards
    Satbir Singh

    Hi,
    for complex services like this the recommendation is to use a JAX-WS proxy client, put a POJO in front (wrapper) to access information and methods to expose in the application and create a POJO DC from the wrapper. This not only is more powerful and allows you to intercept data calls, it also gives you a netter option for debugging and error handling in case something fails.
    Frank

  • Help needed in Form userexit_save_document_prepare include MV45AFZZ

    Hi Experts,
    I need to check the values entered in table control under sales tab in VA01.
    If the item category for a material is 'TANN' it should save if not it should not save and display an error message and then it should alow the user to edit the table control values. 
    how do i achieve it in Form userexit_save_document_prepare include MV45AFZZ.
    this is what I have done. kindly check the logic and help me further.
    case sy-ucomm.
    when 'SICH'.          " On Save action
    if vbak-vtweg eq 'HA'.  " Check Distribution channel
      flg_dh = 'X'.         " Sets if DC is 'HA'.
    endif.
    if flg_dh eq 'X'.
      if vbap-pstyv eq 'TANN'.    " Check item category
        flg_itmc = 'X'.            " Set if item cat is 'TANN'.
      else.
      message 'SO could not be created Please enter brokerage material' type 'E'.
      endif.

    Hi,
    Please use the following:
    when 'SICH'.          " On Save action
    if vbak-vtweg eq 'HA'.  " Check Distribution channel
      flg_dh = 'X'.         " Sets if DC is 'HA'.
    endif.
    if flg_dh eq 'X'.
      if vbap-pstyv eq 'TANN'.    " Check item category
        flg_itmc = 'X'.            " Set if item cat is 'TANN'.
      else.
      message 'SO could not be created Please enter brokerage material' type 'E' display like 'E'.
      endif.
    endif.

  • Two Forms submiting wrong action

    Hi all,
    I have a problem that occurs in a page that includes another jsf and i have one form in each one. When submit one the first managed-bean responsible to first form is called. It's something like this:
    order/view.jsp ======================
    <f:subview id="order">
    <h:form>
    <h:commandLink action="list" value="list">
    <h:outputText value="<< Voltar"/>
    </h:commandLink>                    
    </h:form>
    </f:subview >
    <f:subview id="item">
    <c:import url="../item/list.jsp"/>
    </f:subview >
    item/list.jsp ======================
    <h:form id="item" >
    <h:commandLink value="view" action="#{item.view}" >
    <h:outputText value="#{itm.name}" />
    <f:param name="divisionId" value="#{itm.id}"/>
    </h:commandLink>
    </h:form>
    I have a view action in Order Bean and when i call Item view action in the link bellow the Order view action was called redirecting to Order view page and a "Can't instantiate class: 'Can't set managed bean property: 'id'.'." exception occurs.
    att.,
    Flavio Leite

    Sorry, is a managed-bean and itm is a property of a managed-bean called Item.
    It's not my application in this example but i think that it is more familiar to almost people threat like a Order/Item Master/Detail form.

  • Lead Capture Forms

    Is there a way to create a Lead Capture form through the web interface and have the form populate B1 as either lead record, vendor record or Webtools as a prospect?
    So in other words I would like to have at least 3 different types of forms, 1 to do a regular Lead capture that will turn into a lead in B1, another to do the same but it should not hit B1 since it will be a prospect record, and finally another form that I could publish for prospective Vendors/Consultants can fill out so we could get their information etc.
    Furthermore, can a form be popultated with custom fields from B1 etc.
    Thanks,
    Ray Collazo

    This is definately possible with custom work to the API, see the SDKWebPage directory on the cd for a few ideas, or the plugins/requestblock.ascx
    below is the requestblock.ascx code for 2007 version that submits to prospect, the namespaces at the top can easily be modified to support 5.9 version. And Methods could be enhanced to create accounts (which synch to b1 BP) as well.
    <%@ Control Language="c#" %>
    <%@ Register TagPrefix="NP" Namespace="NetPoint.WebControls" Assembly="NetPoint.WebControls" %>
    <%@ Import Namespace="netpoint.classes" %>
    <%@ Import Namespace="netpoint.api" %>
    <%@ Import Namespace="netpoint.api.prospecting" %>
    <%@ Import Namespace="netpoint.api.account" %>
    <%@ Import Namespace="netpoint.api.common" %>
    <%@ Import Namespace="netpoint.api.utility" %>
    <%@ Import Namespace="System.Text.RegularExpressions" %>
    <script language="C#" runat="server">
        NPBasePage bp;
        private bool _SubmitToProspect = true;
        public bool SubmitToProspect {
            set { _SubmitToProspect = value; }
        protected void Page_Load(object sender, System.EventArgs e) {
            bp = (NPBasePage)Page;
            if (!Page.IsPostBack) {
                NPUser u = new NPUser(bp.UserID);
                tbFirstName.Text = u.FirstName;
                tbLastName.Text = u.LastName;
                tbPhoneOffice.Text = u.DayPhone;
                tbPhoneMobile.Text = u.MobilePhone;
                tbEmail.Text = u.Email;
                //tbCompany.Text = u.AccountName;
        protected void btnSubmit_Click(object sender, System.EventArgs e) {
            // check email validity               
            if (NPValidator.IsEmail(tbEmailTo.Text)) {
                //Send The Request
                NPCommunicationLog cl = new NPCommunicationLog();
                cl.Subject = tbSubject.Text;
                cl.Email = tbEmailTo.Text;
                cl.EmailFrom = tbEmail.Text;
                cl.Message = bp.StyleSheetLink;
                cl.Message += tbBody.Text;
                cl.Message += bp.ControlToHTML(GetTable());
                cl.Incoming = false;
                cl.LogStatus = "O";
                cl.LogType = "email";
                cl.TimeStamp = DateTime.Now;
                cl.AccountID = bp.AccountID;
                cl.UserID = bp.UserID;
                cl.OwnerID = bp.UserID;
                cl.TemplateCode = "requestblock";
                cl.Save();
                //Send The Response
                NPCommunicationLog clr = new NPCommunicationLog();
                clr.Subject = tbResponseSubject.Text;
                clr.Email = tbEmail.Text;
                clr.EmailFrom = tbEmailTo.Text;
                clr.Message = tbResponseBody.Text;
                clr.Incoming = false;
                clr.LogStatus = "O";
                clr.LogType = "email";
                clr.TimeStamp = DateTime.Now;
                clr.AccountID = bp.AccountID;
                clr.UserID = bp.UserID;
                clr.OwnerID = bp.UserID;
                clr.TemplateCode = "requestblock";
                clr.Save();
                //prospect
                if (_SubmitToProspect) {
                    NPProspect p = new NPProspect();
                    p.FirstName = tbFirstName.Text;
                    p.LastName = tbLastName.Text;
                    p.CompanyName = tbCompany.Text;
                    p.PhoneOffice = tbPhoneOffice.Text;
                    p.PhoneMobile = tbPhoneMobile.Text;
                    p.Email = tbEmail.Text;
                    p.Notes = tbNotes.Text;
                    p.Source = tbSource.Text;
                    p.Save();
                //redirect
                if (tbRedirectPage.Text != "") {
                    Response.Redirect(tbRedirectPage.Text);
                else {
                    Response.Redirect("~/");
            else {
                Response.Write("<script>alert('" + errInvalidEmail.Text + "'); <" + "/" + "script>");
                return;
        private Table GetTable() {
            Table t = new Table();
            t.CellPadding = 2;
            t.CellSpacing = 0;
            t.BorderWidth = 1;
            TableRow tr1 = new TableRow();
            TableCell tc11 = new TableCell();
            TableCell tc12 = new TableCell();
            tc11.Text = ltlName.Text;
            tc11.HorizontalAlign = HorizontalAlign.Right;
            tr1.Cells.Add(tc11);
            tc12.Text = tbFirstName.Text + " " + tbLastName.Text;
            tr1.Cells.Add(tc12);
            t.Rows.Add(tr1);
            TableRow tr2 = new TableRow();
            TableCell tc21 = new TableCell();
            TableCell tc22 = new TableCell();
            tc21.Text = ltlCompany.Text;
            tc21.HorizontalAlign = HorizontalAlign.Right;
            tr2.Cells.Add(tc21);
            tc22.Text = tbCompany.Text;
            tr2.Cells.Add(tc22);
            t.Rows.Add(tr2);
            TableRow tr3 = new TableRow();
            TableCell tc31 = new TableCell();
            TableCell tc32 = new TableCell();
            tc31.Text = ltlPhoneOffice.Text;
            tc31.HorizontalAlign = HorizontalAlign.Right;
            tr3.Cells.Add(tc31);
            tc32.Text = tbPhoneOffice.Text;
            tr3.Cells.Add(tc32);
            t.Rows.Add(tr3);
            TableRow tr4 = new TableRow();
            TableCell tc41 = new TableCell();
            TableCell tc42 = new TableCell();
            tc41.Text = ltlPhoneMobile.Text;
            tc41.HorizontalAlign = HorizontalAlign.Right;
            tr4.Cells.Add(tc41);
            tc42.Text = tbPhoneMobile.Text;
            tr4.Cells.Add(tc42);
            t.Rows.Add(tr4);
            TableRow tr5 = new TableRow();
            TableCell tc51 = new TableCell();
            TableCell tc52 = new TableCell();
            tc51.Text = ltlEmail.Text;
            tc51.HorizontalAlign = HorizontalAlign.Right;
            tr5.Cells.Add(tc51);
            tc52.Text = tbEmail.Text;
            tr5.Cells.Add(tc52);
            t.Rows.Add(tr5);
            TableRow tr6 = new TableRow();
            TableCell tc61 = new TableCell();
            TableCell tc62 = new TableCell();
            tc61.Text = ltlNotes.Text;
            tc61.HorizontalAlign = HorizontalAlign.Right;
            tr6.Cells.Add(tc61);
            tc62.Text = tbNotes.Text;
            tr6.Cells.Add(tc62);
            t.Rows.Add(tr6);
            return t;
    </script>
    <asp:Panel ID="SubscribePanel" runat="server">
        <table class="npbody" cellspacing="0" cellpadding="2" border="0">
            <tr>
                <td>
                    <asp:Literal ID="ltlName" runat="server" Text="Name"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="tbFirstName" runat="server" Columns="15"></asp:TextBox>
                    <asp:TextBox ID="tbLastName" runat="server" Columns="25"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="ltlCompany" runat="server" Text="Company"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="tbCompany" runat="server" Columns="50"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="ltlPhoneOffice" runat="server" Text="Phone (Office)"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="tbPhoneOffice" runat="server" Columns="15"></asp:TextBox> 
                    <asp:Literal ID="ltlPhoneMobile" runat="server" Text="(Mobile)"></asp:Literal>
                    <asp:TextBox ID="tbPhoneMobile" runat="server" Columns="15"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="ltlEmail" runat="server" Text="Email"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="tbEmail" runat="server" Columns="50"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="ltlNotes" runat="server" Text="Notes"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="tbNotes" runat="server" Columns="40" TextMode="MultiLine" Rows="4"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:LinkButton ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click"></asp:LinkButton></td>
            </tr>
        </table>
    </asp:Panel>
    <asp:TextBox ID="tbEmailTo" runat="server" Visible="False">[email protected]</asp:TextBox>
    <asp:TextBox ID="tbSubject" runat="server" Visible="False">Request From Website</asp:TextBox>
    <asp:TextBox ID="tbBody" runat="server" Visible="False">Request From Website</asp:TextBox>
    <asp:TextBox ID="tbResponseSubject" runat="server" Visible="False">Response Message</asp:TextBox>
    <asp:TextBox ID="tbResponseBody" runat="server" Visible="False">Response Message</asp:TextBox>
    <asp:TextBox ID="tbRedirectPage" runat="server" Visible="False"></asp:TextBox>
    <asp:TextBox ID="tbSource" runat="server" Visible="False" Text="RequestPage"></asp:TextBox>
    <asp:Literal ID="errInvalidEmail" Text="Invalid Email address" Visible="False" runat="server"></asp:Literal>

  • OBIEE 11g Agent Includes Action Link Report Name

    OBIEE 11g Agent Includes Action Link Report Name
    I have a dashboard page with multiple reports. One of the reports has Action Links to drill to another report. When I view the dashboard as a web page, the report with the Action Links look fine. The link fields are colored blue. When I send this dashboard page as an HTML email, it shows the Action Link report name in the cell with the other data.
    The dashboard page sent out as an agent should look the same as the web page and the Action Link report name should not be visible.
    Any ideas?
    Thanks!
    Eric

    So you spoofed the values of the 2nd column to have the report act almost like a menu listing?
    if that's the case then check the data type of column 2, it should be set to HTML. Then you will just need to build your HTML tag within the column formula.
    Example below bins the year name into a Link HTML Tag:
    '<a href="http://'|| CASE  WHEN "Time"."T05 Per Name Year" = '2011' THEN 'www.google.com' WHEN "Time"."T05 Per Name Year" = '2012' THEN 'www.yahoo.com' ELSE 'www.apple.com' END || '" target="_blank" > ' || CASE  WHEN "Time"."T05 Per Name Year" = '2011' THEN 'www.google.com' WHEN "Time"."T05 Per Name Year" = '2012' THEN 'www.yahoo.com' ELSE 'www.apple.com' END || '</a>'
    if that is not what you are attempting to do, please clarify.

  • SAP Script Form Info

    Hi all,
    There is no version management in the SAP Script. Then how can i find out the changes made for one TR in that. Can t be possible that i doenload the complete forminfo and upload the same to overwrite the previous one.
    Regards,
    Amit Jain

    Hi !
    You can download form related information from the SE71 Transaction .
    Display the form than Utilities->Form Info .
    Here you can download the form .
    Regards
    Sachin

  • How to upgrade 6i form to 11g forms which includes OLE container ?

    How to upgrade 6i form to 11g forms which includes OLE container ?

    The migration assistant has no upgrade for that. You need to get a Javabean or PJC:
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10394/items.htm#sthref207
    I don't know what kind of OLE files you have, but if it's just Word and Excel, I would you use browser functionality instead and get the doc's via web.show_document. That, however, doesn't give you update possibility.
    You can also use webutil file transfer to get the file to the PC, modify it there, and transfer back to the database.
    Then you still have a problem. Documents uploaded via Forms OLE container are actually modified by Forms before they are stored in the database. So, don't throw away your 6i version yet.
    You need to get all the stored documents out via Forms 6i and save them as a normal document on the file system. Then you can store them back in the database using some other tool, like dbms_lob or webutil's file transfer.
    There are some related discussions on his forum, so just use the Search option, e.g.
    Oracle Forms 10g and OLE Containers, word documents?
    Edited by: InoL on Jul 13, 2011 9:32 AM

  • Can you get form info to stay?

    Hello, and sorry if this has been posted elsewhere.  I'm not even sure how to phrase this question but I mean when you have entered a username...is there a way not to have to enter it EACH time you use it?  Is there a setting somewhere for keeping 'form' info?  Thank you I have an IPad mini.

    You can use AutoFill. Go to Settings>Safari>Passwords and Autofill>Use Contact Info>On. Then go to Contact Info>select your contact from the contacts app. Also go to Names and Passwords>On.

  • Capture Form error CDD-23572 when capturing BOTH design and app logic

    Hi,
    I have a problem when I run the "Capture Form Design" tool in Designer. When I select the capture mode "Capture BOTH module design and application logic", the designer crashes and displays the following error:
    "CDD-23572: The connection to Oracle has been lost. Unsaved changes will be lost."
    The only thing my form contain is a component created by the "Data Block Wizard" that gets data from a simple table, and layout created by the "Layout Wizard" that is connected to the data block.
    The form I try to capture is created in Oracle Form Builder release 10.1.2.0.2.
    Oracle Designer version: 10.1.2.0.2.
    PS: When i run the capture in the capture mode "Capture ONLY module design", it works perfectly fine.
    Does anyone out there have a workaround/ hint to what I'm doing wrong? :)

    It seemed like the problem lied in the database version i was running, 10.1. When I installed 10.2 instead, Designer didn't crash.

  • How to get names of INCLUDE or FORM within included forms

    Hello,
    I want to get names of Include program and included form within included forms.
    I tried SY-REPID or SY-CPROG but these two SYST variables return the name of report program that performs the form, not the name of Include or form.
    Please give me any advice about how to get names of include / included form.
    thanks and regards,
    Hozy

    You can use the statement
    READ REPORT <Report name> into itab
    to read the source code into an internal table.
    Later you can use the "Contains Pattern" operator to get the statements that you need.

  • My PC recently crashed and wiped out all my info including my music..

    My PC recently crashed and wiped out all my info including my music, i still have it all on my ipod. is there anyway possible i can restore the songs on my ipod back into my computer eventhough my itunes library is empty? i read something about turning my ipod into a disk drive.. someone please help me!!

    DO NOT attach & sync your full iPod to an empty iTunes!!!
    These links will give you several methods of recovering whatever songs remain on your iPod; some free, some third-party software, some more comprehensive for restoring Playlists, Ratings, Play Counts, etc. Read them and their associated links before deciding on a strategy that works for you. There are many various third-party software programs that will offer a more robust process, or an easier GUI. Do a Google search for them if the links below leave you wanting…
    Don King Resurrected: Deleted files from hard drive (free user steps – music recovery only)
    MacMuse: Computer Crashed (free user steps – music recovery only)
    Copying music from iPod to computer (a primer on various methods and software)
    Copying Songs from Your iPod to a Mac or PC (resource for 3rd party software)
    iPodRip Software
    PodUtil Software
    YamiPod Software (Free: Mac & Windows)
    PodPlus Software (Windows)
    TuneJack Software (Windows)
    Senuti (Mac OS X v10.3 or higher Recovery Utility)
    XPlay (Windows software For Music Recovery &/or Cross-Platform Functionality)
    XPlay Photo Browser (For recovering Photos)
    Extremely Simple & Free Method: (just to recover the song files – may not work on a Mac)
    1 - Open iTunes
    2 - Edit=>Preferences=>’Advanced/General’ tab
    2a --- Select ‘Copy files to iTunes Music folder when adding to library’: checked
    2b --- Select ‘Keep iTunes Music folder organized’: checked
    2c --- Click OK to store changes
    3 - Attach your iPod to the PC and hold down the ‘Shift+Ctrl’ keys until the iPod is fully recognized (this will defeat the auto-sync process)
    4 - If you get a dialog box to link the Library, decline this option
    5 - Within iTunes: Edit=>Preferences=>’iPod’ tab: switch iPod to manual transfer – click ‘OK’
    6 – Eject iPod
    7 – Close iTunes, then reopen iTunes and attach the iPod (it’s in manual sync now)
    8 – File=>Add Folder
    9 - Browse to and open ‘My Computer’ (click on the ‘+’) and select the iPod
    10 - Click OK
    -- The music files should start to transfer back into iTunes with its correct information
    –-- This will take some time depending on your PC’s speed and the amount of songs on the iPod
    No Playlists, or Ratings, Last Played, & Play Count attributes will be transferred from the iPod to iTunes using this method.
    If you have problems with seeing the iPod within 'My Computer', try again switching your update method to 'manual', detach the iPod, then reconnect the iPod to the PC.
    After recovering your Library, strongly consider developing a thorough and frequent backup strategy for just this type of situation (and many other potential disasters).
    You need at least two full sets of your music, not including what is on the iPod:
    -- One full set on the PC within iTunes (on internal HD or ExHD)
    -- One full set on an separate external backup medium (CD/DVD/ExHD/other)
    -- One (full or partial) set on the iPod
    Music files on just the iPod and only one other medium is not considered having any backup.
    If you cannot store your complete music files on the computer’s internal HD, then create and maintain at least two external sets (any multiple combinations of ExHDs, DVDs, CDs).
    Backup both the music files and the Library database file (iTunes Library.itl). What are the iTunes Library files?
    Here is a post on developing a thorough backup strategy:
    http://discussions.apple.com/message.jspa?messageID=1822938#1822938

  • My friend downloaded iOS 5 to his iPad from my computer and all of my info including email went onto his iPad. How do I get it off his iPad and restore his stuff back on?

    I was trying to download iOS 5 onto my friends iPad using my computer and all of my info including emails etc. synced onto his and erased all of his stuff. How can I get my stuff off of his iPad using my computer (he doesn't have one) and restore his apps etc?

    If he doesn't have a computer and had no backup for his iPad he may be SOL. The entire time that the iPad has been on the market it was designed to be used in conjunction with a computer and iTunes - where all of the content should have been stored. The update to iOS 5 changes that now, but if your friend did not have a backup on a computer he may be out of luck with regard to app data, documents, settings, some saved photos, notes, calendar entries and more.
    He can download all purchased content again as long as he uses the same Apple ID that he used to buy the content originally. You can also see if iTunes created a backup of his iPad contents on your computer from which you can restore his iPad. He will still have to download all apps, books, TV Shows, and music again. If he bought any movies, he will have to buy those again, they are not available as free downloads.
    Launch iTunes on your computer and go to Edit>Prefernces>Devices and see if there is a backup of his iPad on your computer and start there.
    But for the most part, your friend will have to start all over again - erasing all of your content - downloading all of his content - and then setting his iPad up again from scratch.

  • How can I capture forms built in messages

    I need to know as how can I capture and alter form messages like
    'Do you want to save changes?' which gets popped when ever I try to exit a form without saving any changes and similarly the 'close this form?' message.

    hi,
    You can capture forms built in messages in ON-MESSAGE trigger. But the message u given 'do you want to save changes' can eliminate by giving exit_form(no_validation') statement.
    sankar

  • What's the difference between include directive & include action tag?

    I no that the directive is used for including static content,
    while the action is also used for dynamic content.
    So the first one will include the content into the JSP only at compilation time. The second one will include the content every time you access the JSP.
    *<html>*
    *<body>*
    *<h1> Include Action test PAge</h1>*
    *<h2> Using the include directive</h2>*
    *<%@ include file="included2.html"%>*
    *<%@ include file="included2.jsp"%>*
    *<h2> Using the include action</h2>*
    *<jsp:include page="included2.html" flush="true"/>*
    *<jsp:include page="included2.jsp" flush="true"/>*
    *</body>*
    *</html>*    I tried withis code. But its giving the same result.I didn't modified the source. I modified in the included file.As I request for the JSP page I got the same result for both.
    so i just want to know that is thier any way or example by which i can see the difference between these two clearly..
    please help me out.
    thnx.

    As our almighty Google says: @include is compiletime and jsp:include is runtime.
    Install Google at your machine. It's really great. It has answers on almost all questions.

Maybe you are looking for

  • 5.1 Sound via HDMI in Windows 7

    Hi there, I have a MBPr and have got the sound working via internal speakers and also can get surround sound via the optical connection. I'm trying to get surround sound working via the HDMI port though, but so far have had no luck. The system report

  • Service Purchase Order will create GR/IR

    Hi, This is with referece to creating Service purchase order. I Created Service Purchase order but when i am doing GR/IR MIGO and Invoice Verification MIRO.it is not allowing me.my question is for Service Purchase order whether we can do GR/IR and al

  • From R/3 To DSO

    Hello Experts,   I extracted data from r/3  to DSO as a full mode nine times and I run delta infopackage. Everything was fine until the system gave error.   Whenever I run the delta package again, the system said there is a problem with source system

  • Play in Reverse

    PLEASE LOOK AT MY NEWEST POST!! Hello, I was wondering if someone could guide me a little with playing a movie clip in reverse. The major problem I'm having, though, is that I have a frame-by frame animation withing a movie clip called 'card' of a ca

  • 10.8.4 Update won't install

    I have tried numerous times to install this latest update.  It downloads, installs, and then restarts - and then when it comes back up - it is still on 10.8.3 and it shows I have an update to install!  What the heck - I have tried to get this update