Determine the GLU selected on the calculated extended attribute

The computation of the results based on values with different units of measurement (UDM), how can I know the unit of measure defined on a calculated digital extended attribute? For example, to get the values target in inches, if I calculate volume length * width * height will produce a value in cubic inches. If the extended attribute GLU has cubic feet, then I need to covert the returned results in inches cubic to cubic feet. The question is, I can determine the unit of measurement for the digital extended attribute computed in the calculation script so that I can calculate the value of the correct unit of MEASURE, or do I have to use a custom calculation class?

The calculated environmental assessment can have a specified unit of MEASUREMENT, which means that if your calculated EA is Volume, configure you it with a specific unit of MEASURE (for example, cubic feet). Therefore, your JScript can ask values EA of the length, the width and height to return to the unit of MEASURE you need (feet)

length of var @ GetCellInMyRowByColumnID ('LENGTH'). Value.GetNumericValue ("pi");
var height @ GetCellInMyRowByColumnID ('HEIGHT'). Value.GetNumericValue ("pi");
var width @ GetCellInMyRowByColumnID ('WIDTH'). Value.GetNumericValue ("pi");

Tags: Oracle Applications

Similar Questions

  • Custom section is sign - extended attributes

    Hi, I have a question.

    Anyone know how to get the size of the portion of the summary on a nutritional profile tab and put it in an extended attribute?  Is there a method I can use to get this attribute of data?

    What portions by packaging?  How would I read that in an extended attribute?

    Thank you

    You can use the name of the variable "AmountPerServing" or you can even skip pulling exactly by portion of value.   Or you can use our out of the box function "GetNutrientValuePerServing" to get the real value of the nutrients per serving.   You can see all the available variables and functions of the calculated Extended attribute the User Guide which is part of the Pack of extensibility.

    Mangement of agile product lifecycle for process scalability Pack v3.9

  • Determine the number of channels selected for traditional DAQ

    The blocks 'DAQmx task' and "Traditional DAQ Channel" look pretty similar (see attachments). The DAQmx block ist an individual selection of channels and I am able to determine the number of selected channels.

    Now I am trying to determine the number of selected channels to a traditional DAQ, but the property DAQmx block does not work here. I already tried the trad to some form of blocks. Range of data acquisition, but failed.

    Any idea?

    In traditional DAQ, there are several ways of specifying the list of channels. Assuming that your picture shows how you use your channel list is just a string of delimited by commas. Wire a constant to a string array node worksheet and specify "comma" as the separator and the number of columns must tell you the number of channels.

    Ben

  • 12.2.4 creating a requisition internal error (error of calculation of the tax: the system cannot determine the geographic information for this place and cannot be derived from a tax jurisdiction).

    Hi all

    I have created a new configuration of client and location. Now try to create IR and get below error.

    ----------------

    Error: The tax calculation: the system cannot determine the geographic information for this place and cannot be derived from a tax jurisdiction. Please contact your system administrator.

    --------------------

    I've made a few changes by looking at Doc-ID 1385936.1 and community discussions.

    Ran "Name geography program SEO" and the journal looks very good. No registration rejected.

    +---------------------------------------------------------------------------+

    From simultaneous program ' geo referencing worker name: 1'

    Start 08/07/15 07:44:56

    Treatment for the Table: HZ_LOCATIONS and run Type: ALL

    Parameters: Country Code: U.S.

    Use code: all THE

    Location Id: NULL: location Id: null

    Start date: NULL: End Date: NULL

    Number of workers: 1

    Total number of records of location of treaties: 7319

    Number of records managed: 7319

    Number of rejected records: 0

    Name of georeferencing process completed successfully

    +---------------------------------------------------------------------------+

    But still, I get the same error during the creation of IR

    Someone help me please by looking in the uploaded screenshots. Incase if any additional necessary information, pls let me know.

    This is related planning tests for this customer, I don't know about this part of the tax.

    Any help is really appreciated. Thanks in advance.

    Akshay

    PS: This is not the sensitive customer data.

    Hello Akshay,

    Can you please follow the note Transaction Workbench error: System cannot determine your location for information
    This location and cannot derive from a tax jurisdiction (Doc ID 438718.1) and see if that helps

  • Calculation of the extended attribute

    Hello

    We would like to implement an extended attribute that is calculated by using the function "GetNutrientValuePerServing".

    When we run this attribute on a nutritional profile, it works fine.

    But our goal is to use this value in a custom section, membership in a trade in relation to this nutritional profile.

    How do I achieve this?

    Thank you very much.

    Kind regards

    Annarosa

    Take a look at the ReferenceImplementations\CalculationExtensions\SourceCode\CalculationExtensions\ExtendedAttributes reference implementation classes

    The NutrientItemPer100gToUOMCalculator class, for example, gets material Spec (IIngredientSpecBO) business object through the context. Good DynamicScriptVariableResolver.Entity:

    ...

    public object Invoke(object[] parameters, IDynamicScriptMethodContext context)
            {
                double returnVal = 0;
                string nutrientItemId = parameters[0].ToString();
                string toUOMISOCode = parameters[1].ToString();
    
                if (context.DynamicScriptVariableResolver.Entity is IIngredientSpecBO)
                {
                    IIngredientSpecBO ingSpec = (IIngredientSpecBO)context.DynamicScriptVariableResolver.Entity;
    ...
    

    You should do something similar by cast on interface Xeno.Prodika.GSMLib.BusinessObjects.ITradeSpecBO (of GSMLib.dll), which provides a property called ActiveNutrientProfile. This property returns an INutrientProfileBO.

    You may need to cast to the nutrientProfileBO to IGSMNutrientItemsContainer, and then retrieves the NutrientItems property, which is an IGSMNutrientItemsBOCollection and has different methods of GetNutrientItem *.

    Kind regards

    Ron

  • determine the 'parent' of a selection

    Assuming that the cursor is in a story or selected text in a story, how, of app.selection, determine the paragraph, in which the cursor is?

    Of the paragraph, I could not history but I can't find any 'parent' properties from a selection to determine where he is.


    TX, Dave

    The cursor being placed in a story or with selected text:

    App.Selection [0] .parentStory > history

    App.Selection [0] .paragraphs [0] > paragraph selected (if you have selected more than one paragraph, only the first selected paragraph).

    Peter

  • I'm figuring (add) a column on a PDF form and on the calculation tab, it doesn't let me select (check) the fields I want to calucalate.  It won't let me type in the fields of the box either.

    I'm figuring the shape (add) a column (sum) on a pdf file and on the calculation tab, it won't let me select (check) the fields I want to use in the calculation.  It won't let me type fields in the box either.  I'm doing something wrong?

    the mouse click on the name of the field and press the space key

  • Determine the index of the selected items in a ListBox?

    Hello

    I can't find a simple/direct method to determine the index of the selected item in a list box.

    I feel I'm missing something, but I can't seem to figure out who (if any) returns an index number if you use it with the recall of .onChange for a ListBox control.

    The following code implements that I need, but is not particularly efficient or elegant and can get confused if you introduce multiple lists to check.

    Any suggestions to reproduce this behavior, even with the best code would be appreciated.

    Thank you!

    var RES = ' palette {text: 'Example-list' properties: {resizable: true}-} ".

    NLP: Panel {orientation: 'row', preferredSize: [400 600]------}

    list1: ListBox {preferredSize: [400 550], properties: {multiselect: true, numberOfColumns:2, showHeaders:true, columnTitles: ["list 1", "item 0"]}}, \

    }}"

    var win = new Window (res)

    Win.Show)

    for (i = 0; i < 10; i ++) {}

    var line = win.pnl.list1.add ("point", "Same entry")

    row.subItems [0] .text = ' paragraph '+ i}.

    Win.PNL.List1.OnChange = function() {}

    var tempArray = new Array()

    for (i = 0; i < win.pnl.list1.items.length; i ++) {}

    If (win.pnl.list1.items [i] .selected == true) {tempArray.push (i)}

    }

    selectedRow = win.pnl.list1.items var [tempArray [0]] .text

    var selectedRowSubitem = win.pnl.list1.items [tempArray [0]] .subItems [0]

    Alert ("selection:" + tempArray + "\n posted content:" + selectedRow + "\t" + selectedRowSubitem)

    }

    .. .in the same time, that should be enough

    win.pnl.list1.onChange = function() {
         alert(this.selection.index); // for this to work set, multiselect:false
    }
    

    I guess you already tried and the result is 'undefined', the reason is that you have this property

    multiselect:true
    

    in this case, the selection returns an array

    this.selection[0].index;
    

    I'd give you the first selected item, even if you only have a single element selected, for all selected items to loop through all the elements in the selection table.

    not sure if the wonderful guide Peter explains this (explained in the Guide to the tools), but you should read it too, he has tons of info.

  • Determine the Type of the extended Allocation

    Does anyone know how to tell you if a tablespace has been configured to use the extended ASSIGNMENT AUTOMATIC or UNIFORM. I can see in dba_tablespaces if the measure is dictionary or managed locally. I can also see if it uses SAMS or not but I am struggling to see where the real extended allocation method is recorded

    Thank you
    Jim

    http://docs.Oracle.com/CD/B19306_01/server.102/b14237/statviews_4157.htm

    ALLOCATION_TYPE

  • greatness of calibrated 2 2 mouse moving measure determine the axis of rotation

    Hi all

    like other posters, I am very new to LabView, so if it is a very simple problem, please have discretion and still try and point me in the right direction - thanks!

    I'm trying to measure the extent of the optical mouse movement by calibrating to another.

    I have attached the VI below - the original VI was a VI of detection of position that was available on the forums.

    Basically, the problem I have right now is that I need only the first value that goes into the registry change however it constantly displays the values when the Enter key is not pressed.

    Finally, I want to measure the 2 mouse movement at the same time to determine an axis of rotation and angular displacement, but I don't know how to acquire the position of the two mice, so if you have any suggestions for this problem I would appreciate it really only also.

    Thank you!

    Brad,

    Please specify your logic.  I modified your program to demonstrate a way to do this.  I replaced the subVIs with two controls: a back button and a slide called mouse switch. I added a registry to offset to keep track of the previous position of the back and simple logic to detect only the transitions of T F and F and T.  Then he used two structures case to place the appropriate value for the mouse in the registry to offset and to do the calculations and refresh the display.  The structure case T F could be replaced by a Select node in the palette of comparisons.

    I also increased the waiting time so that you can see the LEDs transitions.

    Lynn

  • ASM: determine the total number of bytes read/written &amp; Ops / s

    Hello

    My environment:

    • Oracle 11.2.0.3 EE
    • SuSE Enterprise Linux 11 SP1, 64-bit
    • ASM starts on RAW LUNS (2 per group) Hitachi disk storage
    • DB-server: HP DL380 G7

    I want to disc ASM ssd drive switch, direct attach to via HP DS2700 attachment:

    • DiskGroup + DATA
      5x400GB Enterprise SSD, RAID 5, 1.6 TB of raw capacity
      used to redo, data files
    • DiskGroup + ARCH
      4x400GB Enterprise SSD, RAID0 + 1, capacity of 800GBraw
      used to redo, Archives, Flash Recovery Area

    As I understand until this SSD technology, SSD have a livetime, indicating that there is a guaranteed amount of data that can be read/written on this subject. My goal is to design a system that has no point of two ssd failure in the same RAID group.

    1. How can I determine the total number of bytes read/written in ASM starts so far?
      My idea was to dermine ASM block size (select block_size from v$ asm_diskgroup) and then look at total reads and writes columns via iostat command in asmcmd. I guess that these values are since the last start of the DSO.
    2. Is it possible to determine the IOPS / sec per diskgroup?

    Thank you
    SCSI

    Casimir wrote:

    Do the calculation for 1. gives me an odd result:

    ASMCMD disk group management controls said that the default view is the amount of bytes and that the -io parameter must be used to display the number of e/s instead.

  • Determine the maximum use of the processor for a virtual computer in the custom user interface

    I want to determine the maximum use of the processor for a virtual computer in the custom user interface.  How can I do this?

    If I use a supermetric, there is no kind of attribute under CPU called "maximum use.

    Certainly, you get points for a long question! Although to be fair, it's probably my fault to feed you so much information to digest at once.

    1. I would say you can do two ways visually. Use the operations > detail view for 'normal ranges' use the upper limit of the normal range as your typical max. You want an absolute peak, add the metric of a graph or observe that highlight high and low watermarks.

    2. There are a lot of ways to display data, but if you want to display a single metric over a period of time, we could use the following widgets [on top of my head]:

    Top - N analysis

    Weather map

    Analysis of distribution of data

    Among these, I think of your desire for a "peak". Who you want real value, which eliminates the weather map. Then, I think that the concept of a 'Summit' and what is the best thing, I think that the 95th percentile... then I came with the widget of data distribution. The decision is ultimately yours given your particular use case.

    3. you can have it apply to several virtual machines - it's just a widget capable of being an independent provider or receiving widget (metrics, DO NOT choose to select resources). Each resource/metric will add to the widget and you can remove them if you like after it is added. You can certainly all the time you visit... It is date and time standard options you have in all the other widgets chart. With the widget data distribution, you want as much time as possible to get an accurate histogram of the cycles of workload.

    4. This is similar to the question above. You can certainly add parameters of individual resource or a DM that summarizes or AVG groups of resources. And as above, the delay is configurable, along with the other graph widgets.

    5. it's part of Q4 - you can sumN or avgN up to any number of resources with a SM, then discovers that SM in the widget of data distribution. When I said container, I mean an application, group resource pool... all that acts as a container parent within the vCOps.

    6. that's correct, SMs calc using data collected last points... aka single period of time. When you are referring to the longest period, I gave you a few examples of the attributes that are composed of several periods of time which are calculated and created by the adapter for VMware vCenter behvaior. In this case, you have the GVA 15 min CPU 1.5; These specific simple mobile GVA can be specific OR a copy using SMs. Next, you will have the chance is to find a way to distribute what you need through a widget [at that time].

    7. the distribution of data is not for export, it is for Visual functions. If you want the data in CSV, just use a typical chart of metrics and export to a csv and calc your own pics, avg, 95th, whatever.

    8. This is a bit of a mix of all your questions, put in place.

    You are right, if you added those 3 VMs, then calc was the 95th of the AVG. Like Q7, you would not export the data of the distribution of data because the raw data points are not - you do not pass the metric to a metric graphics standard and export via csv.

    Take advantage of...

  • Determine the next deadline Date

    I have a table that contains the definition of the schedule, a schedule defines when a document should be submitted to a specific part. The definition of annex contains a start date and end date, a type of recurrence (is pointed it out a time or on a recurring schedule) and the frequency to which the document should be filed. The second table provides a history of comments, this option stores while it was due and when it was received. Earlier this month, pre-fill us the layout table with a list of records that will be due for the month. For example, on 1 September look us through all schedules and determine which ones would have a record due to a certain point in the 9/12 and then to create a record in the presentation table.

    I have questions, the calculated the tender documents list to work properly.

    The DDL and DML will be in a follow up post

    Here's the query I use currently and is unable to work properly.
         with schedules as (
           -- generate a list of valid permit schedules
           select s.schedule_id,s.submittal_frequency_months,s.recurrence_type,
           s.first_due_date,s.requires_approval,
           round(round(months_between(to_date('09/01/2012','mm/dd/yyyy'),s.first_due_date))/decode(s.submittal_frequency_months,0,1,s.submittal_frequency_months)) recurrence_number
           from permit p join schedule s on (p.permit_id=s.permit_id)
           where p.permit_id=nvl(:p_permit_id,p.permit_id)
           and p.permit_status_type_id=1 -- only active permit
           and s.recurrence_type in ('One Time', 'Recurring') -- submittals with a defined schedule
           and coalesce(s.last_due_date,sysdate) >= sysdate -- only submittals whose last due date has not passed, null last date included
           and trunc(s.first_due_date,'mm') <= to_date('09/01/2012','mm/dd/yyyy') -- only valid start dates
           --and round(round(months_between(to_date('09/01/2012','mm/dd/yyyy'),s.first_due_date))/decode(s.submittal_frequency_months,0,1,s.submittal_frequency_months)) >0
           )
         -- create a list of all potential due dates for these schedules
         select submittal_id_seq.nextval,schedule_Id,8,requires_approval,
         case 
          when recurrence_type='One Time' 
            then first_due_date
          when recurrence_type='Recurring' and trunc(first_due_date)=to_date('09/01/2012','mm/dd/yyyy')
            then first_due_date
          else add_months(first_due_date,(submittal_frequency_months*d.iteration)) 
         end next_due_Date,user,sysdate,user,sysdate
         from schedules cross join (select level iteration from dual connect by level <= (select max(schedules.recurrence_number) from schedules)) d
         where schedules.recurrence_number <=d.iteration
         and 
         trunc(case 
          when recurrence_type='One Time' 
            then first_due_date
          when recurrence_type='Recurring' and trunc(first_due_date)=to_date('09/01/2012','mm/dd/yyyy')
            then first_due_date
          else add_months(first_due_date,(submittal_frequency_months*d.iteration)) end,'mm') = to_date('09/01/2012','mm/dd/yyyy') -- limit the records to the date in question
         and not exists
         (select null from submittal sub
          where sub.schedule_id=schedules.schedule_id
          and trunc(sub.due_date,'mm')=to_date('09/01/2012','mm/dd/yyyy'))
          -- exclude those that already have a submittal record
    ;
    Basically I found all possible records in the table in the annex that could have a record expected in September, and then generate a result for all possible instances and then look at only those whose calculated due date is 01/09/2012. I have determined that the root problem, I have right now is this line:


    (select level iteration of double connect by level < = (select max (schedules.recurrence_number) of planning)) d

    ID of the 469907 planning has a start date of 15/05/1992 and a frequency of all 2 months. I calculate what I call the number of recurrence, i.e. the number of times that the calendar has occurred since its beginning now. I use to make a calculation of add_months from the start date and then finally compare the start dates of these calculated with my month of target (09/12). In this one case records the calculated number of recurrence is 122. Then when I generate the connect by level is 122 records for each schedule, so I end up with duplicate records in the presentation for many schedule table. This current request could probably work if I could find a way to make the specific annex level ID, but I did not that far.

    Besides the fact that it returns erroneous results, I think that there must be a better, more efficient method to determine which records are due for a given month. I thought there are probably some great way to use the clause type here, but I don't have a knowledge on that one yet.

    If you run the insert statement what follows, you will see that it inserts more than 2,400 records:
    insert into submittal (submittal_id,schedule_id,submittal_status_type_id,requires_approval,due_date,created_by,created_date,modified_by,modified_Date)
         with schedules as (
           -- generate a list of valid permit schedules
           select s.schedule_id,s.submittal_frequency_months,s.recurrence_type,
           s.first_due_date,s.requires_approval,
           round(round(months_between(to_date('09/01/2012','mm/dd/yyyy'),s.first_due_date))/decode(s.submittal_frequency_months,0,1,s.submittal_frequency_months)) recurrence_number
           from permit p join schedule s on (p.permit_id=s.permit_id)
           where p.permit_id=nvl(:p_permit_id,p.permit_id)
           and p.permit_status_type_id=1 -- only active permit
           and s.recurrence_type in ('One Time', 'Recurring') -- submittals with a defined schedule
           and coalesce(s.last_due_date,sysdate) >= sysdate -- only submittals whose last due date has not passed, null last date included
           and trunc(s.first_due_date,'mm') <= to_date('09/01/2012','mm/dd/yyyy') -- only valid start dates
           --and round(round(months_between(to_date('09/01/2012','mm/dd/yyyy'),s.first_due_date))/decode(s.submittal_frequency_months,0,1,s.submittal_frequency_months)) >0
           )
         -- create a list of all potential due dates for these schedules
         select submittal_id_seq.nextval,schedule_Id,8,requires_approval,
         case 
          when recurrence_type='One Time' 
            then first_due_date
          when recurrence_type='Recurring' and trunc(first_due_date)=to_date('09/01/2012','mm/dd/yyyy')
            then first_due_date
          else add_months(first_due_date,(submittal_frequency_months*d.iteration)) 
         end next_due_Date,user,sysdate,user,sysdate
         from schedules cross join (select level iteration from dual connect by level <= (select max(schedules.recurrence_number) from schedules)) d
         where schedules.recurrence_number <=d.iteration
         and 
         trunc(case 
          when recurrence_type='One Time' 
            then first_due_date
          when recurrence_type='Recurring' and trunc(first_due_date)=to_date('09/01/2012','mm/dd/yyyy')
            then first_due_date
          else add_months(first_due_date,(submittal_frequency_months*d.iteration)) end,'mm') = to_date('09/01/2012','mm/dd/yyyy') -- limit the records to the date in question
         and not exists
         (select null from submittal sub
          where sub.schedule_id=schedules.schedule_id
          and trunc(sub.due_date,'mm')=to_date('09/01/2012','mm/dd/yyyy'))
    ;
    You can see the problem after the words:
    select schedule_id,count(0)
    from submittal
    where trunc(due_date,'mm')=to_date('09/01/2012','mm/dd/yyyy')
    and submittal_status_type_id=8
    having count(0) >1
    group by schedule_id;
    Tony

    Hello

    I think you want something like Bob solution. To avoid any computation MONTHS_BETWEEN again and again, you can do it once, in a subquery, like this:

    WITH     got_month_num     AS
    (
         SELECT     schedule_id, rec_type, rec_months, first_due_date
         ,     MONTHS_BETWEEN ( TRUNC (SYSDATE,        'MONTH')
                          , TRUNC (first_due_date, 'MONTH')
                          )       AS month_num
         FROM    schedule
    --     WHERE     ...     -- If you need any filtering, put it here
    )
    SELECT     schedule_id, rec_type, rec_months, first_due_date
    ,     ADD_MONTHS (first_due_date, month_num)     AS this_due_date
    ,     FLOOR ((month_num + 1) / rec_months)     AS iteration
    FROM     got_month_num
    WHERE     MOD ( month_num
             , CASE
                   WHEN  rec_type = 'Rec'  THEN  rec_months
                                    ELSE  month_num + 1
               END
             ) = 0
    ;
    

    The WHERE clause in the main query ensures that you will only get results that have a current month end_date.

    Using the sample data that Bob posted, the result is:

    SCHEDULE_ID REC REC_MONTHS FIRST_DUE THIS_DUE_  ITERATION
    ----------- --- ---------- --------- --------- ----------
              4 One          1 16-SEP-12 16-SEP-12          1
    

    Schedule_id = 1 is not due until January and schedule_id = 2 is not due until November.

    Published by: Frank Kulash, Sep 12, 2012 13:08
    Column corrected iteration. (You can't that column, anyway.)

  • Run a query that will determine the number of parts to produce

    I have the task I have to determine the number of parts that need to be produced based on the number of products sold for the day (each product consists of several parts).

    I use SQL 11g Express.

    I watched this during so long and tried so many different ways. Here's some of what I tried, with the error messages. I don't know where I am going wrong get this calculation. Here, any help is greatly appreciated!

    Here's my info:
    /**PRODUCT**/
    
    CREATE table Product
    (
        SKU       VARCHAR2(10) NOT NULL,
        ProdDesc   VARCHAR2(50) NOT NULL,
        Price      NUMBER(5,2),
        PRIMARY KEY(SKU)
    );
    
    /**PART**/
    CREATE table Part
    (
        PartID     NUMBER(6) NOT NULL,
        PartDesc   VARCHAR2(50) NOT NULL,
        PRIMARY KEY(PartID)
    );
    
    /**PRODUCTPART**/
    CREATE table ProductPart
    (
        SKU        VARCHAR2(10) NOT NULL CONSTRAINT fk_ProductPart_Product REFERENCES Product (SKU),
        PartID     NUMBER(6) NOT NULL CONSTRAINT fk_ProductPart_Part REFERENCES Part (PartID),
        NumOfParts NUMBER(3),
        CONSTRAINT pk_ProductPart PRIMARY KEY (SKU, PartID)
    );
    
    CREATE table Customer
    (
        CustID     NUMBER(6) NOT NULL,
        CustFname  VARCHAR2(20) NOT NULL,
        CustLname  VARCHAR2(20) NOT NULL,
        Company    VARCHAR2(40),
        Address    VARCHAR2(40) NOT NULL,
        City       VARCHAR2(30)NOT NULL,
        State      VARCHAR2(2)NOT NULL,
        Zip        NUMBER(5)NOT NULL,
        Phone      NUMBER(10)NOT NULL,
        PRIMARY KEY (CustID)
    );
    
    CREATE table CustOrder
    (
        OrderID    NUMBER(6) NOT NULL,
        Qty        NUMBER(3) NOT NULL,
        OrderDate  Date NOT NULL,
        SKU        VARCHAR(10) NOT NULL CONSTRAINT fk_CustOrder_Product REFERENCES Product (SKU),
        CustID     Number(6) NOT NULL CONSTRAINT fk_CustOrder_Customer REFERENCES Customer (CustID),
        PRIMARY KEY (OrderID)
    );
    
    
    Here are some of the queries:
    
    SELECT ProductPart.Qty
        (
    SELECT CustOrder.SKU,
    sum(CustOrder.qty)
    FROM CustOrder
        GROUP BY CustOrder.SKU;)
    FROM ProductPart
    WHERE ProductPart.Qty * sum(CustOrder.Qty)
    
    
    ORA-00936: missing expression
    
    SELECT o.OrderDate AS "Date Ordered",
           o.OrderDate + 5 AS "Date Due",
           pp.PartID AS "Part No.",
        pp.NumOfParts * COUNT(o.SKU) AS "Qty"
    FROM CustOrder o
    JOIN ProductPart pp
      ON o.SKU = pp.SKU
        GROUP BY pp.PartID, o.OrderDate, COUNT(o.SKU)
    ORDER BY o.OrderDate
    
    
    ORA-00934: group function is not allowed here
    
    SELECT ProductPart.Qty,
           ProductPart.PartID,
           ProductPart.PartDesc
    (SELECT COUNT(CustOrder.SKU)
     FROM CustOrder
     GROUP BY CustomerOrder.SKU)TotalProducts,
    ProductPart.Qty * TotalProducts AS "Qty"
    FROM ProductParty
    WHERE CustOrder.SKU = Product.SKU
    AND Product.SKU = ProductPart.SKU
    
    
    ORA-00936: missing expression
    
    SELECT ProductPart.Qty,
           ProductPart.PartID,
           ProductPart.PartDesc
    (SELECT sum(CustOrder.qty)
    FROM CustOrder
    GROUP BY CustOrder.SKU)TotalProducts
        ProductPart.Qty * TotalProducts
        FROM ProductPart
    
    
    ORA-00936: missing expression

  • How to change the currency symbol and the calculation based on checkbox?

    I build a packing slip form with simple calculations, quantity x Unit = Total partial, but I need the calculation and the currency symbol to change function radio box selected, USD or Yen (USD a comma then that the Yen does not work).

    Is there a simple javascript?

    I use Acrobat9 pro

    Sure. You must create a JavaScript to the document level and add a function similar to the following:

    function dollar_yenFormat() {}

    Get the value of the option button

    var Curr = getField("currency").value;

    Determine the number of decimal places

    var nd = curr = "Yen"? 0: 2;

    Determine the currency symbol

    var cs = curr = "Yen"? '\u00a5': '\u0024 ';

    Set the format options

    AFNumber_Format (nd, 0, 0, 0, cs, true);

    }

    Replace "currency" with the actual name of the radio button group, and then assign the value of exports (Radio button choice) "Yen" for the Yen option button.

    Now you can set the script to custom Format of the subtotal field to the following:

    Custom Format for subtotal field script

    dollar_yenFormat();

    You can do the same for the large field of total or any other that need this.

Maybe you are looking for