Enter date PO acceptance date from vendor W/O unreleasing PO.
Hello Everyone !!
My client wants to enter date of PO acceptance from vendor.
In standard we can use order acknowledgement field but client doesnt want to unrelesed PO so we cannot edit PO.
And same date should be available while running report.
please arrive at best possible solution to this issue.
Abhijeet Kadam
Abhijeet Kadam wrote:
client doesnt want to unrelesed PO so we cannot edit PO.
If you can't edit the PO, then how can you maintain the acceptance date for the PO ?
If you do not want to maintain the acceptance date in PO, use your own custom table where you can maintain the the PO number and acceptance date and the same will be pulled in report.
Similar Messages
-
I want to be able to enter data from my pc to my ipod touch
I want to be able to enter data from my pc to my ipod touch. Pleas advise if possible, and what app or progran i need.
Not sure if there's an app for Windows. Pages (a word processing app) is available for the Mac and iPod Touch, iPhone and iPad and it fits your requirement.
-
Enter dates from past Centuries
Greetings:
Does anybody knows how to enter dates from past Centuries (ej. 1650, 1700, 1825, etc.) on a date picker display item. Currently you can only go back to year 1921.
Rafael SHi Rafael,
Currently, there is no way to increase the entries in the Year select list of the Date Picker. To keep page size small, this range of years were chosen.
You can still manually enter a value in an item associated with a Date column. You just would not be able to select it using a Date Picker.
Joel -
Enter Data from one table to two tables
Hi
I have three table one is master sale_order another is sale_order_detail(detail table) and the thirs is external table
what i want the data from extenal table to my master and detail
What i did for this i create a cursor and enter the data in master but what i need in detail i am able to insert but i am not able to understand how i will insert ID in detai my cursor and table codes are given below
sale_order;
Name Null? Type
ID NUMBER
SALE_ORDER_NO VARCHAR2(50)
ORDER_DATE DATE
PARTY_NAME VARCHAR2(100)
DEL_DATE DATE
COMMENT1 VARCHAR2(200)
desc sale_order_detail;
Name Null? Type
ID NUMBER
PROD_ID VARCHAR2(20)
STYLE VARCHAR2(100)
COLOR VARCHAR2(20)
XS NUMBER
S NUMBER
M NUMBER
L NUMBER
XL NUMBER
PCS NUMBER
TOTAL_QTY NUMBER
COMMENTS VARCHAR2(100)
SQL> desc po_pending_csv;
Name Null? Type
P_O_NO VARCHAR2(20)
PARTY_NAME VARCHAR2(120)
PROD_CODE VARCHAR2(20)
STYLE_NAME VARCHAR2(120)
COLOR VARCHAR2(25)
XS VARCHAR2(25)
S VARCHAR2(25)
M VARCHAR2(25)
L VARCHAR2(25)
XL VARCHAR2(25)
PCS VARCHAR2(25)
COMMENTS VARCHAR2(100)
COMMENT1
DECLARE
v_p_o_no sale_oder.sale_order_no%type;
v_party_name sale_order.party_name%type;
CURSOR po_cursor IS
SELECT DISTINCT(p_o_no),party_name FROM po_pending_csv;
BEGIN
OPEN po_cursor;
LOOP
FETCH po_cursor INTO v_p_o_no,v_party_name;
EXIT WHEN po_cursor%NOTFOUND;
INSERT INTO sale_order (id,sale_order_no,party_name,order_date)
VALUES (sale_order_id_seq.nextval,v_p_o_no,v_party_name,sysdate);
END LOOP;
CLOSE po_cursor;
END;
DECLARE
CURSOR c1 IS
SELECT id from sale_order;
v_id sale_orderdetail.id%TYPE;
v_p_o_no sale_oder_detail.p_o_no%TYPE;
v_prod_code sale_oder_detail.prod_id%TYPE;
v_style_name sale_oder_detail.style%TYPE;
v_color sale_oder_detail.color%TYPE;
v_xs sale_oder_detail.xs%TYPE;
v_s sale_oder_detail.s%TYPE;
v_m sale_oder_detail.m%TYPE;
v_l sale_oder_detail.l%TYPE;
v_xl sale_oder_detail.xl%TYPE;
v_pcs sale_oder_detail.pcs%TYPE;
v_comments sale_oder_detail.comments%TYPE;
CURSOR po_cursor_detail IS
SELECT p_o_no,prod_code,style_name,color,xs,s,m,l,xl,pcs,comments
FROM po_pending_csv;
BEGIN
OPEN po_cursor_detal;
OPEN c1;
LOOP
FETCH po_cursor_detail INTO v_p_o_no,v_prod_code,
v_style_name,v_color,v_xs,v_s,v_m,v_l,v_xl,v_pcs,v_comments;
FETCH c1 INTO v_id;
EXIT WHEN po_cursor_detail%NOTFOUND;
EXIT WHEN c1%NOTFOUND;
INSERT INTO sale_order_detail(id,prod_id,style,color,xs,s,m,l,xl,pcs,
total_qty,comments)
VALUES (v_id,v_prod_id,v_style,v_color,v_xs.v_s,v_m,v_l,v_xl,v_pcs,
v_xs+v_s+v_m+v_l+v_xl,v_comments);
END LOOP;
CLOSE po_cursor_detail;
CLOSE c1;
END;
plesae help me
thanks and regards
vikas singhalTry this:
DECLARE
TYPE t_sales IS RECORD(
id DBMS_SQL.NUMBER_TABLE,
p_o_no DBMS_SQL.VARCHAR2_TABLE,
party_name DBMS_SQL.VARCHAR2_TABLE,
prod_code DBMS_SQL.VARCHAR2_TABLE,
style_name DBMS_SQL.VARCHAR2_TABLE,
color DBMS_SQL.VARCHAR2_TABLE,
xs DBMS_SQL.NUMBER_TABLE,
s DBMS_SQL.NUMBER_TABLE,
m DBMS_SQL.NUMBER_TABLE,
l DBMS_SQL.NUMBER_TABLE,
xl DBMS_SQL.NUMBER_TABLE,
pcs DBMS_SQL.VARCHAR2_TABLE,
total_qty DBMS_SQL.NUMBER_TABLE,
comments DBMS_SQL.VARCHAR2_TABLE,
flag DBMS_SQL.NUMBER_TABLE);
a_sales t_sales;
TYPE t_sales_id_list IS TABLE OF SALE_ORDER%ROWTYPE
INDEX BY PLS_INTEGER;
a_sales_id_list t_sales_id_list;
v_curr_id NUMBER;
CURSOR c_sales IS
SELECT *
FROM (SELECT NULL id,
p_o_no,
party_name,
prod_code,
style_name,
color,
xs,
s,
m,
l,
xl,
pcs,
xs+s+m+l+xl total_qty,
comments,
ROW_NUMBER() OVER(PARTITION BY p_o_no,
party_name
ORDER BY p_o_no,
party_name) row_number
FROM po_pending_csv)
ORDER BY p_o_no,
party_name,
row_number;
v_timestamp DATE := SYSDATE;
v_array NUMBER := 1;
BEGIN
OPEN c_sales;
LOOP
FETCH c_sales BULK COLLECT
INTO a_sales LIMIT 100;
-- Logic to populate ID
FOR i IN 1 .. a_sales.id.COUNT
LOOP
IF a_sales.flag(i) = 1 THEN
-- Only get nexval for distinct values of p_o_no, party_name
SELECT sale_order_id_seq.NEXTVAL
INTO v_curr_id
FROM dual;
-- Assign new id to a_sales
a_sales.id(i) := v_curr_id;
-- Populate a_sales_id_list
a_sales_id_list(v_array).id := v_curr_id;
a_sales_id_list(v_array).sale_order_no := a_sales.p_o_no(i);
a_sales_id_list(v_array).order_date := v_timestamp;
a_sales_id_list(v_array).party_name := a_sales.party_name(i);
-- Increment counter
v_array := v_array+1;
ELSE
-- Populate a_sales id with last value
a_sales.id(i) := v_curr_id;
END IF;
END LOOP;
-- Insert into Sales Order
FORALL i IN 1 .. a_sales_id_list.COUNT
INSERT INTO SALE_ORDER
VALUES a_sales_id_list(i);
-- Insert into Sales Order Detail
FORALL i IN 1 .. a_sales.id.COUNT
INSERT INTO SALE_ORDER_DETAIL
(id,
prod_id,
style,
color,
xs,
s,
m,
l,
xl,
pcs,
total_qty,
comments)
VALUES
(a_sales.id(i),
a_sales.prod_code(i),
a_sales.style_name(i),
a_sales.color(i),
a_sales.xs(i),
a_sales.s(i),
a_sales.m(i),
a_sales.l(i),
a_sales.xl(i),
a_sales.pcs(i),
a_sales.total_qty(i),
a_sales.comments(i));
-- delete array
a_sales_id_list.delete;
-- reset counter
v_array := 1;
EXIT WHEN c_sales%NOTFOUND;
END LOOP;
CLOSE c_sales;
COMMIT;
END;Cheers -
Excel crashes when entering data from VBA form
After only 6 lines of data entered via VBA form with macros enables, excel crashes everytime. The code basically looks for the next empty row and then populates sheet with data from the form.
Is this known bug or is there something in the code causing this. I have tried on a couple of macs and get the same result.
Will post code here and the CRASH code ....
This is the code
Private Sub CommandButton1_Click()
'Dim lRow As Integer
Dim lRow As Long
Dim ws As Worksheet
Set ws = Worksheets("FamilySunday")
lRow = ws.Cells.Find(what:="*", searchorder:=xlRows, searchdirection:=xlPrevious, LookIn:=xlValues).Row + 1
'lRow = ws.Cells.Find(what:="*", searchorder:=xlRows, searchdirection:=xlPrevious, LookIn:=xlValues).Row + 1
With ws
Cells(lRow, 1).Value = Me.txtName.Value
Cells(lRow, 2).Value = Me.txtEmail.Value
Cells(lRow, 3).Value = Me.txtFacebook.Value
Cells(lRow, 4).Value = Me.txtMobile.Value
Cells(lRow, 5).Value = Me.txtDate.Value
If OptionButton1.Value = True Then
Cells(lRow, 6).Value = "Face Book"
ElseIf OptionButton2.Value = True Then
Cells(lRow, 6).Value = "Twitter"
ElseIf OptionButton3.Value = True Then
Cells(lRow, 6).Value = "Skating Heaven web site"
Else
Cells(lRow, 6).Value = "Friends"
End If
Cells(lRow, 10).Value = Me.txtParty.Value
End With
'Clears the form for new entry
Me.txtName.Value = ""
Me.txtEmail.Value = ""
Me.txtFacebook.Value = ""
Me.txtMobile.Value = ""
Me.txtParty.Value = ""
Me.txtDate.Value = ""
Unload Me
frmDisclaim.Show
ActiveWorkbook.Save
End Sub
Private Sub CommandButton2_Click()
Unload Me
ActiveWorkbook.Save
Application.DisplayAlerts = False
Application.Quit
Application.DisplayAlerts = False
End Sub
Private Sub txtName_Change()
'This will add date of entry which is hidden from view
Me.txtDate.Value = Format(Date, "Medium Date")
End Sub
And this is the CRASH CODE
Process: Microsoft Excel [243]
Path: /Users/useruser/Desktop/Microsoft Office 2004/Microsoft Excel
Identifier: com.microsoft.Excel
Version: 111101 (11.6.6)
Code Type: PPC (Translated)
Parent Process: launchd [64]
Interval Since Last Report: 12933 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 1251 sec
Per-App Crashes Since Last Report: 2
Date/Time: 2012-04-19 01:39:36.568 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 1EA8AF14-BFEA-4D77-B4AD-582D3EC7D271
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000001
Crashed Thread: 0
Thread 0 Crashed:
0 translate 0xb80bcd58 0xb8000000 + 773464
1 translate 0xb80b7007 0xb8000000 + 749575
2 translate 0xb80d49c0 0xb8000000 + 870848
3 translate 0xb813ce79 spin_lock_wrapper + 1981
4 translate 0xb8011b64 0xb8000000 + 72548
Thread 1:
0 ??? 0x800bc166 0 + 2148254054
1 ??? 0x800c395c 0 + 2148284764
2 translate 0xb818b6ea CallPPCFunctionAtAddressInt + 202886
3 ??? 0x800ed055 0 + 2148454485
4 ??? 0x800ecf12 0 + 2148454162
Thread 2:
0 translate 0xb81529ef spin_lock_wrapper + 90931
1 translate 0xb8183633 CallPPCFunctionAtAddressInt + 169935
2 translate 0xb81861e2 CallPPCFunctionAtAddressInt + 181118
3 translate 0xb80dfb0b 0xb8000000 + 916235
4 ??? 0x812d7856 0 + 2167240790
Thread 3:
0 translate 0xb815289e spin_lock_wrapper + 90594
1 translate 0xb816e8a7 CallPPCFunctionAtAddressInt + 84547
2 translate 0xb80dfb0b 0xb8000000 + 916235
3 ??? 0x81b75cb6 0 + 2176277686
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0xb80bcd30 ecx: 0x00000001 edx: 0x00000003
edi: 0x00000001 esi: 0x80303820 ebp: 0xb7fffa08 esp: 0xb7fff9d0
ss: 0x0000001f efl: 0x00010206 eip: 0xb80bcd58 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000001
Binary Images:
0xb8000000 - 0xb81d7fe7 translate ??? (???) /usr/libexec/oah/translate
Translated Code Information:
Rosetta Version: 21.03
Args: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp /Users/useruser/Desktop/Microsoft Office 2004/Microsoft Excel
Exception: EXC_BAD_ACCESS (0x0001)
Thread 0: (0xb009a83c, 0xb81529ef)
0x00833000: No symbol
0x00659204: /Users/useruser/Desktop/Microsoft Office 2004/Office/ShMem.bundle/Contents/MacOS/ShMem : _MerpUnregisterCFMFragment + 3156
0x944fd074: /usr/lib/libSystem.B.dylib : __pthread_body + 40
0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : + 0
PPC Thread State
srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x94472fa0 ctr: 0x9446c070
r00: 0xffffffe1 r01: 0xf0080d60 r02: 0x00000001 r03: 0xf0080e4c
r04: 0x00000102 r05: 0x00000000 r06: 0x00000054 r07: 0x00003403
r08: 0x000003e8 r09: 0x00000000 r10: 0x000eb018 r11: 0xa076368c
r12: 0x9446c070 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0xf0080e4c r25: 0x00000054 r26: 0x00003403 r27: 0x000003e8
r28: 0x00000000 r29: 0x00000102 r30: 0x00000102 r31: 0x00663fb0
Thread 1: (0xb011ce20, 0xb815289e)
0x944af1d8: /usr/lib/libSystem.B.dylib : __pthread_cond_wait + 1260
0x91f57944: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _TSWaitOnConditionTimedRelative + 244
0x91f57718: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _TSWaitOnSemaphoreCommon + 432
0x91f898ac: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _TimerThread + 72
0x944fd074: /usr/lib/libSystem.B.dylib : __pthread_body + 40
0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : + 0
PPC Thread State
srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
cr: 0xXXXXXXXX xer: 0x20000000 lr: 0x944af218 ctr: 0x9446c0f0
r00: 0xffffffd9 r01: 0xf0101c90 r02: 0xa075e53c r03: 0x00005e03
r04: 0x00006103 r05: 0x00000000 r06: 0x0aa34c10 r07: 0x00000000
r08: 0x00000000 r09: 0x00000001 r10: 0xf0101e48 r11: 0xa0763a74
r12: 0x9446c0f0 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0xa035986c r21: 0x92037570 r22: 0x92037570 r23: 0x00000000
r24: 0x00000000 r25: 0x00000001 r26: 0xf0101e48 r27: 0xa075ed00
r28: 0xa0351bc4 r29: 0xa075e53c r30: 0xa0351bf8 r31: 0x944aed00
Thread 2: Crashed (0xb7fff9d0, 0xb80bcd58)
0x767dcd34: No symbol
0x767e25d8: No symbol
0x7678010c: No symbol
0x76792208: No symbol
0x767eaa98: No symbol
0x76773ebc: No symbol
0x767dcd34: No symbol
0x76808188: No symbol
0x76815f0c: No symbol
0x767dcd34: No symbol
0x76767314: No symbol
0x76773e38: No symbol
0x767e9188: No symbol
0x767e8cf0: No symbol
0x767f1064: No symbol
0x767f2f5c: No symbol
0x7681cbcc: No symbol
0x767fd7c0: No symbol
0x7680563c: No symbol
0x767e8cf0: No symbol
0x767f1064: No symbol
0x767e50fc: No symbol
0x767e5020: No symbol
0x767e54e8: No symbol
0x7680cbbc: No symbol
0x763d0b88: No symbol
0x763cf824: No symbol
0x76397520: No symbol
0x76455e94: No symbol
0x763abca8: No symbol
0x763a8e68: No symbol
0x763a8d6c: No symbol
0x763bb110: No symbol
0x763bb2c8: No symbol
0x76390850: No symbol
0x7639091c: No symbol
0x00902e8c: No symbol
0x7652b078: No symbol
0x76517ff4: No symbol
0x00971b90: No symbol
0x7631ec60: No symbol
0x7631ee30: No symbol
0x765361c4: No symbol
0x765374ac: No symbol
0x76537ad0: No symbol
0x7681947c: No symbol
0x767e3e60: No symbol
0x767e0234: No symbol
0x767e55a4: No symbol
0x76774cc0: No symbol
0x7676f198: No symbol
0x7676f248: No symbol
0x7676f278: No symbol
0x76781c54: No symbol
0x767dcd34: No symbol
0x7680faac: No symbol
0x7682ad04: No symbol
0x76817bdc: No symbol
0x767dcd34: No symbol
0x76773b58: No symbol
0x767f168c: No symbol
0x767f3490: No symbol
0x763b2594: No symbol
PPC Thread State
srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
cr: 0xXXXXXXXX xer: 0x20000000 lr: 0x767e25d8 ctr: 0x7679b670
r00: 0x767e25d8 r01: 0xbffafec0 r02: 0x177a0000 r03: 0x00000001
r04: 0xbffaffe8 r05: 0x177b2024 r06: 0x00000044 r07: 0x00000002
r08: 0xbffb0058 r09: 0xbffb0048 r10: 0x00000000 r11: 0x177bd71c
r12: 0x177a1094 r13: 0x15c69b48 r14: 0x00000002 r15: 0x15637d20
r16: 0x15637d20 r17: 0x00000001 r18: 0x156844ec r19: 0x00001081
r20: 0x15c032e0 r21: 0x00000000 r22: 0x00000004 r23: 0x1ad300d0
r24: 0x1ad300d0 r25: 0x00000000 r26: 0x00000000 r27: 0xffffffff
r28: 0xfffffd37 r29: 0xbffaffe8 r30: 0xbffaff50 r31: 0xbffaffe8The issues you describe have nothing to do with the other posting you are referencing. They state they have the following problem:
(numbers on ipad) drops several of the important features that I created in the laptop version such as headers and footers, fonts, steppers, sliders, etc.
It sounds like your having no data entry at all. There is a known issue with certain formulas causing crashes, but not every data entered like you seem to be stating.
I might have missed it, but did you delete and reinstall Numbers on your ipad?
If not, please write down EXACTLY the steps used to reproduce the problem, then go to http://www.apple.com/feedback and input this into a bug report for ipad numbers. Be very specific as to the steps involved to get to the crash point.
Thanks
Jason -
REG : restrict in a way that user has to enter data from f4 help
hello,
i have problem that i have to restrict the user in a such a way that he can enter data that is in F4 help.
or it is blank .
i am using it in DIALOG PROGRAMMING. it i put attribute as input NOT POSSIBLE itwill become gray but my user doesn't want it.so how can i restrict. them to write data in it.Hi Prathap,
As you said one way could be to make it a Drop down...but if values are more than 10, it is definitely going to be the worst UI element user has to face..
Other way is to make the field input disabled. Please note that the F4 still works in these cases EXCEPT that it cannot copy value when user selects it in F4. This can be addressed by handling the F4 rather than leaving it to dynpro framework.
Use
PROCESS ON VALUE-REQUEST.
field GV_TEST_VAR MODULE get_value_on_F4.
This will trigger the module get_value_on_f4 when user chooses F4 on the field( where he cannot Enter Manually). Now you can even put a simple screen showing values of the length you desire, Get it back after user selects and PUSH the value into the variable.So User cannot Enter , F4 is available also with values shown as long as you want,,,
Hope this helps. -
Entering data from JTextfield into Database--- Techniques
hello friends,
I am developing an application where i want to insert data from my Jtextfield to data base.
I know all the procedure but i am confused.
I have 11 fields in my frame, out of which 3 are compulsory. rest are optional.
i am validating those 3 compulsory fields.
so i have to generate run time insert query, depending on the fields Populated.
Also i have my connection to db in other class. that not a problem as i can call a method. But how to pass so many arguments. when no. of arguments also change runtime.Thanks Aniruddha,
But i didn't understand what u said.
I think I will do as following
1. check the populated field.
2. if yes then insert them into a hashmap .
key = field name, value = field value
3. send the hash map as the argument to function connecting my db.
4. retrieve the fields. and dependingly make a prepared statement for insertion.
5. as some of my fields are integer, convert them to int . then set them
6. then execute the query.
if u have any other suggestions please tell.... -
Using PowerShell to import CSV data from Vendor database to manipulate Active Directory Users
Hello,
I have a big project I am trying to automate. I am working in a K-12 public education IT Dept. and have been tasked with importing data that has been exported from a vendor database via .csv file into Active Directory to manage student accounts.
My client wants to use this data to make bulk changes to student user accounts in AD such as moving accounts from one OU to another, modifying account attributes based on State ID, lunchroom ID, School, Grade, etc. and adding new accounts / disabling
accounts for students no longer enrolled.
The .csv that is exported doesn't have headers that match up with what is needed for importing in AD, so those have to be modified in this process, or set as variables to get the correct info into the correct attributes in AD or else this whole project is
a bust. He is tired of manually manipulating the .csv data and trying to get it onto AD with few or no errors, hence the reason it has been passed off to me.
Since this information changes practically daily, I need a way to automate user management by accomplishing the following on a scheduled basis.
Process must:
Check to see if Student Number already exists
If yes, then modify account
Update {School Name}, {Site Code}, {School Number}, {Grade Level} (Variables)
Add correct group memberships (School / Grade Specific)
Move account to correct OU (OU={Grade},OU=Students,OU=Users,OU={SiteCode},DC=Domain,DC=net)
Remove incorrect group memberships (School / Grade Specific)
Set account status (enabled / disabled)
If no, create account
Import Student #
Import CNP #
Import Student name
Extract First and Middle initial
If duplicate name exists
Create log entry for review
Import School, School Number, Grade Level
Add to correct Group memberships (School / Grade Specific)
Set correct OU (OU={Grade},OU=Students,OU=Users,OU={SiteCode},DC=Domain,DC=net)
Set account Status
I am not familiar with Powershell, but have researched enough to know that it will be the best option for this project. I have seen some partial solutions in VB, but I am more of an infrastructure person instead of scripting / software development.
I have just started creating a script and already have hit a snag. Maybe one of you could help.
#Connect to Active Directory
Import-Module ActiveDirectory
# Import iNOW user information
$Users = import-csv C:\ADUpdate\INOW_export.csv
#Check to see if the account already exists in AD
ForEach ( $user in $users )
#Assign the content to variables
$Attr_employeeID = $users."Student Number"
$Attr_givenName = $users."First Name"
$Attr_middleName = $users."Middle Name"
$Attr_sn = $users."Last Name"
$Attr_postaldeliveryOfficeName = $users.School
$Attr_company = $users."School Number"
$Attr_department = $users."Grade Level"
$Attr_cn = $Attr_givenName.Substring(0,1) + $Attr_middleName.Substring(0,1) + $Attr_sn
IF (Get-ADUser $Attr_cn)
{Write-Host $Attr_cn already exists in Active DirectoryThank you for helping me with that before it became an issue later on, however, even when modified to be $Attr_sAMAaccountName i still get errors.
#Connect to Active Directory
Import-Module ActiveDirectory
# Import iNOW user information
$Users = import-csv D:\ADUpdate\Data\INOW_export.csv
#Check to see if the account already exists in AD
ForEach ( $user in $users )
#Assign the content to variables
$Attr_employeeID = $users."Student Number"
$Attr_givenName = $users."First Name"
$Attr_middleName = $users."Middle Name"
$Attr_sn = $users."Last Name"
$Attr_postaldeliveryOfficeName = $users.School
$Attr_company = $users."School Number"
$Attr_department = $users."Grade Level"
$Attr_sAMAccountName = $Attr_givenName.Substring(0,1) + $Attr_middleName.Substring(0,1) + $Attr_sn
IF (Get-ADUser $Attr_sAMAccountName)
{Write-Host $Attr_sAMAccountName already exists in Active Directory
PS C:\Windows\system32> D:\ADUpdate\Scripts\INOW-AD.ps1
Get-ADUser : Cannot convert 'System.Object[]' to the type 'Microsoft.ActiveDirectory.Management.ADUser'
required by parameter 'Identity'. Specified method is not supported.
At D:\ADUpdate\Scripts\INOW-AD.ps1:28 char:28
+ IF (Get-ADUser $Attr_sAMAccountName)
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-ADUser], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgument,Microsoft.ActiveDirectory.Management.Commands.GetAD
User -
IDOC capturing the old data from Vendor master instead of modified data
Hello Friends,
Could you please guide me on the below issue ?
Vendor master was changed with the address being modified at 1300 system time. => change log shows as 1300
Payment run and IDOC generation ( RFFOEDI1 ) was executed at 1400 system time. => IDOC created time as 1400
but , Still the IDOC captured the old vendor master address data onto the IDOC .
this is very strange to me and no idea how this can happen.
thanks
Raghu V
Edited by: Raghunandan Vasudevarao on Jan 27, 2011 11:29 AMModerator message: I am sorry but I had to remove the "correct answer" as it was not correct.
It is well possible to remove the purchasing view via archiving, since archiving of vendor masters is divided into 3 activities: archiving purchasing view, archiving company code views, archiving general data.
Of course there are preconditions: you cannot archive purchasing data view if you had already created orders. In that case you have to archive the orders first.
See the network graphic, in SARA enter object FI_ACCPAYB, then click the icon for network.
In that particular case you would even create inconsistencies if you delete a table entry.
And before you delete table entries you should in general know about the relationship of tables.
Just thinking that a vendor master is LFA1, LFB1 and LFM1 is much to short. Goto DB15, enter FI_ACCPAYB (this is the archiving object) in the lower part and see how much tables are returned. These are all tables that can have data if you maintain a vendor master.
Now check all those tables if they have a relation to LFM1 and if they contain data
what will happen if you delete the vendor despite of existing orders? you probably get a dump when you access the purchase order. -
Hi -
I am looking for the easiest way to find out when all open PO's for a specific item are due in. The only tool we are using now is the inventory status report then drilling down to the activity.
I need a quick way, that if our CS people are on the phone and customer wants to know when an item is due in, they can get it in a quick glance. Does it really have to be generated through a query or a crystal report? If so, how?Assign this FMS to Item Descrition then shift f2 or click the magnifying glass.
You have to modify it as we use UDF Fields for ETA Dates
IF (SELECT DISTINCT T0.Itemcode FROM POR1 T0 WHERE T0.ItemCode = $[$38.1.0] AND T0.Dscription = $[$38.3.0] AND T0.LineStatus != 'C')
IS NOT NULL
SELECT T1.DocNum AS 'Document',
T0.ItemCode AS 'Item Code',
T0.Dscription AS 'Description',
T0.Quantity AS 'Orig. Qty',
T0.OpenQty AS 'Open Qty.',
T0.LineStatus AS 'Status',
U_PORedDT AS 'E.T.A. COWPER'
FROM POR1 T0
INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.ItemCode = $[$38.1.0] AND T0.Dscription = $[$38.3.0] AND T0.LineStatus != 'C'
UNION
SELECT (SELECT MIN(DocNum) FROM OPOR), NULL, 'END OF REPORT', NULL, NULL, NULL , NULL
ORDER BY DocNum DESC -
How to stop BAPI(FM) when enter data from front end is calling a BAPI
Hi Experts
We are entering the data through front end , that is calling one BAPI and upadating the data
into SAP .
could any one tell me how to stop this BAPI , is it possible to stop that BAPI using external break points
Thanks.Is this BAPI Called in another task? Otherwise, you should be able to debug it like any other Function module in foreground.
-
Payment proposal list missing bank data from vendor
when we print the payment proposal via F110 Edit>proposa>proposal list
the bank details from the vendor master used to appear, however they have suddenly disappeared we use standard SAP program RFZALI20
thanksHi,
I am not that much sure but this can be done with the help of Work flow.
Regards
Shayam -
Currency input data for Vendor Master
Hi
When I make a PO (me21n), the Currency data is missing. From where do we get the Currency data - from Vendor Master or the Material Master ?
Thanks in advance
VaideeDear,
You got it from Vendor Master.
Enter XK01 - Create Vendor master - > Purchasing view you can maintain currency for vendor master.
For check vendor master - XK03.
You can change it with XK02.
Regards,
Mahesh Wagh. -
Entered data in form is lost upon export to excel? Help.
Dear forum members,
I have a need to deliver a user fillable form to customers on a thumb drive. I created the form from an existing excel spreadsheet. The customers need to enter (numerical) orders for products and return the drive to me. I can get the data entered by the customer to save in the pdf form,but when I export back to excel the entered data from the pdf form is missing. Any help or suggestions would be appreciated.Ah, ok, this is for regular PDF files, not for form contents (which are entirely separate). Use TOOLS > Forms > More Form Options > Manage form data. Various export formats are available.
-
Failure to retrieve data from the database (Vendor Code 6550)
I am having a trouble with two of the 6 reports that I have created. I am using Crystal XI and Oracle 10g. The underlying database object is a stored procedure that accepts as input a start time as a TIMESTAMP, an end time as a TIMESTAMP and a furnace number as a number. I have a cursor ref as a return parameter.
When I run the stored procedure in Oracle I get the selected records and can view them on the screen.
When I refresh data on the report in Crystal XI developer, the designer asks me for the start and end time and furnace number. When I input these values the report displays properly.
When I launch the report from my VB .NET 2005 application I am asked for the username and the password for the database (this is another problem I need to solve as this information I put into the program seems to be ignored in my program) then I receive the following failure message:
Failure to retrieve data from the database (Vendor Code 6550)
When I launch the other reports, they only ask me for the username and password then they display the proper data.
The main difference between my other reports and the two that are returning the above failure code is that the other reports are to either tables or views. The two that don't work are tied to stored procedures. I there any way that I can solve this problem or at least get more information?
Any help would be greatly appreciated. Let me know if you need any other information.I have a similar problem, the only difference is that the crystal report error is only thrown when I try to load the sub reports at my web application. When I deploy my report to the Web application the main report loads up fine but when I try to launch the sub reports from the main report it can no longer load.
But when I use the Crystal report developer I am able to load the main report and it's associated sub reports without any issues.
My issue only occurs when I try to load the sub report in the web application. The following sections shows how my reports look like both in my .NET web application and also at the Crystal Report Development IDE.
Failure: Loading my Reports from .NET Web Application
1) When I load from the web application I am able to load the main report as per the print screen below.
2) When I try to click on the hyper links to enter the sub reports I am now able to load them, both sub reports cannot load and will throw the same error "
Failed to retrieve data from the database. Details: [Database Vendor Code:
6550 ] Failed to retrieve data from the database. Details: [Database Vendor
Code: 6550 ] Failed to retrieve data from the database. Error in File OAWR3011A
{CEC8A94A-4490-4640-95FB-2739A679978B}.rpt: Failed to retrieve data from the
database. Details: [Database Vendor Code: 6550 ] "
Success: Loading my Reports from Crystal Report Development Tool
1) This is my Main Report Loaded from the Crystal Report Development Tool, the first two hyperlinked fields are links to my sub reports, step number 2 and number 3 shows my sub reports when I load it using Crystal Report Developer
2) Sub Report 1 Loaded Successfully, when I click on the fields in the first link
3) Sub Report 2 loaded successfully when I click the second field hyper link
Maybe you are looking for
-
Disable on board graphics card
How can I disable the on board graphics card on my P&-1227c? I am trying to install an new video card and it keeps coming up blank but when I take it out everything works agian. It came with Windows 7 installed so I do not have the secure boot config
-
Created website in flash cs3, wont open once hosted...
I tried to find the answer here in the forums but couldn't,. I'm sorry, i bet this question has been posted before.. I created a website in flash cs3. published it so that I now have an index.html, home.swf and AC_RunActiveContent.js file. when I u
-
Display URL prefix for file source
Hi Gurus, Maybe a real simple one, but please advise as the site is going to go production soon. Please take a look at this eg. Filesource1: i)physical dir(URL): file://localhost/private/htdocs/abc/ URL prefix : file://localhost/private/htdocs/ displ
-
Digital editions has stopped working
Digital editions 3 has suddenly stopped working on my computer. It was fine yesterday but it was open when my computer froze and I had to turn it off. I tried downloading it again but i got the same error message. How can I get it working again?
-
Hi Gurus, We Need to upload the stock of materials without affecting financial implication, please suggest. Regards, Kumar