Adding existing apps form in ur function
hai all,
plz send any one how will add the request group in form menus ,plz send the document, as my knowldge attach the form 'run reports' in function and give the parameter as request group code and reuset group application and request group name but how this three parametrs write in parameter window i don't know plz send any information how will write this three codes in parameter window and code also .
regard's
narendra.
Please refer to:
Oracle Applications Developer's Guide - 11i
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf
Oracle Applications Developer's Guide - R12
http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120devg.pdf
Similar Messages
-
Form with Folder Functionality and Tab Pages
Refering here the original link to increase the visibility:
Apps Form with Folder Functionality and Tab PagesDT1977,
In your referenced post, you indicate that you are trying to create an "APPS Form". Perhaps, you should post your question to the Enterprise Business Suite (EBS) forums. This forum is for non-EBS Forms questions.
Craig... -
Adding an iAd Banner above a Tab Bar in existing app
I am trying to add the iAd Banner above the Tab Bar in an existing app.
The tab bar has 4 Buttons/Views (HomeView.xib, FirstView.xib, SecondView.xib, ThirdView.xib).
In Interface Builder, I have tried to drag the iAd banner into the MainWindow.xib above the Tab Bar with no luck.
I'd appreciate an explanation on what I am missing.
Thanks for your time.
SteveI had trouble getting an iAd to work when using IB as well. I ended up adding it programmatically like this:
self.adView = [[ADBannerView alloc] initWithFrame:CGRectMake(0,412,320,50)];
adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50;
adView.delegate = self;
[self.view addSubview:adView];
in the - (void)viewDidLoad of my view controller.
Hope that helps.
-Phil -
Adding a value to an LOV in an Oracle apps form
Hi Guys
Im new to forms and customizations in apps as im sure will be apparent with the questions i have :-)I have a requirement to add a value to an LOV on a field in an oracle apps form.
My question is
1: How do i get the lov query?
2: How do i edit an existing query.
3: How can i solve this problem.
ThanksSince you are working with the E-Business Suite, most likely the LOV is based on a Value Set. I strongly recommend you confer with a coworker for guidance on how to investigate an Oracle EBS Form. Value Sets are defined within the EBS setup screens and you have to be assigned to a responsibility that will allow you to modify and create Value Sets. I also strongly recommend you visit the Oracle Applications Documentation web site and review the Oracle Applications Developer's Guide and Oracle Applications User Interface Standards for Forms-Based Products for your particular version of the EBS.
Also, the General EBS Discussion is the more appropriate forum to post this type of question.
Hope this helps.
Craig... -
HT2204 how to change the existing ID form App Store
how to change the existing ID form App Store
You can tap on the id in Settings > iTunes & App Stores and log out of the account and you can then log in with a different account. But any content that was downloaded via the currently logged in account will remain tied to that account (so only that account can download updates to its apps), and if you turn on automatic downloads for an account, use iTunes match or re-download past purchases then you risk tying the device to that account for 90 days : http://support.apple.com/kb/HT4627
-
Oracle Apps Forms Re-usability
Hi,
Is there a way that we can add more functionality to an
already existitng Oracle Apps form without remaking it from
scrap?
Please let me know.......
TIA
vamsiIf you do not want to modify and existing form but want to add functionality to the existing form and can not use
descriptive flexfields to add new functionality, you could use the custom.pll to accomplish this. Depending on
how many enhancements you will be adding using this method, you could impact performance across the
board due to the fact that the all forms execute the custom.pll to look for custom code. To find more information
about the custom.pll review the developers guide.( Oracle Applications Developer's Guide A75545-02)
Hop that helps. -
Are in-app forms possible?
I am creating an app that has a short form (all text fields). The form will submit via email, no database involved.
I know I can create a web form and display the page within a frame, or call up a URL with a form, but I wonder if there is a way I can create the interactive form within the app. There are no tools in the overlay panel that I can see doing this.
I tried creating a form in InDesign, exporting as an interactive PDF, and bringing it back into the document, but it lacks interactivity when imported (the PDF does function fine within Acrobat as expected, however). Also tried skipping the PDF export and adding my InDesign form pages directly to the folio as an article. No luck there, either.
Am I missing something, or can this not be done? If not, it would seem to be a really useful addition to the overlay panel's capabilities.
Many thanks for any assistance.What would be cool is an in-app PDF reader that can handle forms. Is any interactivity possible with a PDF form accessed via an HTMLResources file?
Bob -
Field T_STCD1 does not exist in form this erroe msg coming in smartform
hi,
in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
field T_STCD1 does not exist in form .
this error coming after printpreview and not displaying.
how can i debug it.
can any one help me...........plz
its very urgent.
thanks.report zmm_vat_ex_cert message-id zz .
TABLE DECLARATION *
tables: bseg , tvko.
*Intenal Tables Declarations *
types: begin of it_address_type .
include structure zvat_vendor.
types :end of it_address_type.
types : begin of it_address_info_type.
include structure zadrc_table.
types: end of it_address_info_type.
types : begin of it_desig_type.
include structure zmm_vat_sign.
types: end of it_desig_type.
types: begin of it_bkpf_type,
bukrs type bkpf-bukrs,
belnr type bkpf-belnr,
gjahr type bkpf-gjahr,
blart type bkpf-blart,
bldat type bkpf-bldat,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey ,
end of it_bkpf_type.
types : begin of it_bseg_type,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
bschl like bseg-bschl,
mwskz like bseg-mwskz,
shkzg like bseg-shkzg,
wrbtr like bseg-wrbtr,
sgtxt type bseg-sgtxt,
end of it_bseg_type.
types: begin of it_rseg_type,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
bukrs like bkpf-bukrs,
txz01 type ekpo-txz01,
wrbtr type rseg-wrbtr,
end of it_rseg_type.
data:begda type d, endda type d.
types: begin of it_item_type.
include structure zitem_vat.
types:end of it_item_type.
data: it_rseg type table of it_rseg_type,
wa_it_rseg like line of it_rseg.
data: gt_addr type table of it_address_type.
data gt_addr_info type table of it_address_info_type.
data gt_bkpf type table of it_bkpf_type.
data gt_bseg type table of it_bseg_type.
data:
gt_tvko type standard table of tvko,
gt_item type table of it_item_type,
h_itab type table of it_bseg_type,
it_desig type table of it_desig_type,
temp_item type table of it_item_type .
data:wa_addr like line of gt_addr,
wa_addr_info like line of gt_addr_info,
wa_bkpf like line of gt_bkpf,
wa_bseg like line of gt_bseg,
wa_item like line of gt_item,
wa_h_itab like line of h_itab,
wa_it_desig like line of it_desig,
wa_temp_item like line of temp_item,
wa_tvko LIKE LINE OF gt_tvko.
wa_tvko type tvko.
Data Declaration *
data: sumtotal type bseg-wrbtr, "rbkp-waers ,
sl_no type zmm_vatex_sno-serial_no,
fiscal_year type string,
fm_name type rs38l_fnam ,
w_q_flag(5),
w_quarter type string ,
close_date type sy-datum ,
fiscal type sy-datum, fiscal_nxt type sy-datum,
gv_belnr type bkpf-belnr,
gv_gjahr type bkpf-gjahr.
data: ca_quarter type i.
data: l_adrnr type t001-adrnr.
data wa_vatex_sno type zmm_vatex_sno.
data: q(1).
data: stdtext(25).
S E L E C T I O N S C R E E N *
selection-screen begin of block b1 with frame title text-s01.
select-options: s_date for sy-datum obligatory no-extension.
parameters : vendor type lfa1-lifnr obligatory ,
compcode type bkpf-bukrs obligatory.
select-options taxcode for bseg-mwskz obligatory default 'VI'.
selection-screen end of block b1.
at selection screen
at selection-screen on s_date.
if s_date-low0(4) <> s_date-high0(4).
message e023 with text-e01.
endif.
*get calendar quarter using the month entered in From date.
*calculate the fiscal year and quarter
if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
ca_quarter = 1.
fiscal0(4) = s_date-high0(4) .
fiscal_nxt0(4) = s_date-high0(4) - 1.
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '4'.
elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
ca_quarter = 2.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '1'.
elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
ca_quarter = 3.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '2'.
elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
ca_quarter = 4.
w_quarter = '3rd quarter of year'.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '3rd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '3'.
endif.
*get first and last day of quarter by fetching calendar quarter and year in FM
call function 'HR_99S_GET_DATES_QUARTER'
exporting
im_quarter = ca_quarter
im_year = s_date-low+0(4)
importing
ex_begda = begda
ex_endda = endda.
*validate the input dates is start and end of quarter
if s_date-low <> begda or s_date-high <> endda.
message e023 with 'Enter quarter begin and end dates only'.
endif.
*get last day of next month. for close date
endda = endda + 1.
call function 'RP_LAST_DAY_OF_MONTHS'
exporting
day_in = endda
importing
last_day_of_month = close_date
exceptions
day_in_no_date = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Start of Selection
start-of-selection.
*CNO is specific to a Quarter/ Company code/ Vendor.
unpack vendor to vendor.
clear:sl_no, wa_vatex_sno.
select single * from zmm_vatex_sno into wa_vatex_sno where from_date
eq s_date-low and to_date eq s_date-high and vendor eq vendor
and compcode eq compcode.
if sy-subrc eq 0.
sl_no = wa_vatex_sno-serial_no.
else.
select max( serial_no ) from zmm_vatex_sno into wa_vatex_sno-serial_no WHERE
from_date eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
if sy-subrc = 0.
sl_no = wa_vatex_sno-serial_no + 1.
else.
sl_no = 1.
endif.
wa_vatex_sno-from_date = s_date-low.
wa_vatex_sno-to_date = s_date-high.
wa_vatex_sno-vendor = vendor.
wa_vatex_sno-compcode = compcode.
wa_vatex_sno-serial_no = sl_no.
insert zmm_vatex_sno from wa_vatex_sno.
endif.
*data selection from bkpf by date,fiscal and compcode
refresh gt_bkpf.
select bukrs
belnr
gjahr
blart
bldat
xblnr
awkey
into table gt_bkpf from bkpf
where bukrs eq compcode and
budat in s_date and gjahr eq fiscal+0(4).
check not gt_bkpf[] is initial.
refresh gt_bseg.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr
sgtxt from bseg into table gt_bseg
for all entries in gt_bkpf where
bukrs eq compcode and
mwskz in taxcode and
lifnr eq vendor and
belnr = gt_bkpf-belnr and
gjahr = gt_bkpf-gjahr and shkzg = 'H'.
selection without vendor and posting key 40 *
refresh h_itab.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr from bseg into table h_itab
for all entries in gt_bseg
where bukrs = gt_bseg-bukrs and
belnr = gt_bseg-belnr and
mwskz = gt_bseg-mwskz and
gjahr = gt_bseg-gjahr and
( bschl = '40' or bschl = '21' ).
if sy-subrc = 0.
deduct the amount if posting key is 40 for PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '40'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart <> 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr
and bschl = wa_bseg-bschl .
endif.
clear wa_h_itab.
endloop.
deduct the amount if posting key is 21 for non-PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '21'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart = 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr.
endif.
clear wa_h_itab.
endloop.
endif.
final internal table
clear wa_item. refresh gt_item. clear wa_bseg.
loop at gt_bseg into wa_bseg.
read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
if sy-subrc = 0.
move :
wa_bkpf-xblnr to wa_item-xblnr,
wa_bkpf-belnr to wa_item-belnr,
wa_bkpf-bldat to wa_item-bldat,
wa_bseg-wrbtr to wa_item-wrbtr.
endif.
*selections for item description
refresh it_rseg.
select ekpoebeln ekpoebelp ekpobukrs txz01 rsegwrbtr
into table it_rseg
from rseg join ekpo
on rsegebeln = ekpoebeln
and rsegebelp = ekpoebelp
and rsegbukrs = ekpobukrs
where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
ekpo~bukrs = wa_bkpf-bukrs.
if sy-subrc = 0.
loop at it_rseg into wa_it_rseg.
wa_item-txz01 = wa_it_rseg-txz01 .
if sy-tabix <> 1.
wa_item-wrbtr = wa_it_rseg-wrbtr .
wa_item-wrbtr = space .
endif.
append wa_item to gt_item.
endloop.
else.
wa_item-txz01 = wa_bseg-sgtxt.
append wa_item to gt_item.
endif.
clear: wa_bseg, wa_item.
endloop.
*if records not found give message.
if gt_item[] is initial.
message e000(vz) with text-x01.
endif.
calculate the sumtotal
loop at gt_item into wa_item.
sumtotal = sumtotal + wa_item-wrbtr .
endloop.
Selecting supplier address *
select single * from tvko into wa_tvko where vkorg = compcode.
append wa_tvko to gt_tvko.
if wa_tvko-vkorg = '2014'.
stdtext = 'Z_2014_SOFTEX'.
elseif wa_tvko-vkorg = '2006'.
stdtext = 'Z_2006_SOFTEX'.
else.
stdtext = wa_tvko-txnam_adr.
endif.
select lifnr
name1
name2
ort01
ort02
pfach
stras
regio from lfa1 into table gt_addr
where lifnr eq vendor .
Selecting sez address *
SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
SELECT name1
name2
city1
city2
post_code1
post_code2
street
house_num1
FROM adrc INTO TABLE gt_addr_info
WHERE addrnumber = l_adrnr.
Information for designation *
select * from zmm_vat_sign into table it_desig where company = compcode
Call Function module SSF_FUNCTION_MODULE_NAME *
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMM_VAT_EX_CERT'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Call Function module fm_name *
call function fm_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
doc_num = sl_no
quarter = w_quarter
date = s_date-high
sumtotal = sumtotal
close_date = close_date
fiscal_year = fiscal_year
ca_quarter = q
text_name = stdtext
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
itab = gt_item
it_address = gt_addr
it_infoaddress = gt_addr_info
it_designation = it_desig
it_tvko = gt_tvko
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
Using a existing sting to preform a function on a list of computers
I know this test works fine
$computers
= "S2008C1","S2008C1","S2008C3"
Get-WmiObject
-Class win32_bios
-cn $computers
|
Format-table
__Server,
Manufacturer,
Version -AutoSize
It produces
__SERVER Manufacturer Version
S2008C1 American Megatrends Inc. VRTUAL - 5001223
S2008C1 American Megatrends Inc. VRTUAL - 5001223
S2008C3 American Megatrends Inc. VRTUAL - 5001223
however when I have the user input the computer names (see screen shot below) it does not pull any of the info for the computers in the list. I know the variable has the correct list as it print the list to the console but it will not perform any
functions. I have tried this using several methods. I am just trying to relay I have done my best to do my homework.
The part that is not working is the last 3 lines below. By not working i meant it does nothing.
Thanks
function Read-MultiLineInputBoxDialog([string]$Message, [string]$WindowTitle, [string]$DefaultText)
<#
.SYNOPSIS
Prompts the user with a multi-line input box and returns the text they enter, or null if they cancelled the prompt.
.DESCRIPTION
Prompts the user with a multi-line input box and returns the text they enter, or null if they cancelled the prompt.
.PARAMETER Message
The message to display to the user explaining what text we are asking them to enter.
.PARAMETER WindowTitle
The text to display on the prompt window's title.
.PARAMETER DefaultText
The default text to show in the input box.
.EXAMPLE
$userText = Read-MultiLineInputDialog "Input some text please:" "Get User's Input"
Shows how to create a simple prompt to get mutli-line input from a user.
.EXAMPLE
# Setup the default multi-line address to fill the input box with.
$defaultAddress = @'
John Doe
123 St.
Some Town, SK, Canada
A1B 2C3
$address = Read-MultiLineInputDialog "Please enter your full address, including name, street, city, and postal code:" "Get User's Address" $defaultAddress
if ($address -eq $null)
Write-Error "You pressed the Cancel button on the multi-line input box."
Prompts the user for their address and stores it in a variable, pre-filling the input box with a default multi-line address.
If the user pressed the Cancel button an error is written to the console.
.EXAMPLE
$inputText = Read-MultiLineInputDialog -Message "If you have a really long message you can break it apart`nover two lines with the powershell newline character:" -WindowTitle "Window Title" -DefaultText "Default text for the input box."
Shows how to break the second parameter (Message) up onto two lines using the powershell newline character (`n).
If you break the message up into more than two lines the extra lines will be hidden behind or show ontop of the TextBox.
.NOTES
Name: Show-MultiLineInputDialog
Author: Daniel Schroeder (originally based on the code shown at http://technet.microsoft.com/en-us/library/ff730941.aspx)
Version: 1.0
#>
Add-Type -AssemblyName System.Drawing
Add-Type -AssemblyName System.Windows.Forms
# Create the Label.
$label = New-Object System.Windows.Forms.Label
$label.Location = New-Object System.Drawing.Size(10,10)
$label.Size = New-Object System.Drawing.Size(280,20)
$label.AutoSize = $true
$label.Text = $Message
# Create the TextBox used to capture the user's text.
$textBox = New-Object System.Windows.Forms.TextBox
$textBox.Location = New-Object System.Drawing.Size(10,40)
$textBox.Size = New-Object System.Drawing.Size(575,200)
$textBox.AcceptsReturn = $true
$textBox.AcceptsTab = $false
$textBox.Multiline = $true
$textBox.ScrollBars = 'Both'
$textBox.Text = $DefaultText
# Create the OK button.
$okButton = New-Object System.Windows.Forms.Button
$okButton.Location = New-Object System.Drawing.Size(415,250)
$okButton.Size = New-Object System.Drawing.Size(75,25)
$okButton.Text = "OK"
$okButton.Add_Click({ $form.Tag = $textBox.Text; $form.Close() })
# Create the Cancel button.
$cancelButton = New-Object System.Windows.Forms.Button
$cancelButton.Location = New-Object System.Drawing.Size(510,250)
$cancelButton.Size = New-Object System.Drawing.Size(75,25)
$cancelButton.Text = "Cancel"
$cancelButton.Add_Click({ $form.Tag = $null; $form.Close() })
# Create the form.
$form = New-Object System.Windows.Forms.Form
$form.Text = $WindowTitle
$form.Size = New-Object System.Drawing.Size(610,320)
$form.FormBorderStyle = 'FixedSingle'
$form.StartPosition = "CenterScreen"
$form.AutoSizeMode = 'GrowAndShrink'
$form.Topmost = $True
$form.AcceptButton = $okButton
$form.CancelButton = $cancelButton
$form.ShowInTaskbar = $true
# Add all of the controls to the form.
$form.Controls.Add($label)
$form.Controls.Add($textBox)
$form.Controls.Add($okButton)
$form.Controls.Add($cancelButton)
# Initialize and show the form.
$form.Add_Shown({$form.Activate()})
$form.ShowDialog() > $null # Trash the text of the button that was clicked.
# Return the text that the user entered.
return $form.Tag
Clear-Host
$pcnamelist = Read-MultiLineInputBoxDialog -Message "PC NAME LIST" -WindowTitle "Multi Line Example" -DefaultText "Enter PC name(s) each PC must be on its own line and no spaces"
if ($pcnamelist -eq $null) { Write-Host "You clicked Cancel" }
else {
# $pcnamelist = $pcnamelist -replace '(^\s+|\s+$)','' -replace '\s+',' '
Write-Host "You entered the following text:
$pcnamelist"
$pcnamelist
Get-WmiObject -Class win32_bios -cn $pcnamelist -EA silentlyContinue |
Format-table __Server, Manufacturer, Version –AutoSize
R WhiteI entered a couple of lines with . and . for hosts, $PCnamelist is coming back as a string of length 6
To see what is actually returned check out the ascii codes.
PS C:\Users\User> For ($I=0;$I -LT $PCNameLIst.Length;$I++){$C=$PCNameList.Chars($I);$C -as [int]}
46
13
10
46
13
10
There is cr-lf for each line, problem is Get-WMIObject is expecting an array, ie, String[]
The extra cr-lf at the end needs to be stripped off if present otherwise an extra empty element is present
PS C:\Users\User> $PCNames = $PCNameList.Split("`r`n")
$PCNames.Count
3
Something like this at the end of the function is needed
$PCNameList
# Check for extra CR-LF and remove it
While ($PCNameList.Chars($PCNameList.Length-1) -eq "`n")
{$PCNameList=$PCNameList.Substring(0,$PCNameList.Length-2)}
# Split string on CR-LF
$PCNames = $PCNameList.Split("`r`n")
# Return PCNames
Return $PCNames
First thanks for this great replay. I have been trying to alter small sections of it to get a better idea of what it is doing.
I have had no luck getting it to work. It still acts like there is no list of PC's no mater how i alter it or wither i use $PCName or $PCNamelist
Below is the section i have focused on. Again thanks for any help.
### https://social.technet.microsoft.com/Forums/en-US/30078df4-aeca-45f6-bd7f-7106fd0d264c/using-a-existing-sting-to-preform-a-function-on-a-list-of-computers?forum=winserverpowershell
# The below code will show the ascii code of what is stored in the pcnamelist variable
For ($I=0;$I -LT $PCNameLIst.Length;$I++)
{$C=$PCNameList.Chars($I);$C -as [int]}
# The above code will show the ascii code of what is stored in the pcnamelist variable
# The below code will format the user input
$PCNameList
# Check for extra CR-LF and remove it
While ($PCNameList.Chars($PCNameList.Length-1) -eq "`n")
{$PCNameList=$PCNameList.Substring(0,$PCNameList.Length-2)}
# Split string on CR-LF
$PCNames = $PCNameList.Split("`r`n")
Return PCNames
Return $PCNames
Write-Host below is '$PCNames'
$PCNames
Write-Host below is '$PCNamelist'
$PCNamelist
Get-WmiObject -Class win32_bios -cn $PCNames -EA silentlyContinue |
Format-table __Server, Manufacturer, Version –AutoSize
R White -
I have a new computer and need to sync my iPod touch. I get a message telling me that all existing apps and their data will be replaced with apps from this iTunes library. Does that mean I lose all game progress?
XansMamaw wrote:
... Does that mean I lose all game progress?
Yes.
What you need to do is Transfer the iTunes Library from your Old computer to your New computer...
Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
Backup iTunes to an External Drive
http://support.apple.com/kb/HT1751
An Added Bonus is that you will have a Backup of iTunes. -
Insert XML Data Into An Existing PDF Form
I am working on an application, written with XHTML and JavaScript, and running on AIR, so it is a desktop application.
Users enter data into an XHTML form and upon submission I create an XML file of the data using JavaScript.
At any later time users will be able to open the XML file from the application. I will use JavaScript, again, to read the XML and fill in an XHTML form. But at this point I will provide a button for users to generate a PDF with the data. I would then like to insert the XML data into the appropriate fields of the existing PDF form. I would like to continue to do this from within the AIR application using JavaScript.
Is this possible?
What version of Acrobat would I need as the developer? Professional or Standard or Other or None?
What version of Acrobat would the end users need? Professional or Standard or Other or None?
Can this all be done using only JavaScript and the Acrobat SDK? Does using AIR offer any help (all Adobe products)?
When the end user clicks the generate PDF button would Acrobat have to open? Can this be done without the user seeing Acrobat open? Either way is ok, I would just like the user to see an alert saying that the file has be generated and point them to its location on the local machine. But again, this is not a requirement.
Thanks in advance.
Not asking for source code here, just if its possible. :)
I'll figure out the how.You have two choices
1) You can use JavaScript in your AIR application to communicate with the JavaScript in the PDF to fill in the form directly. This can all be done inside of your AIR app. This is certainly the best route to go and there is (IIRC) a sample in the AIR SDK.
2) You can create an XFDF file from your XML data and then have Acrobat/Reader open the XFDF file to fill in the data.
Both methods will work with Acrobat and Reader - HOWEVER, Reader users won't be able to save the PDF unless it has been Reader Enabled.
Leonard -
How to display WHO columns in oracle apps form
Hi all,
I have WHO columns in the Table and i need to add in the existing form and i have WNI trigger (execute_query) and i am trying to add columns in the Existing Database Block
After opening the Form(oracle apps form) i am not getting/populate any records on the Block
Please help and please give me the steps
ThanksHi ,
This community is to discuss Oracle Application Server specific issues, you can post this query in for better response:
Forms
Oracle Forms - EBS (MOSC)
Regards,
Prakash. -
Hi All,
I have created one addon for MRP in this addon when client click on menu i have to display "Order recomandation" form which will dispaly in existing MRP functions.
How to display existing sap form in our menuclick. please help me as soon as possible.
Regards,
sriHi Sri,
This related to SDK so post this thread on SAP Business One SDK. You will get solution asap.
Thanks
Sachin -
Displaying Discoverer report through Apps Form
Hi all,
I have a question as to, is it possible to call a discoverer report created in discoverer desktop and which is stored in the database., from an Oracle Apps form using the following method
WEB.SHOW_DOCUMENT(url,target).. and if yes what url needs to be passed.
Thnx
ShrutiIf you have a 11.5.10 instance with Advanced Supply Chain Planning setup (of a Vision Instance), apply 4103334 PLANNING DETAIL REPORT FOR MSC PATCHSET J
Then look at the function MSCPLDTL_DISC, it makes a call with Parameters Workbook=MSC_PLAN_DET_REP_WB&Parameters=Sheet~1*, of Type SSWA plsql function and HTML call OracleOasis.RunDiscoverer.
The form that launches the Discoverer report is MSCPLDTL.fmb. -
Invoking Discoverer Report through Apps Form
Hi all,
I have a question as to, is it possible to call a discoverer report created in discoverer desktop and which is stored in the database., from an Oracle Apps form using the following method
WEB.SHOW_DOCUMENT(url,target).. and if yes what url needs to be passed.
Thnx
ShrutiIf you have a 11.5.10 instance with Advanced Supply Chain Planning setup (of a Vision Instance), apply 4103334 PLANNING DETAIL REPORT FOR MSC PATCHSET J
Then look at the function MSCPLDTL_DISC, it makes a call with Parameters Workbook=MSC_PLAN_DET_REP_WB&Parameters=Sheet~1*, of Type SSWA plsql function and HTML call OracleOasis.RunDiscoverer.
The form that launches the Discoverer report is MSCPLDTL.fmb.
Maybe you are looking for
-
PO number and material issued against this PO for subcontracting
How to know the link in between the PO number and material issued against this PO for subcontracting. I have checked that PO history is not getting updated. Thanks,
-
Performance Tunning in oracle 11g
Hi everybody, My oracle version is 11.2.0.2 and OS :RHEL 5.5;64 bit each.As far i know,in 11g most tunning issues are handled by oracle itself.But still there are many issues that a dba should consider.Recently my system begin to response slowly,and
-
Simple question just about any one can answer I need a quick answer.
Of course there are millions of iPod and iTunes users. and of course many of them want to back up their music, Reformat the same PC and pu the music they bought and legaly on Back onto the same PC. I can't be the first person in iPod history to re-fo
-
Track names disappeared in the Playlists but titles are in Library
I don't know if this is due to "upgrading" to Snow Leopard or to iTunes 9 (I have not opened iTunes in quite awhile). Before I upgraded both iTunes and OSX I had the name of all the songs in each of the Playlists, but now most of the Playlists are em
-
I sent an email the other day, but now I notice the characters '<?xml' are appearing at the end of the last line of my email. I didn't type those characters when I was composing the email, yet they're showing as if I did. I decided to load the email