Serial no in forms
Hi,
Please help he how i can put serial numbers in a detail block for each record?
thanks in advance
ajay
Hi Friends,
I am a beginer in Oracle forms.I have a master & detail block for a payroll application.In the detail block I have employee's.For each employee diplayed in the detail block I need to give a record number.
How can I achieve this.I used :system.cursor_record in the post_query trigger.But some of the serials are repeating.
I dont need to store the serials in the database.Just have to show the serials when the records are queried.
How i can achieve this.Please help
thanks and regards
Ajay
Similar Messages
-
Acrobat X Pro has a flawed serial number application form at the point where it asks for your State, the first time. I will not allow me
to complete the form and receive my Serial Number.@I purchased it from my University bookstore and the attending clerk was no better informed than was I.
The form is required to be infilled in order to receive the serial number necessary for installation of the software
After five hours of trying, I was able to overcome the flaw in the form, as it appeared on the Acrobat website, and
complete the two pull-down menus indicating the State in which I live.
I called Adobe Customer Care for assistance and had to wait two hours for a return call, and by the time the
call came though I had found that the website form allowed me to pull-down for the State of location.
Adobe is an uncaring vendor, once it has your money in hand. -
Info about read or write a serial port with forms 6.0.5
Anybody can give some info. on read or write a serial port using form (Developer 6.0.5).
Thanks
MM
nullOne option you can try is to develop a DLL
function to read/write serial port,
and then write a ORA_FFI procedure to call the DLL function.
Peter Ng
Calgary, Canada
null -
Serial communication with forms developer
How I can send character to a serial port with form developer 6.0 on winNT 4.0?
Thank you, P. Guerriero.If you're using a serial connection can you talk to it using HyperTerminal, or equivalent serial communication program? You should check this first.
More than likely the issue is with termination characters. Check the documentation to determine what termination characters need to be used when sending commands, and what termination characters are used to indicate the end fo a read. For commands it's usually just a carriage return, and for reading data it's usually a linefeed. -
Form serial number selection (Form=25)
Hi All,
I want to transfert the content of the left matrix to the right matrix automatically when the user put something and press TAB in the field Filter.
I try to do this with use this :
oMatrixTo.AddRow(j, 1);
oForm.DataSources.DBDataSources.Item("OSRN").SetValue("2", i, "AZ");
But i cannot because the item is not an userdefined object.
So i want to select all lines in the left matrix and simulate a click in the button "8" (Button ">") but i don't arrived to simulate a press to CTRL and click to the header rows.
My questions are :
It is possible to transfert automatically data from left matrix to right ? Is yes, how can i do this ?
How to simulate CTRL + Click on the Header rows ?
Thanks for your help.
Best regards,
MichaelHi Michael,
Yes it is possible to automatically transfer available serial numbers to the selected list. As njmog1 suggests, to select an available serial number you have to simulate a click in the first cell on the required row (the # column), then to transfer you need to simulate a click on the transfer ">" button. The following code will select all available serial numbers and transfer them across (ofcourse SAP will only bring across the required amount):
Dim oForm As SAPbouiCOM.Form = oApp.Forms.Item(FormID)
Dim mtx As SAPbouiCOM.Matrix = oForm.Items.Item("5").Specific
'Select first row.
mtx.Columns.Item(0).Cells.Item(1).Click()
'Shift click on last row to select all.
mtx.Columns.Item(0).Cells.Item(mtx.RowCount).Click(SAPbouiCOM.BoCellClickType.ct_Regular, SAPbouiCOM.BoModifiersEnum.mt_SHIFT)
'Cick on > button to transfer to selected list.
oForm.Items.Item("8").Click()
oForm = Nothing
You would use Shift not Ctrl on the last row click to select all rows. Ctrl only selects individual rows. Hope that helps.
Andrew.
[www.beabetterbusiness.com|www.beabetterbusiness.com] -
How send data to serial port from forms 6i
How send data to serial port to activate hardware connect.
The hardware is a drawer for cash the point of sales.Andres,
I do the exact thing you are looking for,
I spool out a text file using text_io
the file will either contain a double ^G or an epson escape sequence, depending on the drawer type connected.
I then copy this file to the port using a copy function id d2kwutil
Works perfectly, but god knows how I'll do it if we want to run the point of sale over the web :)
John -
Populate Serial Number from SO to forms
Hi Gurus
Need yr expertise.. I have maintained serial number in Sales Order (Extras --> Technical Objects).. I have a requirement to print the serial number in forms.. How do I do that? I have checked the serial number and it is in structure (RIWOL-SERNR)..
Pls advise..
SanjayHi Sanjay
Serial Number Profile has Procedures , those procedures may be examples
a)Maintain goods receipt and issue doc.
b)Serial numbers in PP order
c)PP order release
d)Serial nos in repetitive manufacturing
e)Maintain inspection lot
f)Serial numbers in SD order
g)Completness check for delivery
h)Completion check IR delivery
i)Maintain delivery
j)Maintain returns delivery
So we can maitain multiple procedures under one serial number profile.
2) Those procedures might w.r.t our application
3) In addition to that that procedures having another settings like Sr number Usage and Equipment number requirment like to create or not create.
4) Serial number profile has some settings like Equipment category, stock chek etc
5) The T.Code for Serial Number Profile is OIS2
6) A Material will be activated for Serial Number Applications, and start asking to provide serial numbers eg. at the time Goods Movements, Production order etc
7) The setting required is In Work Scheduling view, we can assign the profile
8) Serial Number creation can be done at two places a) By IQ01 or IQ04 Tranacations and during Good Movement
9) Normally system can generate only Numercal serial numbers by Internal Sr Number creation, Alpha Num is Manual
10) If alpha numerical means we have to enter or have to make z program with our logic by calling the IQ01 tranasaction and entering our alpha numerical numbers
11) A serial number can be changed or a material which was assigned to serial number can be changed by using the transaction IQ02 with serial number special functions
The below link will help u
http://www-03.ibm.com/servers/storage/disk/pdf/smsm200.pdf
Reward if useful to u -
Says that my serial number is not valid. Adobe Pro XI
says that my serial number is not valid. Adobe Pro XI
Hi adobeproxiinstall,
If you have a subscription for Adobe Acrobat XI Pro you won't require a serial number to serialize it . There will an option to 'Sign In' please click on that & sign in using your Adobe ID to serialize the product.
In case if you have a perpetual licence for your Adobe Acrobat XI pro you will require a 24 digit serial key starting form '1118' (1118-XXXX-XXXX-XXXX-XXXX-XXXX ), please crosscheck it.
Also let me know for where did you download the Adobe Acrobat XI pro.
The direct link to download Adobe Acrobat XI pro is : Download Acrobat products | Standard, Pro | DC, XI, X
In case if you experience any issue please let us know, we will be happy to help you.
Regards,
Aadesh -
Equipment hierarchy with Non serialized products to Installed base in CRM
Hi,
I have just performed an equipment download from R/3 to CRM. I now have these records created as individual objects assigned to an installed base.
However my equipment record in R/3 has Serialized Products as well as non serialized products in form of BOM (bill of material).
Example: Equipment Hierarchy (In R/3 )
10123428 Main Equipment have 2 non serialized product
199-012100 (Non serialized product under this equipment)
270-012200 (Non serialized product under this equipment)
10123429 Subordinate equipment to main equipment
(Serialized product )
340-070800 (Non serialized product under this 2nd equipment)
270-562700 (Non serialized product under this 2 nd equipment)
The Main equipment(10123428) is created as installed base in CRM successfully.
The Subordinate Serialized product (10123429) to main equipment is created as individual object under this Installed base of the Main equipment properly.
But the non serialized products (199-012100,270-012200 ) for main equipment and non serialized products (340-070800 ,270-562700)for the subordinate serialized product are not coming in CRM .
Because When I go to IB53 transaction there is no entry in the components in the product Tab under product id column.
Has anyone replicated R/3 equipment records with BOM structure into CRM and got their Non serialized products visible in the components of the Individual objects.
Any help would be most appreciated.
Regards,
RahulHi Prabhakaran,
You can filter the data downloaded from R/3 to CRM based on the filter criteria assigned to adapter objects. You can do this via transaction R3AC1 wherein you specify the table and fields based on which you want to filter out the data.
For Serial Numbers and Equipments the business objects are SERIAL and EQUIPMENT respectively.
Reward with points if this helps.
Regards,
Gaurav Gera -
Opening the Serial Number Selection window
Hello,
I have designed a custom form using screen painter, which saves data to a UDT. I want the Serial Number Selection dialog to open when i click on the add button of my user form.
How can it be done?Hi Rohan,
Check the below threads, they may help u with some work around.
Invoking Serial / Batch Number Selection System Form
UI: Referencing serial number selection form
Serial Number for UDO Screen
Hope it helps,
Vasu Natari.
Edited by: vasu natari on Nov 19, 2009 11:04 AM -
Hi All!
I want to read hard drive serial no using Forms 6i.
Thanks in advance
Waqas,you mean how can I read it without forms?
Yes I know Steps:
Open Command Prompt
Type Dir Press Enter
Information will be shown like this
C:\Documents and Settings\Administrator>dir
Volume in drive C has no label.
Volume Serial Number is "D41C-94E3"
Waqas, -
No matching records found 'Batchs and Serial Numbers' (OSRD) (ODBC-1028)
Hi experts,
These days In our 2007 system, we had a serial number maintain problem on 'Recipt from Production' transaction.
When we open 'Serial Number Management' form, we can not update S/N by 'Complete' operation mode for some items. but it works for 'Update' operation mode.
The system show 'No matching records found 'Batchs and Serial Numbers' (OSRD) (ODBC-1028)' in the status bar.
How could I fix it ?
thanks for your help.Hi Wilson,
Do you manage the serial number transaction for respective item with "On Every Transaction" or "On Release Only" (in Item master data)? Because, when you manage those item with "On Every Transaction", you should already filled the serial number when you tried to receive those item whether by Goods Receipt PO or Receive from Production transaction.
"Complete" operation in Serial Numbers Management only works for item which you manage by "On Release Only", it doesn't work for item which managed using "On Every Transaction". Hope I don't misunderstood your question.
Best Regards,
Hendry Wijaya -
Communicating Thru COM /Serial port
Hi,
I am developing POS system. The Display pole is connected on com1 and cash drawer on serial port. Can anyone help me how if i have a variable var_amt and want to display it on the pole[com1] what command to use i.e. how to open com / serial port thru forms.
Thanks in AdvanceWe have an old Forms application that needed to dial a modem through the serial port. Here's some code to maybe get you started. I'm going to assume you're on Windows.
Step 1:
Attach an OLE object to your canvas, and point that to MSCOMMLib.MSComm.1 (the MS serial port handler).
Step 2:
Sample code. This is our DIAL_PHONE proedure that receives a phone number, opens the COM port (in our case COM2), sends the modem dial strings, and waits for a respomse back from the mode. I'm not an expert, we just taught ourselves enough to get this one functionality to work.
/* Receives phone string, including area code, and dials a modem on COM2. Disconnects 9 seconds
after dialing (S7=09), assuming the telemarketer will have switched control to their headsets by then
PROCEDURE dial_phone(phone_number IN OUT VARCHAR2) IS
CommHandle ole2.obj_type; -- to hold the interface pointer
hold number;
modem_init VARCHAR2(30) := 'ATQ0V1E1S0=0X4S7=5';
dial_string VARCHAR2(20);
com_err VARCHAR2(100);
outBuf NUMBER;
inchar varchar2(100) := ' ';
loop_count NUMBER(9) := 0;
dial_msg varchar2(100);
time_start binary_integer;
time_end binary_integer;
z NUMBER := 0;
delay NUMBER := 100000;
--Return from check exchange
phone_to_dial VARCHAR2(15);
X VARCHAR2(15);
BEGIN
IF phone_number IS NULL
THEN x := win_alert('OK','No phone number to dial.');
raise form_trigger_failure;
END IF;
logit(:global.debug,'======== Begin DIAL_PHONE (' || phone_number || ') ==============');
-- Check exchange #, If it's in local calling area don't use an area code. Will also
-- add user's long distance data to the number returned, if necessary,
phone_to_dial := check_exchange(phone_number);
CommHandle := forms_ole.get_interface_pointer('b_main_prospect_info.mscomm_ocx');
--Set up the dial string with the passed phone number
dial_string := 'ATDT9' || phone_to_dial;
dial_msg := 'Dialing ' || dial_string || '...';
message(dial_msg,NO_ACKNOWLEDGE);
synchronize;
-- Set the com port to COM2.
OLE2.SET_PROPERTY(CommHandle, 'CommPort', 2);
-- try to close COM2, in case it was open for some reason. 0 = FALSE, -1 = TRUE
begin
OLE2.SET_PROPERTY(CommHandle, 'PortOpen', 0);
exception
when others then null; -- if already open, ignore error
end;
-- Set modem to 1200 baud, no parity, 8 data, and 1 stop bit.
OLE2.SET_PROPERTY(CommHandle, 'Settings', '1200,N,8,1');
-- Open the port. 0 = FALSE, -1 = TRUE
OLE2.SET_PROPERTY(CommHandle, 'PortOpen', -1);
-- find out if the com port has opened successfully. 0 = FALSE, -1 = TRUE
hold := OLE2.GET_num_PROPERTY(CommHandle, 'PortOpen');
IF hold = 0 THEN --the com port could not be opened.
X := WIN_ALERT('OK', 'Your COM2 port (modem) could not be opened. Contact your supervisor');
RAISE form_trigger_failure;
END IF;
-- Send the attention command to the modem. Default setup string
OLE2.SET_PROPERTY(CommHandle, 'Output', modem_init || chr(13));
z := 0;
loop
z := z + 1;
exit when z = delay;
end loop;
-- Run program that give windows control to process info. in output buffer to modem
HOST(:global.gtec_dir || 'DEVENTS.EXE');
--Send the dial string
OLE2.SET_PROPERTY(CommHandle, 'Output', dial_string || chr(13));
z := 0;
loop
z := z + 1;
exit when z = delay;
end loop;
-- Run program that give windows control to process info. in output buffer to modem
HOST(:global.gtec_dir || 'DEVENTS.EXE');
--Clear the dialing string from the input buffer
OLE2.SET_PROPERTY(CommHandle, 'InBufferCount', '0');
* Loop until we get a BUSY or NO CARRIER signal.
loop_count := 0;
time_start := dbms_utility.get_time; -- store loop start in 1/100's of seconds
inchar := ' ';
LOOP
-- Run program that give windows control to process info. in output buffer to modem
HOST(:global.gtec_dir || 'DEVENTS.EXE');
outBuf := OLE2.GET_NUM_PROPERTY(CommHandle, 'InBufferCount');
--Read the response data in the serial port, character by character. Build INCHAR
inchar := inchar || OLE2.GET_CHAR_PROPERTY(CommHandle, 'Input');
--message(inchar);
OLE2.SET_PROPERTY(CommHandle, 'InBufferCount', 0);
* Check to see if a BUSY has been returned
IF INSTR(inchar, 'BUSY') <> 0 THEN
--Close the port
OLE2.SET_PROPERTY(CommHandle, 'PortOpen', 0);
-- Release the MSCOMM handle
OLE2.release_obj(CommHandle);
--Set the list to busy
:b_main_prospect_info.CALL_STATUS_LIST := 'BUSY_NO_ANSWER';
--Process a call marked as Busy/No Answer
process_busy_no_answer;
EXIT;
END IF;
IF INSTR(inchar, 'RING') <> 0 THEN
message(inchar || ' ...', ACKNOWLEDGE);
inchar := ' ';
END IF;
* Check to see if a NO CARRIER has been returned
IF INSTR(inchar, 'NO CARRIER') <> 0 THEN -- happens when they switch to headset. No message shows.
--message('NO DIAL TONE' || ' ...', ACKNOWLEDGE);
inchar := ' ';
GO_ITEM('CALL_STATUS_LIST');
EXIT;
END IF;
*Check to see if a OK has been returned
IF INSTR(inchar, 'OK') <> 0 THEN
message(inchar || ' ...', ACKNOWLEDGE);
inchar := ' ';
GO_ITEM('CALL_STATUS_LIST');
EXIT;
END IF;
loop_count := loop_count + 1;
IF MOD(loop_count,1000) = 0
THEN dial_msg := dial_msg || '.';
message(dial_msg,NO_ACKNOWLEDGE);
synchronize;
END IF;
time_end := dbms_utility.get_time;
-- Compare current time to loop start time in 1/100's of seconds. If more than 10 seconds, end.
if time_end - time_start > 1500
THEN message('Problem dialing number. Result response not received from modem.', ACKNOWLEDGE);
message(' ');
GO_ITEM('CALL_STATUS_LIST');
EXIT;
END IF;
END LOOP;
OLE2.SET_PROPERTY(CommHandle, 'Output', 'ATH' || chr(13));
z := 0;
loop
z := z + 1;
exit when z = delay/10;
end loop;
--Close the port
OLE2.SET_PROPERTY(CommHandle, 'PortOpen', 0);
OLE2.release_obj(CommHandle);
--Give list box focus
update tele.gtec_login_tbl
set last_dialed = phone_number,
last_dialed_time = sysdate
where v_user_id = user;
forms_ddl('commit');
if to_number(:global.address_id) > 0
then GO_ITEM('b_main_prospect_info.call_status_list');
else GO_ITEM('b_manual_call.v_call_outcome');
end if;
EXCEPTION
when others then
logit(:global.debug,'Error dialing phone');
--Give list box focus
if to_number(:global.address_id) > 0
then GO_ITEM('b_main_prospect_info.call_status_list');
else GO_ITEM('b_manual_call.v_call_outcome');
end if;
END; -
Reading Hard Disk Serial No.
How can I read hard disk serial# from oracle forms?..I need it to implement security on login system...so that system could'nt be run on any other system.
Kashif,
If you had searched the forum then the first searched result would have solved your worries
i made a sample form and posted it on OTN last month
please follow this link and download the smaple form
Hard Disk Serial No. Retrieval Example!!
If you have problems using the sample form then follow these steps to make your own
follow these steps...
Make a new form, new block, new canvas...
go to layout editor of the canvas
Now:
- Create an ActiveX Control Item (OCX) on your canvas.
- Right click it and select 'Insert Object...'.
- A list will come
- Press 'H' on keyboard
- It will come to a selection "HardwareInfo Control'
- select it and then press ok!.
- In the main Form biulder menu 'Program', choose 'Import OLE Library Interfaces'
- again Press 'H' on keyboard
- and see to find out a selection in the list: "HardwareInfo.HardWareInfo.ctrl1'
- select it and then u will see something each in Method Package(s) and the Event Package(s) lists.
- Select both the Method Package(s) and the Event Package(s). Make sure they're highlighted.
i.e "_dhardwareinfo and _dHardwareinfoEvents"
- Now press OK
- Verify the existance of 5 new programme units in your Foms Program units section in object navigator:
i.e.
HARDWAREINFOLib_CONSTANTS
HARDWAREINFO_HardWareIn_EVENTS
- Now go to layout editor again and make a new single display_item (non-db)
- make a push button..
copy the following code in ur wehn-buton-pres tigger, dont forget ot change the
'your_block.your_activex_item_name' p[ortion in the following code with correct block and OCX item name
DECLARE
VAR oleobj;
BEGIN
VAR := :ITEM('your_block.your_activex_item_name').interface;
:ur_display_item_name := HARDWAREINFO_DHardWareInfo.HardDisk1SerialNumber(VAR);
END;
now run the form and see what serial no it shows..
also how maany hard disk u have on ur pc the .dll files can show upto four hard disk serial nos
look closely this 'HardDisk1SerialNumber' of the above:
:ur_display_item_name := HARDWAREINFO_DHardWareInfo.HardDisk1SerialNumber(VAR);
u can see the '1' in the 'HardDisk1SerialNumber' is the no of system hard disk..u may try it by changing to HardDisk2SerialNumber, HardDisk3SerialNumber, HardDisk4SerialNumber
regards
Asim. -
Link Between Service Notification and Sales Order
Hi All,
In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
Please guide me.
With Regards
Vinu.NHello Vinu
For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
That is a solid link right there.
I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
Hope this helps.
Maybe you are looking for
-
HELP! Unable to reinstall SmartTalk. Appalling tec...
I think SmartTalk is a great app, but unfortunately like much of BT it is built around the most user-unfriendly systems and processses on the planet. I've been trying to reinstall SmartTalk on my daughter's new phone for over the past week and it sti
-
!URGENT! Driver info HP4145A
Has somebody experience with programming a HP4145 parameter analyser in LabVIEW.I'm looking for examples, tips and mayby a whole driver. I already downloaded the HP4145B driver. I can send trough GPIB, but can't read a thing ! Please help !!! I don't
-
Seperate NT service for App server and Process Scheduler
Is it possible to create a separate NT service for App server and Process Schedule for the same environment? Everytime i need to shutdown either App Domain or Prcs Domain (not both) using service, it brings down both. I could use psadmin but services
-
I am wanting to order a photo book from iphoto. I am not living in one of the supported countries. Does anyone know when or if this service will become available in Australia? Thanks.
-
Hi all, I am creating an adobe form. When i click on "layout" tab, it's giving me a message like.. Could not start Layout Designer (see long text) How to resolve the problem? Thanks Nitesh