Problem writing conditional Scripts

I am really new to all this and have several questions here already.  I have been looking around for a way to solve my own question but have not found one so I'm going to ask what I'm doing wrong.  I have these boxes:

Region Capture.jpg

Later in the same form, I have this section:

Region Capture3.jpg

I am wanting to have data that are checked in the first box appear in the second so it will look like this, if the 'Good' field has been verified at the beginning of the form?

Region Capture4.jpg

Should what script I use?

Another question aside.  Is there a good book, I read and study this? I hate asking questions and love learning new things.

Start here: http://www.adobe.com/devnet/acrobat/javascript.html

Tags: Acrobat

Similar Questions

  • Need a written conditional script which involves layer styles and pixelation. Possible payment may be negotiated.

    I am a freelance illustrator who uses extensively layer styles in my workflow.  As the pixelation and the implementation of a new layer style is constant and ongoing, I would like a way to rationalize the actions of 3-4 that I use currently in a single conditional script.  I am currently using CS6.  Here's the description detailed of how I want the script to run:

    (1) is the selected layer named "layer magic 1"?  Otherwise, go to the #2 line.  If Yes, go to the #8 line.

    (2) is the selected layer named "magic layer 2?  Otherwise, go to the #3 line.  If Yes, go to the #8 line.

    (3) is the selected layer named "layer Magic 3"?  Otherwise, go to the #4 line.  If Yes, go to the #8 line.

    (4) is the selected layer named "layer Magic 4?  Otherwise, go to line 5-7 bolt torque.  If Yes, go to the #8 line.

    (5) make the new layer.

    (6) new name "Layer1" layer magic

    (7) add the layer style (also nominated) "magical layer1.  Script concludes.

    (8) the layer is empty?  If Yes, go to the #9 line.  Otherwise, go to line 10-12 bolt torque.

    (9) queue dialog box: "the end of magic layers?  with the choice of the 'yes' or 'no '.

    • If "Yes" is selected, the layer is removed.  Script concludes.

    • If "no" is selected, the layer is kept (no change).  Script concludes.

    (10) rasterize layer.

    (11) rename the layer 'layer of paint '.

    (12) merge the layer down.  Go to the line of 5-7 bolt torque.

    I would prefer if possible javascript, because I will need for the script between my Mac desktop and my Windows Tablet of the Cintiq based on the port.  Any help would be greatly appreciated; It took me some time to try to learn the writing of scripts, but between labor day and the night in freelance, I managed only by creating extreme levels of frustration!  Laughing out loud!  PLEASE AND THANK YOU!

    Good guys, has been able to play a bit with what I learned between both of you and others and come to this:

    (1) function main() {}

    2)

    (3) var __indexOf = [] .indexOf | function (Item) {for (var i = 0, l = this.length; i)}< l;="" i++)="" {="" if="" (i="" in="" this="" &&="" this[i]="==" item)="" return="" i;="" }="" return="" -1;="">

    4)

    (5) var makeNewLayer = function() {}

    (6) var newLayer = doc.artLayers.add ();

    (7) newLayer.name = 'magic layer1.

    (8) newLayer.applyStyle('magic layer1');

    (9) doc.activeLayer = newLayer;

    10)            }

    11)

    (12) var doc = app.activeDocument;

    (13) lay = doc.activeLayer,

    (14) names = ['magic layer1',

    "(15) ' magical layer2.

    (16) ' magical layer3.

    ["(17) ' magic layer4"];

    18)

    (19) if (__indexOf.call (name, lay.name)< 0="" )="">

    (20) newLayer = doc.artLayers.add ();

    (21) makeNewLayer();

    (22) return;

    23)            }

    24)

    (25) if (doc.activeLayer.kind == LayerKind.NORMAL & doc.activeLayer.bounds [2] == 0 & doc.activeLayer.bounds [3] == 0) {}

    (26) var dialog = confirm (the ' magical sleep end? ");

    (27) if (dialogue) {}

    (28) app.activeDocument.activeLayer.remove ();

    29)                }

    (30) return;

    31)            }

    (32) var idrasterizeLayer = stringIDToTypeID ("rasterizeLayer");

    (33) var desc5 = new ActionDescriptor();

    (34) var idnull = charIDToTypeID ("null");

    (35) ref4 var = new ActionReference();

    (36) var idLyr = charIDToTypeID ("Lyr");

    (37) var idOrdn = charIDToTypeID ('Ordn');

    (38) var idTrgt = charIDToTypeID ("Trgt");

    (39) ref4.putEnumerated (idLyr, idOrdn, idTrgt);

    (40) desc5.putReference (idnull, ref4);

    (41) var idWhat = charIDToTypeID ('what');

    (42) var idrasterizeItem = stringIDToTypeID ("rasterizeItem");

    (43) var idlayerStyle = stringIDToTypeID ("layerStyle");

    (44) desc5.putEnumerated (idWhat, idrasterizeItem, idlayerStyle);

    (45) executeAction (idrasterizeLayer, desc5, DialogModes.NO);

    46)

    (47) doc.activeLayer.merge ();

    (48) doc.activeLayer.name = 'base paint layer;

    (49) makeNewLayer();

    (50) return;

    51)

    52)        }

    53)

    (54) main();

    I know it's a little ugly code lines 32-45, but (through other channels, thank you JJMack & c.pfaffenbichler!), I realized that there is no way to script, the rasterization of a "layer Style" others that using ScriptingListener.plugin.  DBarranca  Yes... I realized a little I "screwed the dog" on the diaper change after that I played with him for a while.  Also a little, visited account that the "new layer" you were a little enough to add was not going to solve my problem. ended up having to add a "new layer" on line 20.  Everything seems to work exactly as I intended at the moment.  I DO, however, like the idea of having an error message "cannot find the magic layer1 Style".  How would I want to add that in?

    Thanks again,

    -Eric P

  • lately and I don't know why I see a pop up of a problem with the script. can some1 help me?

    There is a pop up of a problem with the script. He asked end and contuniue the script. I didn't have this problem before. Please help me this is getting really annoying. He asks a lot

    I changed a theme and almost never have a problem again...

  • Satellite P10-304: the problem writing and erasing CD - RW discs

    Some need help pls. I own a Toshiba satellite P10-304 with a combo player SD-R2412 installed. When I try to burn a new CD - RW, it does ok, but wouldn't allow no other written on the same CD in another session. The written CD - RW is then recognized as a CD-ROM. In addition, it is not possible to erase the cd - rw usinig this player. When I take the cd written for my laptop office of deletion, as it's done with success and my toshiba can then burn again. Any ideas on what to do?

    Additional information: laptop computer came bundled with "drag n dro cd" but I had to install Roxio and even tried the cd writing software provided with windows XP are done everything to nothing. I checked the 'advanced system info-error log' and the report there is 'the device, \Device\CdRom0, has a bad block'; I don't know what that means.

    Cheers.

    Nthunderbolt

    Hello

    In my opinion, it's probably caused by software. In my opinion, you should remove all burning software and verify all burning functions with windows option. After deleting some software, it can happen that, in the registry editor it is a lot of waste that will not be removed completely.

    In any case, delete all the burning software, and you can also try to remove the device from Device Manager DVD. Restart the laptop and DVD should be detected and installed correctly. Try using the option of engraving of Windows and if there is still problem writing once again please.

  • I run windows xp on HP Pavilion 750, in the past, I have not had a problem writing to the pictures from my computer to a disc

    I run windows xp on HP Pavilion 750, in the past, I have not had a problem writing to the photos from my computer on disc.

    It now written up so I get a message cannot keep any body can help please.

    original title: problem writing Photos...

    I'm sorry, but I don't have a solution for you.  You can check the Device Manager (start > run > devmgmt.msc > OK) to see if there are warnings next to your CD burner.  If there is a caution icon, double-click the entry and see what it says under "device status".

    I don't know how you use picture & Fax Viewer to burn a CD.  The usual method, except if you have 3rd party CD burning software, is to use Windows Explorer.  This is what Windows XP Help & Support has to say on this topic:

    To copy files and folders to a CD

    1. Insert a blank, writable CD into the CD burner.
    2. Open my computer.
    3. Click the files or folders to copy to the CD. To select multiple files, hold down the CTRL key while you click the files you want. Then, under file and folder tasks, click copy this file, copy this folder, or copy the selected items.

      If the files are located in my pictures, under management of images, click copy to CD or copy all items to a CDand go to step 5.

    4. In the dialog box copy items , click the CD player record, and then click copy.
    5. In my computer, double-click the CD burner. Windows displays a temporary area where the files are held before they are copied to the CD. Verify that the files and folders you want to copy to the CD appear under files ready to be written on the CD.
    6. Under CD writing tasks, click write these files to CD. Windows displays the Assistant burn a CD. Follow the instructions in the wizard.

    Notes

    • To open my computer, click Startand then click my computer.
    • Do not copy more files to the CD that it will hold. Standard CD hold up to 650 megabytes (MB). Large capacity CD contain up to 850 MB.
    • Don't forget that you have enough disk space on your hard disk to store the temporary files that are created during the CD writing process. For a standard CD, Windows reserves up to 700 MB of available disk space. For a high-capacity CD, Windows reserves up to 1 gigabyte (GB) of the available free space.
    • After you copy files or folders to the CD, it is useful to view the CD to verify that the files are copied.
  • Having a problem with the script error message

    The error message and web page script error every move I make now. I tried to check and uncheck boxes tab in advance internet options. I also ran a check of the system that did not help either. Any suggestions? Thank you

    Hi Mic,

    From the description, it seems that you have a problem with the script error message in Internet Explorer.

    To better understand the question, please answer the following questions:

    1. is specific to a particular Web site question?

    2 have you made changes on the computer before this problem?

    3. What is the exact full error message and web page of script error message?

    4. When you get exactly the script error message and web page error message appears?

    5. what exactly you're talking about when you say "system check"?

    See the article mentioned:

    How to troubleshoot script errors in Internet Explorer

    http://support.Microsoft.com/kb/308260

    Hope the above information is helpful. If you have any question back to us, we are happy to help you.

  • Hyperion Planning calco - FIX and IF condition script.

    Gurus

    I'm new to Hyperion Planning and have a question:

    I'm writing the script of followgin and he looks up and as the listed error.

    SCRIPT:

    / * STARTCOMPONENT:SCRIPT * /.

    COPYMISSINGBLOCK OFF SET;

    DIFFICULTY ('AC_91100', 'AC_91380', 'AC_92105', 'AC_93100', 'AC_94105', 'AC_95100', 'AC_96100', 'BegBalance',

    ('Current Service level', 'FU_0', 'FN_00000', 'LO_000000', 'FD_100', 'FD_200' and ProposedYear,"Baseline",@Relative ("project", 0), @Relative("Total Entity", 0))

    ("AC_91100"

    IF ("Start Date"->"projected" is #MISSING AND 'End Date'-> 'projected' == #MISSING)

    DATACOPY 'Start Date'-> 'Budget' to 'Start Date '->' projected ';

    DATACOPY 'End Date'-> 'Budget' to 'end '->' Date projected. "

    ELSEIF ("Start Date"->"projected" == #MISSING AND 'End Date'-> 'projected'! = #MISSING)

    DATACOPY 'Start Date'-> 'Budget' to 'Start Date '->' projected ';

    ElSEIF ("Start Date"->"projected"! = #MISSING AND 'End Date'-> 'projected' is #MISSING)

    DATACOPY 'End Date'-> 'Budget' to 'end '->' Date projected. "

    )

    ENDFIX;

    / * ENDCOMPONENT * /.

    Error message when I validate the script:

    An error occurred while parsing the script.

    Please check the script between the column in the row: 9: 71 and column: C9: 78.

    Found token '#MISSING'- expected tokens: <EOF>,<DIGIT>,<LETTER>,"/*STARTCOMPONENT:SCRIPT*/","/*ENDCOMPONENT*/","/*STARTCOMPONENT:FORMULA*/","/*STARTRULE*/","/*ENDRULE*/","/*STARTTEMPLATE*/","/*ENDTEMPLATE*/","\"File\"","\"Binfile\"","\"DSN\"","DataExportLevel","LEVEL0","\"LEVEL0\"","INPUT","\"INPUT\"","DataExportDynamicCalc","DataExportNonExistingBlocks","ON","\"ON\"","OFF","\"OFF\"","HIGH","LOW","DEFAULT","ONLY","AFTER","SUMMARY","DETAIL","ERROR","WARNS","INFO","NONE","DEBUG","WARNING","DataExportDecimal","DataExportPrecision","DataExportColFormat","DataExportColHeader","DataExportDimHeader","DataExportRelationalFile","DataExportOverwriteFile","DataExportDryRun","@_false","@_true","NUMBER" , 'MEMBER', 'BOOLEAN', 'STRING', < COMMENT_CPP_STYLE >, < SPACE >, "/ * ',' ' * / ', '\n', < token of type 56 > '\"","\"","\n', < token of type 60, > '[[',']]', '\n', < token of type 64 >, < SUBST_VARIABLE >, < hfm_VARIABLE >, < MACRO >, < REAL_NUMBER >, < INTEGER_NUMBER >, ' Tot ', 'ALL',"\ 'ALL\' ", 'AND', 'TABLE', < CALC >, 'CCONV', 'CLEARBLOCK'" ,"CLEARDATA","DATACOPY","DATAEXPORT","DATAEXPORTCOND","DATAIMPORTBIN","DIM","DYNAMIC","ELSE","ELSEIF","ENDFIX","ENDEXCLUDE","ENDIF","ENDLOOP","EXCEPT","FOR","ENDFOR","FIX","EXCLUDE","IF","LOOP","MBR","NONINPUT","EMPTY","NOT","OR","REFERENCE_TO_PARAMETER","RUNJAVA","SET","TO","TOLOCALRATE","UPPER","VAR","DATAEXPORTOPTIONS","AGGMISSG","CACHE","CALCPARALLEL","CALCTASKDIMS","CCTRACKCALC","COPYMISSINGBLOCK","CLEARUPDATESTATUS","CREATENONMISSINGBLK","CREATEBLOCKONEQ","DATAIMPORTIGNORETIMESTAMP","EMPTYMEMBERSETS","FRMLBOTTOMUP","FRMLRTDYNAMIC","LOCKBLOCK","MSG","NOTICE","REVERSE","REMOTECALC","UPDATECALC","UPTOLOCAL","::","#MISSING","=","->",<EQOP>,<MULOP> , < MDXMbr >, < SHORTQUAL >, < ID >, < INTEGER >, < CHAR >, < RELOP >, '@Loopback', < FUNCTION > "(", ";", ",", "[","]", "{","}", "-",") ReplaceAll ',' ','. ',' + ',': = ','": ' "

    *****************************

    Let me know what mistake I am doing here. Any help is greatly appreciated. Thanks in advance.

    Thank you

    SR

    A few errors in this script:

    1 DATACOPY is not allowed inside the IF block. You can use the assignment ('=') instead of datacopy

    2 ENDIF is missing. You should have ENDIF before hook closing.

  • Basic conditional script based on the number of lines in a text layer?

    Just received help here to write a conditional script by using the font size of a text layer. Thank you all for this.

    The next hurdle is a conditional script using the number of lines in a text layer in the differential. Far as I can tell it not the layer details which specify the number of lines. Just '\r' for a return in the idTxt descriptor. Nothing seems to stand for a soft return as far as I can tell. I'll probably have to be able to count the lines with soft and hard returns.

    Any thoughts?

    I was playing around with this a bit and here is a small script to determine the number of rows. This is based on the self in the head, that I calculated to environ.108 times the size of the font.

    #target photoshop
    app.preferences.rulerUnits = Units.POINTS;
    var doc = activeDocument
    var tL = doc.activeLayer
    var h = tL.bounds[3]-tL.bounds[1]
    var per = ((h/5)-(tL.textItem.size))/tL.textItem.size
    var num = h/(tL.textItem.size *1.108)
    
    alert(Math.round( num))
    
  • Problem of calculation Script

    Hi all



    I have the following calculation script:

    UPDATECALC OFF SET;
    SET AGGMISSG

    Fix (& CurVersion,
    & BudYr,
    localcur,
    @Relative (@MEMBER (@CONCATENATE (@SUBSTRING (@Name ([Department]), 0, 3), "_A01")), 0),
    @Relative("All_Products",0))


    Fix ("dirty", @relative(Expenses,0), Jan: DEC)


    Budget)

    If (@isuda ('entity', 'New'))

    Budget = real-> final-> & PriorYr;

    endif
    )

    endfix
    endfix


    I want to copy the real-> Final data budget-> work only for the entities marked with UDA 'new '.

    I can't use datacopy command I use if statement.

    There are 2 problems with these scripts:

    1. it does not create the blocks for the new budget year since we don't use datacopy

    2. If I try to use create custom block missign it opens too many blocks in the Essbase database.

    How can I change the code above to achieve this datacopy resolve these two issues I have mentioned.

    Thanks for your help.

    Two thoughts:
    (1) create new UDAs, for example, NewA1, NewA2, etc. A pain, but it could be done.
    (2) I think that this has been suggested before, but I don't know if it would really work: DIFFICULTY (@RELATIVE ("Division_A1", 0) AND @UDA ('entity', 'New'))

    Kind regards

    Cameron Lackpour

  • Problems with PowerCLI script variables

    Hello

    I hope that someone in the community can tell me where I was wrong in the script below. I have a few other PowerCLI scripts that work in a way similar to this work and these, but this one has a problem. The script is intended to collect information on a number of ESX objects in an array of arrays, $reportfinal, which can then be written to a CSV file that will have the column names for the objects, and each line will yield the values for RDM related objects for each virtual computer. The problem is that, rather than add the results to the table of $reportfinal, the results are crushed, and worse still, the values repeat themselves (for example the size of the various disks is reported as the same value).

    $report = @)

    $reportfinal = @)

    $VMs = get-VMHost | Get - VM | Get-View

    $rowcoll = "" | Select the virtual machine, VMController, SCSIBusShare, SCSIBusNumber, SCSIUnitNo, DeviceLabel, SCSISummary, DeviceFilename, DeviceCapKB, DeviceDiskMode, DeviceDiskUUID

    {ForEach ($VM to $VMs)

    #Clear table report for each virtual computer

    $report = @)

    Foreach ($SCSI_Controller in ($VM. Config.Hardware.Device | where {$_.} (({DeviceInfo.Label - like "SCSI *"})) {}

    $rowcoll. VM = $VM. Name

    $rowcoll. VMController = $SCSI_Controller.DeviceInfo.Label

    {Foreach ($Disk_Key to $SCSI_Controller.Device)}

    Foreach ($Disk_Device in ($VM. Config.Hardware.Device | where {$_.key - eq $Disk_Key})) {}

    $rowcoll. SCSIBusShare = $SCSI_Controller.SharedBus

    $rowcoll. SCSIBusNumber = $SCSI_Controller.BusNumber

    $rowcoll. SCSIUnitNo = $Disk_Device.UnitNumber

    $rowcoll. DeviceLabel = $Disk_Device.DeviceInfo.Label

    $rowcoll. SCSISummary = $SCSI_Controller.DeviceInfo.Summary

    $rowcoll. DeviceFilename = $Disk_Device.Backing.Filename

    $rowcoll. DeviceCapKB = $Disk_Device.CapacityInKB

    $rowcoll. DeviceDiskMode = $Disk_Device.Backing.DiskMode

    $rowcoll. DeviceDiskUUID = $Disk_Device.Backing.UUID

    }

    }

    }

    #Append the next line of the report data collection

    $report += $rowcoll

    #Append the next report to the final report data collection

    $reportfinal += $report

    }

    $reportfinal | Export-Csv-path D:\temp\SAP_Report_Disks_RDM_Mappings.csv - NoTypeInformation

    Note: Some parts of the script came another announcement on this forum about a script to display the ROW information for the list of virtual machines.

    See you soon,.

    Ed

    My mistake, I deleted the line wrong $report.

    Try this one

    $reportfinal = @()
    
    $VMs = Get-View -ViewType VirtualMachine
    
    foreach ($VM in $VMs) {
    
         #Clear report array for each VM
    
         foreach ($SCSI_Controller in ($VM.Config.Hardware.Device | where {$_.DeviceInfo.Label -like "SCSI*" } )) {
    
              foreach ($Disk_Key in $SCSI_Controller.Device) {
                   foreach ($Disk_Device in ($VM.Config.Hardware.Device | where {$_.key -eq $Disk_Key } )) {
                        $rowcoll = "" | select VM, VMController, SCSIBusShare, SCSIBusNumber, SCSIUnitNo, DeviceLabel, SCSISummary, DeviceFilename, DeviceCapKB, DeviceDiskMode,DeviceDiskUUID
                      $rowcoll.VM = $VM.Name
                      $rowcoll.VMController = $SCSI_Controller.DeviceInfo.Label
                        $rowcoll.SCSIBusShare = $SCSI_Controller.SharedBus
                        $rowcoll.SCSIBusNumber = $SCSI_Controller.BusNumber
                        $rowcoll.SCSIUnitNo = $Disk_Device.UnitNumber
                        $rowcoll.DeviceLabel = $Disk_Device.DeviceInfo.Label
                        $rowcoll.SCSISummary = $SCSI_Controller.DeviceInfo.Summary
                        $rowcoll.DeviceFilename = $Disk_Device.Backing.Filename
                        $rowcoll.DeviceCapKB = $Disk_Device.CapacityInKB
                        $rowcoll.DeviceDiskMode = $Disk_Device.Backing.DiskMode
                        $rowcoll.DeviceDiskUUID = $Disk_Device.Backing.UUID
                        $reportfinal += $rowcoll
                   }
              }
         }
    
    }
    
    $reportfinal | Export-Csv -path C:\SAP_Report_Disks_RDM_Mappings.csv -NoTypeInformation
    
  • Conditional Script error map FDM

    Hi all

    We can import the data of EBS to HFM however ERPI using FDM.

    We used conditional Basic scripts of the ebs to FDM data import.

    This scripts used in FDM for PEAK dimension between the logic of script.script conditional mapping is a particular account are linked to accounts of Intercomapny transactions we have member of PCI card

    can someone help me on this:

    It is error:
    * Start the journal entry for the Runtime Error FDM [2011-12-12 15:10:18] *.
    -------------------------------------------------------------
    ERROR:
    Code............................................. 1014
    Description... Card conditional Script error: expected "End" to line (2)

    Script:
    If varValues (14) = "113401" then Result = "21_ADNIP."
    Another result = "[ICP NO] '"
    End if
    Rule = I1

    Process... clsImpProcessMgr.fLoadAndProcessFile
    The component... upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 13888

    IDENTIFICATION:
    User............................................. admin
    Name of the computer... ADNIPHYPUAT01
    App Name......................................... FDMHFM
    Client App....................................... WebClient

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Name of the database... HYPUAT
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... HFMGLLOAD
    Location ID... 750
    Location Seg... 4
    Category......................................... WLCAT
    ID of the category... 12
    Period........................................... May - 2011
    Period ID........................................ 31/05/2011
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake


    Thank you.
    Srini

    Hi, please try the mapping script again have the "result =" statement on a new line, as:

    If varValues (14) = "113401" then
    Result = "21_ADNIP."
    On the other
    Result = "[ICP NO] '"
    End if

    Kind regards
    Jeroen

  • Problem writing in cache file

    I get the error message "there was a problem writing to the cache file... beacause of an error of dick." The cache will now be replaced?

    What does that mean?

    I hit ok and it goes away. Fortunaely stay of my labels.

    "There was a problem writing to the cache file... beacause of an error of dick." The cache will now be replaced?

    I think the exact words for the points you leave is the path of your user account and end with "stamp"?

    If so this is caused by the preference you set for ' export automatically hides files when possible.

    And it's not nice to say, but I'm glad that you have this problem because I started to think I was the only one in the world who had seen this message

    If you go to the bridge preferences Cache section and uncheck this option, you will probably not see this message again. There is no cache files written in your records, but I saw no advantage in the fact of the bridge still needed a lot of time to read this cache file

  • Problem with Calc Script - if

    All, Hy

    I guess it's really simple, but I have no idea how to solve this problem.

    The Script looks like this:

    "View segment.
    (IF (@SUBSTRING (@NAME(&REPORTING_MONTH), 0, 3) = "M07")
    'Segment View' = 'Segment View'-> 'real ';
    ENDIF ;)


    I get the Error Message:

    "Error analysis [view Segment] (line xxx) formula: [()] without [)].

    Someone at - it an idea how to solve this problem?

    Kind regards


    Joerg

    Published by: Blue Raven on 19.08.2010 02:29

    Try this. It can works

    "View segment.
    (IF (@ismbr (@match ('Period', ' M07 * "" ")) and @ismbr (& REPORTING_MONTH)))
    'Segment View' = 'Segment of view'-> 'real ';
    ENDIF ;)

  • Provider-&gt; DUNS_Number problem when writing the script of provider

    Hi all

    I'm working on the script of migration provider. I used (AP_VENDOR_PUB_PKG) APIs to create sites of provider and supplier. Version of the application is 12.1.1

    I have to change the DUNS_Number value to the supplier. to test, I created provider of front end.
    When I create the front end provider, DUNS_Number is not stored either in AP_SUPPLIERS or AP_SUPPLIER_SITES_ALL Tables but its storage in the HZ_PARTIES Table.

    Here, my question is, why it is the DUNS_Number value in the HZ_PARTIES TABLE storage, why not in the AP_SUPPLIERS Table?

    Please suggest me via script, how can I insert the DUNS_Number table AP_SUPPLIERS or AP_SUPPLIER_SITES_ALL value.

    Please help me with this problem.


    Thank you.

    Hi again,

    Try to update to HZ_ORGANIZATION_PROFILES instead of HZ_PARTIES.

    Update HZ_ORGANIZATION_PROFILES
    Set duns_number_c =
    where party_id =

    This should be OK...
    Vik

  • Problem with a script post-porn the subform

    Hello

    I have a form with radio 5 buttons. Two of the radio buttons, the values 3 and 5 must make visible hidden subform. All other values are leaving the hidden subform. Here is my script:

    If (this.rawValue == '1') {}

    Page1.deliveryInformation.flowed.presence = 'hidden ';
    }
    If (this.rawValue == '2') {}

    Page1.deliveryInformation.flowed.presence = 'hidden ';
    }
    If (this.rawValue == '3') {}

    Page1.deliveryInformation.flowed.presence = "visible";
    }

    If (this.rawValue == '4') {}

    Page1.deliveryInformation.flowed.presence = 'hidden ';
    }

    If (this.rawValue == '5') {}

    Page1.deliveryInformation.flowed.presence = "visible";
    }

    else {}

    Page1.deliveryInformation.flowed.presence = 'hidden ';
    }

    Value 3 does not work. All other values are working as expected. I've been watching this script on over an hour and does not know why it does not work. Any help would be appreciated.

    Thank you

    MDawn

    The problem is with the last part else.

    Either place the conditions in

    If() {}

    }

    {ElseIf()}

    }

    else {}

    }

    OR

    Use the switch as a box below.

    Switch (this.rawValue)

    {

    case '1 ':

    Page1.deliveryInformation.flowed.presence = 'hidden ';

    break;

    case '2 ':

    Page1.deliveryInformation.flowed.presence = 'hidden ';

    break;

    case '3 ':

    Page1.deliveryInformation.flowed.presence = "visible";

    break;

    case '4 ':

    Page1.deliveryInformation.flowed.presence = 'hidden ';

    break;

    case "5":

    Page1.deliveryInformation.flowed.presence = "visible";

    break;

    by default:

    Page1.deliveryInformation.flowed.presence = 'hidden ';

    }

    Thank you

    Srini

Maybe you are looking for

  • I can not access the same menu bar after reading your instructions.

    I just download Thunderbird on my second computer. The instructions say to new users to access the menu bar, you need to right-click on an empty spot on the screen. I tried, but it does not work for me. Someone help please.

  • Unable to complete 12.2.3 update to install on my Mac

    Ideas: I have Microsoft 2008 for my Mac. I have trouble downloading the latest version of Office 2008 automatically 12.2.3. It keeps telling me to quit Microsoft Word before it will install, but Microsoft Word is not open. It installs all the way upw

  • MS Office 2007 Home & Student - 3 devices limited

    I got MS Office 2007 Home & Student installed on 3 PCs at home. I replaced a PC that more restarts with a new laptop. Does anyone know if I can install it on the new PC, as I now only 2 facilities. They will allow me?

  • WiFi is connected to the router, but "no internet access?

    Hi I have a Samsung r519 laptop with windows 7. I am connected to my routerbut I can not always connect to the internet. I think that the problem can be on an ip address, dns or parameter setting of the server. My ipv4 settins are set to 'use ip addr

  • my computer shuts down randomly and blue error screen "100000ea".

    Original title: my computer shuts down randomly and blue screen before closing down. my computer shuts down randomly and blue screen before closing down. the error message is generated after that reboot is: Signature of the problem: Problem event nam