Perform static and dynamic check together on a customer?

Hello All,
Is it possible to perform static and dynamic check together on a customer?
I believe standard SAP does not allow both options together.
The scenario is: My client has customer who orders products 1 year in advance and create sales order with a future delivery date. The customer might have balance due on their account which is close to the credit limit. As a result the sale order should be blocked as if the automatic credit check is "Static". This would allow our customer service to call the customer and arrange for the payments.
Then 11 months later, a dynamic check should be performed on the customer to make sure the past due is under the credit limit. If the past due is over credit limit, the sales order must be blocked for delivery as if the credit check was "Dynamic" with 30 days horizon. This would again give our customer service time to settle the payment with the customer.
If anyone has implemented such a scenario, can you please give me an overview of how you did it?
Thanks very much in advance and Text Removed.
With Regards,
AM
Edited by: Lakshmipathi on Nov 13, 2010 9:23 AM
Please dont include this text

Static and Dynamic Cannot be Performed together. They are mutually exclusive events.
Credit check can be performed either at Sale order level or at Delivery / PGI Level.
FCV3 is a good report to see whether a customer would fail a credit check. ( suitable for your customer service )
Coming to your Point , Assuming that the customer is eligible for a Credit of 50 Lacs. Now the Customer has placed an order for 60 Lacs. We set the Customer credit checking at  order level . The Customers Sale order would get blocked.
The Customer service  will follow up for the payment and see to it that it is made. Assume the customer has made a payment for 70 Lacs.
Now let us have a look at the account statement of the customer.
Account Statement :     Customer Cr :  70 Lacs.   Dr   :  0.  ( because no delivery and invoice  so far has been made )  
So we are supposed to deliver the Material worth value of 60 Lacs.
The First sale order worth 60 Lacs has been unblocked in VKM3. Now at the time of Delivery level why would you want to chekc the Credit limit again ? It has already passed the credit check.
It is not necessary to check credit limit . Because you have already performed the same at the order level.
Now the customer has come again and raised another sale order for 80 Lacs. The System would block him.
The system will never block the Previous delivery which you are, due for delivery  to the customer.
If we keep on checking the Credits without delivering we would end up only raising in Sale orders and no Delivery to the Customer  at all. The Debit side of his account will always be 0.
So i donot think Static and dynamic is needed . you can go for either Static or Dynamic.

Similar Messages

  • Credit Management: Difference Between Static and Dynamic Credit Check

    Hi,
    Could anyone tell the difference Between Static and Dynamic Credit Check?
    According to website: http://www.sap-basis-abap.com/sd/difference-between-static-and-dynamic-credit-check.htm ... this is the answer:
    ====================
    Simple Credit Check : Tr.Code - FD32
    It Considers the Doc.Value + Open Items.
    Doc.Value : Sales Order Has been saved but not delivered
    Open Item : Sales Order has been saved , Delivered, Billed & Transfered to FI, but not received the payment from the customer.
    Static Credit Check it checks all these doc value & check with the credit limit
    1) Open Doc.Value / Sales Order Value : Which is save but not delievered
    2) Open Delivery Doc.Value : Which is delivered but not billed
    3) Open Billing Doc.Value : Which is billed but not posted to FI
    4) Open Item : Which is transfered to FI but not received from the customer.
    Dynamic Credit Check         1) Open Doc
                                                2) Open Delivery
                                                3) Open Billing
                                                4) Open Items
                                                5) Horizon Period = Eg.3Months
    Here the System will not consider the above 1, 2, 3 & 4 values for the lost 3 months.    
    ====================
    Question 1: Could you further explain the above information, if there is any?
    Question 2:: What is the Tcode to customize settings of:
    a) Simple Credit Check (isn't this same with b) below?)
    b) Static Credit Check
    c) Dynamic Credit Check

    Hi Tanish,
    Diff between Static and Dynamic Filters.
    Example One at report Level.
    Create a variable for a Infoobject say ,Material .
    1)In the Query Designer and if u restrict it to some 10 materials at query level, the report will display for only those 10 materials only.This is Static Filter.UR AHrdcoding it to those materials.You cant change them at Query Run time.i.e not changeable by user.
    2)If u give the variable as input ,and when u run the query ,u can can choose the material,may 10 may be 1 or may 20 .It is dynamic.Changeable by user at run time
    Example Two at DTP and Start Routine Level,say Document Type.
    1)If u give filters in Start routine it is Static as u cannot change it in Production,not changeable by user.
    2)f u give filters in DTP it is Dyanamic as u can change it in Production.U can give any doc type,Changeable by user at run time.
    Hope it is Understood.
    Rgds
    SVU

  • What does mean You can include static and dynamic tables into a Smart Form?

    Hi guys,
    If you check the official documentation for Smart forms in the Internet you will read that the initial pharagraphs of the text tell you "Tables - You can include static and dynamic tables into a Smart Form. Dynamic tables enable you to display tables whose size is determined only at the moment of their output by the number of the table items to be displayed". The link is the following: http://help.sap.com/saphelp_nw04/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    I was wondering if this means that I can use field symbols with dynamical number of columns to print a smart form. Because it would be great since the customer wanted a dynamical report depending on the week day it was (If Monday, there was only 12 columns, but if Friday, it will be 52 columns (1 column more for every day elapsed in the current week)). I had to create 5 different forms, but I think using field symbols I had spent less effort. Do you know if it is really possible? If not, then what does mean "You can include static and dynamic tables into a Smart Form"?
    Thank you in advance

    Hi ,
    The concept of static and dynamic tables in smartforms, means you can use template- ( static table as no of rows and columns is fixed). Also you can use table- dynamic as the no of rows will depend on your line items.
    Hope this will help you to close this thread.
    Also, try to find this answer in posted forums. Creating a new forum everytime just increases the network traffic. So please try to avoid it.
    Regards,
    Vinit

  • AT0 : static and dynamic processing

    dear guru ,
    whose are the differences in assembly to order with planned
    order between static and dynamic processing ?
    Thanks.

    Hi,
    Static assembly processing :
    If you create a sales order for a material with the 'assembly processing' technique, the system carries out an availability check for the components needed for the assembly and creates a single procurement element in the background.
    The procurement element is assigned to the sales order directly. The number of the procurement element is determined in the sales order.
    Dynamic assembly Processing :
    If you create a sales order for a material with the 'assembly processing' technique, the system carries out an availability check for the components needed for the assembly. Depending on the results of the availability check, either one or several procurement elements are created. The quantity for a one-time delivery and/or the next possible deadline for a full delivery and/or a delivery proposal with then ext possible deadline are displayed on the availabililty control screen.
    During dynamic assembly processing, you can not change the quantities and deadlines. You can, however, select the 'fix date and quantity' field, if necessary. The 'check scope' and 'other plants' functions are not available here.
    The procurement element numbers are not saved in the sales order. The link between the procurement element and the sales order is created using the number of the individual stage (sales order number/item). For this reason, it is possible to carry out another availability check taking into account incoming stock and additional, manually entered procurement elements.
    In Requirements class definition (OVZG), The assembly type indicator determines:
    - Which procurement element is created
    - Whether a 1:1 link exists between the sales order and the procurement element (static procedure) or whether a loose link exists with the option of splitting dates and quantities (dynamic procedure).
    In the case of static assembly order processing, you make the changes to the production order directly from the sales order.
    In the case of dynamic assembly order processing, you must call the production orders separately.
    Also refer link below for more details:
    http://help.sap.com/saphelp_47x200/helpdata/en/41/191eab45fd11d188ff0000e8322f96/frameset.htm
    Regards,
    Ashok

  • Mixing static and dynamic content in a single outputText value causes NPEs

    Hi,
    I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
    I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
    [#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
            at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
            at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
            at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
            at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
            at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
            at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
            at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
            at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
            at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
            at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
            at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
            at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
            at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
            at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
            at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
            at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
    <h:outputText escape="false"
              value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css"  />' />If I replace this with a much more convoluted set of tags, it works:
    <h:outputText escape="false"
              value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
              /><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
    If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
    Thanks,
    Bill

    Yes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
    I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
    For now, multiple tags is the work-around, I guess.
    Thanks,
    Bill

  • Selecting both static and dynamic values in a report.

    Hello,
    I am using the following LOV for a select list in a form based on another post (Re: Static and Dynamic LOV ordering
    It is presenting five static values along with a dynamic LOV.
    select d, r
    from (select n, d, r
    from (select 1 as n, 'NAME_A' d, 1 r
    from dual
    union all
    select 1 as n, 'NAME_B' d, 2 r
    from dual
    union all
    select 1 as n, 'NAME_C' d, 3 r
    from dual
    union all
    select 1 as n, 'NAME_D' d, 4 r
    from dual
    union all
    select 1 as n, 'NAME_E' d, 5 r
    from dual
    union all
    select 2 as n,
    (LNAME || ', ' || FNAME || ' (' ||
    to_char(DOB, 'MM/DD/YYYY') || ')') display_value,
    ID return_value
    from my_name_table)
    ORDER BY n, r asc)
    The static display and return values do not exist in my_name_table, but the static return values are recorded in my_main_table when the user submits the form.
    The tables look like this:
    my_main_table:
    record_id
    name_id
    my_name_table:
    name_id
    fname
    lname
    How can I present the display values associated with the static return values recorded in my_main_table along with the dynamic display values in a report? I am currently presenting the dynamic portion in a report using the following select statment:
    select
    (my_name_table.LNAME||', '||my_name_talbe.FNAME) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID
    I have the additional problem that the static return values are not in my_name_table so the join in the last statement will not find the static values in my_name_table.
    Edited by: mterlesky on Feb 24, 2009 9:51 AM

    1. You will need to add an outer join to return all the values in the Main table.
    2. Then decode the values for the static LOV.
    Something like (this is not tested, but should give you the idea)
    select
    decode(my_main_table.NAME_ID,1,'NAME_A',2,'NAME_B',3,'NAME_C',4,'NAME_D',5,'NAME_B',(my_name_table.LNAME||', '||my_name_talbe.FNAME)) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID(+)
    This will all break if any of your static LOV ID values clash with your dynamic LOV ID values.
    I am now going to give you a long lecture about hard coding values ..... ;)
    Related info: http://simonhunt.blogspot.com/2009/02/how-to-cope-with-list-of-values-lovs.html
    I hope that helps
    Shunt

  • How to achieve the static and dynamic tooltip

    I am using jsf 2.0
    I need to achieve the static and dynamic tool tip.
    can u plz provide me the solution

    No we dont have both RichFaces and tomahawk
    Edited by: 814412 on 23-Nov-2010 20:55

  • [SOLVED] Question about network setup static and dynamic

    I am trying to set up an Arch install on my other pc.  I have used Ubuntu and then Linux Mint for a year+ and Arch has always intrigued me so I am attempting to install it now.  I do consider myself a pretty advanced computer user/programmer but computer networking has always confused me a little.  I'm not quite understanding whether I setup my network with a static or dynamic ip.  This is what I know
    I have a static ip assigned to me by my ISP but I do have a router so it assigns me a different internal ip.  Does that make my ip dynamic?
    Last edited by c26zwj (2013-03-14 18:24:35)

    If your ISP assigns a static IP then your IP in the internet is static. If you have a different internal IP then your router is running a DHCP server and performing network address translation. Your IP on the LAN is dynamic (unless you configure your router to assign static IPs, which can be useful if you want to forward ports to a specific computer). You most likely want to use DHCP to obtain a dynamic internal IP when you connect. The external IP is beyond your control (it is managed by the ISP and assigned to the router) so you do not need to worry about it.

  • Static and dynamic Relationships in PI 7.0

    Hi,
    We are trying to implement Static and Dynanic relationships in PI7.0 or PI7.1. I would like to know if any component in PI will support this functionality?
    Your Help is appreciated!!!

    HI Venkat
    What exactly you are trying to achieve let us know. This is not clear
    Both PI version have lots of similarity and even they can work together in a single environment. But whats your requirement based on that we can help you.
    Thanks
    Gaurav

  • Difference b/w static and dynamic pdf

    hi...
    I want to know how can I check for a pdf as "Dynamic or static" in a process?
    Is there any specific property which can be checked through (or in) the process?
    I guess, content type for both will be "application/pdf".
    Please, let me know. its really urgent for me.
    Thanks and Regards
    Ambika

    hi...
    I want to know how can I check for a pdf as "Dynamic or static" in a process?
    Is there any specific property which can be checked through (or in) the process?
    I guess, content type for both will be "application/pdf".
    Please, let me know. its really urgent for me.
    Thanks and Regards
    Ambika

  • Static and dynamic multipoint ipv6 tunnel

    Hi everybody.
    How is everyone doing?
    My book says " the dynamic forwarding logic requires more work per packet as compared to point-point tunnels which is one of the main reason multipoint tunnels are best used for less frequent traffic while point-to-point tunnels are best suited for more frequent traffic"
    In case of multipoint ipv6 tunnel, router has to drive the tunnel destination ip which is encoded in ipv6 address . What  other work is performed on a packet when it comes to multipoint ipv6 tunnel which is not performed in case of static ipv6 over ip tunnel ?
    thanks and have a great day

    Hi Sarah,
    Apart from "extracting" the embedded IPv4 address from the IPv6 address and placing it into a newly constructed IPv4 encapsulating header, I do not think there is any more significant work involved for multipoint tunnels. It is true that with static point-to-point tunnels, you can already have that header prepared beforehand in memory for all packets - you just use it again and again. With dynamic tunnels, you have first to derive the destination IPv4 address and then place it into a new IPv4 header but even this can be done in software so that the difference in the amount of work is negligible.
    Best regards,
    Peter

  • Web Performance (Static vs Dynamic pages)?

    Hello all, I am building a web site like
    http://www.bizrate.com/buy/browse__cat_id--402,de_id--300.html
    and want to know if I use jsp to generate web pages(e.g. a user browse by Resolution), then each time the server would recompute and get the same result pages. (If my data doesn't change)
    So, should I generate theses pages statically, or use jsp to generate these pages dynamically? If static, my server load should be lower.
    Tomcat 4.1.24, Redhat 8.0, MySQL
    Thanks in advance.

    Realistically, how often do you expect your pages to be accessed? How long does the dynamic rendering of a page take to complete? How soon does new data need to appear online?
    If you have short rendering times and only a few hundred accesses a day, then there is no reason to worry about static generation of your pages, the dynamic generation of pages will suit your needs.
    If, however, you have long rendering times (a complex query returning tens of thousands of rows will do it) or if you are looking at a huge number of accesses (lottery sites can get millions per month) and you don't need new information to appear immediately, the once-daily dynamic generation of static pages (via a cron job or other means) will suit your needs.
    Check your needs, check your site with dynamic generation under load, and your question should answer itself.

  • Weaving (static and dynamic)

    I'm having a lot of difficulty setting up weaving (for entities with OneToOne lazy load relationships). I have searched all day on forums here and else where but to no avail on how to get this correctly setup.
    I am using Netbeans 5.5.1 for a standalone Java SE desktop applications, with JPA and toplink for the database access. This is what I have tried so far:
    1) Dynamically weaving using the <property name="toplink.weaving" value = "true" /> in the persistence.xml file and the "-javaagent:C:\libs\toplink-essentials-agent.jar" as the VM option at runtime. When doing this, the program begins but as soon as something is done to query an entity with a OneToOne relationship, an exception is thrown because methods on the "woven" entities are not found. It appears that the entity's methods are changed in one place but not in another perhaps?
    However, I would really like to statically weave these entities since ultimately deployment will be done using Java WebStart. I have tried to create an ant script to do this in the netbeans project build.xml file. This is what I have so far:
    <target name="define.task" description="New task definition for toplink static weaving">
    <taskdef name="weave" classname="oracle.toplink.essentials.weaving.StaticWeaveAntTask"
    classpath="libs/toplink-essentials.jar"/>
    </target>
    <target name="weaving" description="perform weaving" depends="define.task">
    <weave source="C:/JavaDev/projectName/dist/projectName.jar"
    target="C:/JavaDev/projectName/dist/projectName1.jar"
    loglevel="FINER">
    <classpath>
    <pathelement path="C:/JavaDev/projectName/libs/toplink-essentials.jar"/>
    </classpath>
    </weave>
    </target>
    (I am working of an example from an Oracle page.) The problems that I am running into with this are as follows:
    1) I don't really know what I am supposed to put in the <classpath> tag.
    2) When I run this through Netbeans (right click -> Run Target) it tries to run but at the first entity that it tries to weave none of the annotations appear to be recognized because it complains about the entity not having an @Id, etc.
    I am REALLY stumped on this and have spent a lot of time. Any help in regards to setting up static weaving with a Netbeans project would be GREATLY appreciated.
    Thanks in advance!

    Thanks for your response Doug.
    I have run it with that logging option and didn't notice anything out of the ordinary. The log says that it creates a temporary class loader, overrides load class for collection members (true), the weaver processes my classes, and registers a transformer.
    When I try to load an entity that has a OneToOne relationship, I get a:
    Exception [TOPLINK-0] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.IntegrityException
    followed by a:
    Exception [TOPLINK-60] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_setpatronData_vh] or [_toplink_getpatronData_vh] is not defined in the object [edu.byui.fitnesscommon.model.FitnessPerson].
    Internal Exception: java.lang.NoSuchMethodException: edu.byui.fitnesscommon.model.FitnessPerson._toplink_getpatronData_vh()
    Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[patronData]
    Descriptor: RelationalDescriptor(edu.byui.fitnesscommon.model.FitnessPerson --> [DatabaseTable(FITNESS_PERSON)])
    Which gives a NullPointer runtime exception.
    I took out the fetch = FetchType.LAZY from the OneToOne mapping, and the program executes just fine.
    Thanks for your help on this. (Also if anyone knows anything about the static weaving, any help would be greatly appreciated.)

  • Is it possible to have a PDF Form that is both static and dynamic?

    So I have a form that I need to make that would consist of two different pages. The first being lots of form fields and some simple graphics where the user could use the comment markup tools to draw some simple lines. The second page would be all text and filling out narrative. So the second page being dynamic and being able to expand would be important. The first page would not need to expand at all. Is there any way to do this and still have the form be one file, one document? What about embedding a dynamic form inside of the static form? Such as how you can embed a word document inside of an excel form... I've done some research but I can't tell if this is even possible. Thanks in advance.

    Yeah I kinda figured that... Really too bad. Seems lke it should be possible somehow. Anyway, do you all have any suggestions about the best way to combine a static form that is really just text fields and such (that comments and markup tools can be used in) with another page that is sections of narrative that would need to be able to flow?
    Or better yet, a way to draw lines on to a form without using the comment and markup function?
    I like your idea about connecting two forms - but I need to keep the final product as simple as possible. Once the user fills it out, they would be to be able to submit it and it show up as one file, even if that is just a flat file. I don't expect you all to tell me how to do this, but it would be nice to know its possible before I commit to the project and research. Thanks in advance.

  • Dynamic ALV with Static and Dynamic attributes

    Hi All,
    In my requirement we have some 5 static attributes and rest attributes needs needs to be dynamically created based upon the input selections. for eg my input for start date and end date is between 201023 to 201152 then weeks between this range should apear as dynamic columns.
    i am able to create a dummy alv table display with out populating data into it but unable to set the data to it . Kindly help me in solving this issue.
    Regards,
    Sana.

    You might have created a dynamic node, bind the data to this node and after that use the SET_DATA method of ALV interface controller to set the data by passing the dynamically created node.

Maybe you are looking for