Advance to employees procedure
Hi,
In material vendor we are following procedure
1) f-48
2) f-43
3 ) f-54
wt is procedure for Employee is vendor after f-48
How system adjust salaries account through spl gl
Thanks
karim
Hi sk.karim,
There are three scenario's:
We have the following Configuration:
Step -1: Create two GL Accounts: 1. Sundry Creditors - Employees and 2. Advance to Employee
Step-2: Go to T-Code: OBYR and Select 'A' and Double Click on 'A' then Assign Reconciliation Account as Sundry Creditors - Employees GL Account and For Special GL Account provide the Advance to Employee's GL Account
and Save
Step-3: Go to path: SPRO > FA > AR/AP > BT > Outgoing Payments > Automatic Outgoing Payments > Payment method/Bank selection for payment program > (Select)Setup all Company Codes for Payment Transactions
Select New Entries and provide our Company Code and Paying Company Code as our Company Code and Special GL Transactions to be paid - "A"
and Save
Scenario: 1: If the Down Payment or Advance Payment and Employee Invoice are same or equal.
Example: Advance to Employee is 10,000 and his Salary is also 10,000 (Employee Invoice) then we have the following T-Codes:
1. F-48
2. F-43
3. F-54 and
4. F-44
Scenario: 2: If the Down Payment or Advance Payment Amount is lesser than Employee Invoice.
Example: Advance to Employee is 5,000 and his Salary is also 10,000 (Employee Invoice) then we have the following T-Codes:
1. F-48
2. F-43
3. F-54 and
4. F-53
Scenario: 3: If the Down Payment or Advance Payment Amount is greater than Employee Invoice.
Example: Advance to Employee is 15,000 and his Salary is also 10,000 (Employee Invoice) then we have the following T-Codes:
1. F-48
2. F-43
3. F-54
4. F-44
and for remaining balance is covered in next month salary invoice.
Similar Messages
-
Hi Experts,
Please advice what is the best way to handle payment of advances to employees (defined as Vendors) so that the advance payment made to them is reflected in their ledger.
Regards,
Asap FanHi
If you want to track the amount the best way to handle is
Create a Control account in Asset named Employee Advance account
Create BP group employee and create employee master in Business Partner master data as vendor, link the control account
Use AP Service Invoice to book all the expenses.
through this you can have complete employee wise report.
Regards
Kamlesh Vagal -
While uploading data for employee as a vendor (with their loans and advance
Hi,
We are going for one company live. We are not taking HR module as of now.
We are creating employee as a vendor for all employees with outstanding loans and advances.
Now while uploading initial data for these employee (created as vendor), business wants personal loan outstanding balances employee as a vendor wise.
Generally in case of normal vendor, we treat like
Vendor A/C Dr
to takeover creditors a/C Cr
while going for initial upload.
In above case what should we do if we want outstanding balances (personal loan) while initial balance upload?
Thanks,
Taral PatelHi,
You can create a separate employee vendor for Advances paid to them with an assignment to a separate recon account titled as Advance to Employees. Later, you can upload the entries by Debiting the Employee Advance Vendor account and crediting Vendor Upload Account.
Advances paid to employees (recon account) will represent in the TB as a separate line item forming an MIS.
Regards
Hari -
Advance payment to vendor through FBCJ
Hi,
While we are paying salary/imprest/other/travel advance to Employee vendor through t/code u2013 FBCJ which has no Spl GL. This payment gets debited automatically in Employees account ( 350110). Whereas salary advance should go to GL code 320080, imprest/other advances should go to GL code 320140 and Tour advance should go to GL code 320100.
Kinldy tell me if we want to pay vendor advance through FBCJ in cash where Special GL indicator option is not given in SAP, how we can pass entry through this FBCJ ?. Because in F-48 there is a option for Bank A/C GL.
With Regards,
SamratHi,
Thnks for your reply. You have opened Clearing Account in your company. Because in our compnay they are doing this type of scenario thorugh Contra Account. Pass the entry through FB60 then F-43. Here nullifies conta account and then pass through FBCJ.
Kindly tell me while you are using Clearing A/c Dr. to Cash A/c Cr, which t code you are using. Is it F-02 and doc type SA. And while you use FB01 for Vendor A/C Dr. To Clearing A/C Cr. which doc type you use ? And Dr and Cr posting keys are 25 and 50.
And finally while you pass Vendor A/c Dr. To Cash a/c, you are using FBCJ in payment tab. Am I right ? Kindly tell me above queries..
With Regards,
Samrat -
hello.
I hope someone can help. My script below takes record(s) from a temporary table and loads them into ORACLE Financials via several APIs but on initial testing (using 1 NEW Record) it fails with the error message:
Employee No: 00020206
ORACLE error occurred processing record.. ORA-20001: PAY_7599_SYS_SUP_DT_OUTDATE
Ive tried to google the error message but nothing - can someone either suggest what this may be or shsow me another way of getting a more precise reason for the problem?
/* Formatted on 2009/04/29 11:52 (Formatter Plus v4.8.7) */
SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
SET verify OFF
SET feedback OFF
DECLARE
-- Debugging/error handling
-- Work variables
l_employ_start_date DATE:= TO_DATE ('01-APR-1999', 'DD-MON-YYYY');
v_ora_loc_code number := 0;
p_emp_number VARCHAR2 (14);
v_rec_cnt NUMBER := 0;
insert_flag VARCHAR2 (8);
err_num NUMBER;
err_msg VARCHAR2 (150);
err_line VARCHAR2 (350);
err_seq NUMBER := 0;
l_validate BOOLEAN DEFAULT FALSE;
l_std_business_group_id NUMBER := '0';
l_default_code_comb_id NUMBER := '218048';
l_organization_id NUMBER := '0';
l_set_of_books_id NUMBER := '1';
l_job_id NUMBER := '10';
l_obj NUMBER;
l_datetrack_update_mode VARCHAR2 (30) := 'CORRECTION';
l_assignment_sequence NUMBER;
l_name_combination_warning BOOLEAN := FALSE;
l_assign_payroll_warning BOOLEAN := FALSE;
l_org_now_no_manager_warning BOOLEAN;
l_other_manager_warning BOOLEAN;
l_spp_delete_warning BOOLEAN;
l_entries_changed_warning VARCHAR2 (30);
l_tax_district_changed_warning BOOLEAN;
l_person_id NUMBER;
l_assignment_id NUMBER;
l_assignment_id2 NUMBER; -- := '28262';
l_special_ceiling_step_id NUMBER;
l_per_effective_end_date DATE:= TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_people_group_id NUMBER;
l_group_name VARCHAR2 (30);
l_assignment_number VARCHAR2 (35);
l_effective_end_date DATE := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_date DATE := SYSDATE;
ip_p_address_id per_addresses.address_id%TYPE;
ip_p_object_version_number NUMBER;
ip_p_party_id per_addresses.party_id%TYPE;
l_per_object_version_number NUMBER;
l_asg_object_version_number NUMBER;
l_full_name VARCHAR2 (240);
l_per_comment_id NUMBER;
l_per_effective_start_date DATE;
l_concatenated_segments VARCHAR2 (240);
l_soft_coding_keyflex_id NUMBER;
l_comment_id NUMBER;
l_no_managers_warning BOOLEAN;
-- Get employee details info from work table
CURSOR get_employee_details
IS
SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
std_email_address, std_emp_status,
LPAD (std_employee_number, 8, '0') std_employee_number,
std_first_name, std_marital_status, std_middle_names,
std_nationality, std_title, std_national_identifier,
std_address_line1, std_address_line2, std_address_line3,
std_address_line4, std_post_code, std_telephone_1, std_country,
std_region, std_location_id, std_organization_id,
std_supervisor_id, std_person_id, std_position_id
FROM SU_TEMPLOYEE_DETAILS;
-- Get EXISTING employee details info from ORACLE tables
CURSOR get_existing_employee_details
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE
per.person_id = padd.person_id
-- AND paas.person_id(+) = per.person_id;
AND paas.person_id(+) = per.person_id;
-- checks employee details info from PER_ALL_PEOPLE_F table
CURSOR c_check_employee (p_emp_number VARCHAR2)
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE per.employee_number = p_emp_number
AND per.person_id = padd.person_id
AND paas.person_id(+) = per.person_id;
emp_rec c_check_employee%ROWTYPE;
-- Cursor retrieves latest Object Version Number from per_assignments_f table..
CURSOR csr_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
IS
SELECT MAX (paas.object_version_number)
FROM per_assignments_f paas, per_all_people_f per
WHERE paas.person_id = per.person_id
AND per.employee_number = paas.assignment_number
AND per.person_id = cp_person_id;
-- Cursor to get Oracle_Loc_Code from SU CHRIS vs ORACLE Locations Table into a variable..
CURSOR csr_ora_loc_code (cp_location_id IN SU_TEMPLOYEE_DETAILS.std_location_id%TYPE)
IS
SELECT sil.ORACLE_LOC_CODE
FROM SU_TEMPLOYEE_DETAILS std, SU_IEXP_LOCATIONS sil
WHERE std.STD_LOCATION_ID = sil.CHRIS_LOC_code
AND std.STD_LOCATION_ID = cp_location_id;
BEGIN
-- Process each record in the work table
FOR v_emp IN get_employee_details
LOOP
-- determine whether customer already exists
OPEN c_check_employee (v_emp.std_employee_number);
FETCH c_check_employee
INTO emp_rec;
l_assignment_id2 := emp_rec.assignment_id;
IF v_emp.std_emp_status = 'N' and c_check_employee%NOTFOUND
THEN
insert_flag := 'I';
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number);
ELSIF v_emp.std_emp_status = 'C'
THEN
-- if c_check_employee%NOTFOUND then raise no_data_found;
-- elsif l_assignment_id2 is null then
if l_assignment_id2 is null then
raise_application_error (-20010, 'Employee No: ' || v_emp.std_employee_number || ' exists but has no assignment id!');
end if;
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number || ' already exists, making changes.. ' );
insert_flag := 'C';
-- RAISE_APPLICATION_ERROR (-20001, 'Employee No: ' || v_emp.std_employee_number || ' already exists ' );
END IF;
CLOSE c_check_employee;
-- Obtain the most recent Object Version Number..
OPEN csr_ovn (v_emp.std_person_id);
FETCH csr_ovn
INTO l_obj;
-- IF csr_ovn%NOTFOUND THEN RAISE NO_DATA_FOUND; END IF;
CLOSE csr_ovn;
-- Open Oracle Location Code cursor
OPEN csr_ora_loc_code(v_emp.std_location_id);
FETCH csr_ora_loc_code
INTO v_ora_loc_code;
CLOSE csr_ora_loc_code;
-- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
IF insert_flag = 'I'
THEN
-- -- Importing Employee Procedure --
Hr_Employee_Api.create_gb_employee
(p_validate => l_validate,
p_hire_date => l_employ_start_date,
p_business_group_id => l_std_business_group_id,
p_date_of_birth => v_emp.std_date_of_birth,
p_email_address => v_emp.std_email_address,
p_first_name => v_emp.std_first_name,
p_middle_names => v_emp.std_middle_names,
p_last_name => v_emp.std_last_name,
p_sex => v_emp.std_sex,
p_ni_number => v_emp.std_national_identifier,
p_employee_number => v_emp.std_employee_number,
p_person_id => l_person_id,
p_title => v_emp.std_title,
p_assignment_id => l_assignment_id,
p_per_object_version_number => l_per_object_version_number,
p_asg_object_version_number => l_asg_object_version_number,
p_per_effective_start_date => l_per_effective_start_date,
p_per_effective_end_date => l_per_effective_end_date,
p_full_name => l_full_name,
p_per_comment_id => l_per_comment_id,
p_assignment_sequence => l_assignment_sequence,
p_assignment_number => l_assignment_number,
p_name_combination_warning => l_name_combination_warning,
p_assign_payroll_warning => l_assign_payroll_warning
Hr_Person_Address_Api.create_person_address
(p_validate => l_validate,
-- p_effective_date => v_emp.std_hire_date,
p_effective_date => l_employ_start_date,
p_pradd_ovlapval_override => NULL,
p_validate_county => NULL,
p_person_id => l_person_id,
p_primary_flag => 'Y',
p_style => 'GB_GLB',
p_date_from => SYSDATE,
p_date_to => NULL,
p_address_type => NULL,
p_comments => NULL,
p_address_line1 => v_emp.std_address_line1,
p_address_line2 => v_emp.std_address_line2,
p_address_line3 => v_emp.std_address_line3,
p_town_or_city => v_emp.std_address_line4,
p_region_1 => NULL,
p_region_2 => NULL,
p_region_3 => NULL,
p_postal_code => v_emp.std_post_code,
p_country => v_emp.std_nationality,
p_telephone_number_1 => NULL,
p_telephone_number_2 => NULL,
p_telephone_number_3 => NULL,
p_party_id => ip_p_party_id,
p_address_id => ip_p_address_id,
p_object_version_number => l_obj
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => l_default_code_comb_id,
p_set_of_books_id => l_set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
p_object_version_number => l_obj,
p_organization_id => l_organization_id,
p_location_id => v_ora_loc_code,
p_job_id => l_job_id,
p_position_id => v_emp.std_position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => l_date,
--per_effective_start_date,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' records read in..'
-- Updating PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
ELSE IF insert_flag = 'C'
THEN
-- ===================================================
-- these next 6 lines is for the initial mass update of existing employee records only
-- ===================================================
/*IF emp_rec.default_code_comb_id is NULL THEN
l_default_code_comb_id = 218048;
END IF;
IF emp_rec.job_id is NULL THEN
l_job_id = 10;
END IF; */
-- =========
-- Section end
-- =========
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => emp_rec.default_code_comb_id,
p_set_of_books_id => emp_rec.set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
p_organization_id => emp_rec.organization_id,
p_location_id => v_ora_loc_code,
p_job_id => emp_rec.job_id,
p_position_id => emp_rec.position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => emp_rec.EFFECTIVE_START_DATE,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' records read in..'
DBMS_OUTPUT.PUT (CHR (10));
-- End of customer related details
END IF;
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
WHEN OTHERS
THEN
ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
END;
EXIT;Many thanks
StevenIt looks like the Supervisor employee is not active for the duration of the Employee Record.
Using the correct Supervisor record should resolve the issue. -
Hello,
I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
0 The package executed successfully.
1 The package failed.
3 The package was canceled by the user.
4 The utility was unable to locate the requested package. The package could not be found.
5 The utility was unable to load the requested package. The package could not be loaded.
6 The utility encountered an internal error of syntactic or semantic errors in the command line.
Details:
I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
Here I receives error code 1.
Can anyone help me to resolve this issue please?
Thanks in advance!
CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
@strPackage nvarchar(100)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @cmd VARCHAR(8000)
DECLARE @Result int
DECLARE @Environment VARCHAR(100)
SELECT @Environment = Waarde
FROM Sys_Settings
WHERE Optie = 'Omgeving'
--print @Environment
SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
SET @cmd = 'dtexec /SQL ' + @strPackage + ' /SERVER "w2250\NGSQLSERVER" /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
--print @cmd
EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
--print @Result
ENDIt has something to do with the security.
E.g. cmdshell is not enabled or the caller has not rights over the package.
There could be a syntax error, too.
I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
sp_start_job <job name>
Arthur
MyBlog
Twitter -
Vendor Advance through Cash Journal
Hi,
Is it possible to post Vendor advances (downpayment) through Cash journal. Client will pay advances to employees for travel. We created employee as a vendor and we need to pay and recover advances from vendors.
Is it possible to post vendor advances through Cash journal.
Best Regards
RajHi,
this question has been asked so many times in this forum.
check the below thread.
[Re: down payment,fbcj]
Thanks,
Srinu -
Hello Guys,
We have issue with Employee vendor. We send employees as vendor to some non-HCM systems. When we are sending one of the employee vendor from HCM system to non HCM system. It sends vendor data and throws iDoc error which is from Function module ADDR_POSTAL_CODE_CHECK.
It is creating address with one extra entry in POST_CODE2 field. So IDoc is getting failed. Can someone help here? Not sure from where it is creating that extra entry?
Thanks!Hi Sieg,
Thanks for your reply.
Company has given Forex advance to employee via third party vendor
So, We need to debit the amount into Employee Vendor and Credit into Third Party Vendor
For Ex: Third Party Vendor is Thomas Cook (Forex Provider)
Please guide me how to post the above entry in Standard.
Regards
Shaik -
Employee Vendor and Third Party Vendor Posting Issue
Dear Experts,
I have an issue while Posting of Employee Vendor and Third Party Vendor.
In T706K table, maintained symbolic account offset entry MJ90 Wage Type but its asking for Symbolic Exp account too. Otherwise, while posting its says Trip has no postable entries.
I should get entry in FB03 as mentioned below
Employee Vendor (Dr)
Service Tax (Dr)
Third Party Vendor (Cr)
Awaiting for quick response.
Regards
ShaikHi Sieg,
Thanks for your reply.
Company has given Forex advance to employee via third party vendor
So, We need to debit the amount into Employee Vendor and Credit into Third Party Vendor
For Ex: Third Party Vendor is Thomas Cook (Forex Provider)
Please guide me how to post the above entry in Standard.
Regards
Shaik -
Dbms_metadata.GET_DDL for all procedures for a schema
I am trying to capture all the procedure DDLs for schema CUSTOM
I am using 11g on Linux.
I run this command...
SELECT dbms_metadata.GET_DDL('PROCEDURE',NULL,'CUSTOM') FROM DUAL;
And get this error:
ORA-31600: invalid input value NULL for parameter VALUE in function SET_FILTER
ORA-06512: at "SYS.DBMS_METADATA", line 4018
ORA-06512: at "SYS.DBMS_METADATA", line 5843
ORA-06512: at line 1
Thanks in advance.user13716252 wrote:
I am trying to capture all the procedure DDLs for schema CUSTOM
I am using 11g on Linux.
I run this command...
SELECT dbms_metadata.GET_DDL('PROCEDURE',NULL,'CUSTOM') FROM DUAL;
And get this error:
ORA-31600: invalid input value NULL for parameter VALUE in function SET_FILTER
ORA-06512: at "SYS.DBMS_METADATA", line 4018
ORA-06512: at "SYS.DBMS_METADATA", line 5843
ORA-06512: at line 1
Thanks in advance.specify actual procedure name; not NULL -
Not able to Park document with special GL indicator 7-Other Advance to Empl
Dear All
We have defined a Special GL indicator 7 - Other Advance to Employees for Account type K-Vendors.
Allowed transaction type for this special GL indicator is Down payemnt/Down payment request.
Posting Keys for Debit - 29 and Credit 39.
By using this spcial GL indicator and posting key 29 we have posted down payment to employee vendor.
and every month we are posting docuemnt as below thru FB01 for recovery of instalments.
Positing Key SP GL
39 7 Employee Vendor - XXXXX
40 salaries XXXXX
Now as per JSOX audit compliance, first user has to Park the above docuemnt and then to be posted.
While parking the document we are facing below error.
Special G/L indicator 7 is not defined for down payments.
Any one please guide on this.
We have to use above special GL indicator only.
Thanks
RKHi,
In down payment how you will debit the salaries.
Only vendor is debited with special gl and Bank is credited.
so are you making the advance payment with the request or directly making the down payment in f-48.
is 7 special GL indicator that you defined, as Standard is A.
Never change the standard transaction types of down payment.
Standard SAP will not allow to Park the payments.
Regards,
Padma
Edited by: Padma J on Jul 17, 2009 1:23 PM
Edited by: Padma J on Jul 17, 2009 1:26 PM -
Dear Sapgurus,
We have 10 emp.in this one we paid 1000 rs travel advance, i configure special g/l indicator in this one i given travel advance and emp vendors then after emp submit the bill how do i clear the travel advance.
Regards
ReachmeDear,
You have to post the utilization entry, debiting the crediting the vendor (Invoice), now go to F-44 and clear both the transactions.
Ex: Say you have given for travel 500
Entry has to pass
FB60-Travel Exp ac dr 500
To Vendor ac cr 500
F-48-Advance to employee entry
Vendor a/c dr 500
To bank ac cr 500
F-44-Vendor Clearing
Vendor ac dr 500
To Vendor ac cr 500 -
Block based on PL/SQL Procedure
Hello,
I have been thinking about building an architecture with
database views to support block querying and stored procedures
for DML. By doing this I keep the forms entirely seperated from
the table model, which is good maintenance. Changes to the data
model will affect the views and the stored procedures, not so
much the forms. Another advantage is that block-fields that come
from lookup-tables will be queryable and updateable without too
much programming. And of course perfomance is good since all SQL
is server-processed.
Does anyone know where to look for documenation on basing a
block on stored procedures ? The online help does not contain
too much on this.
Has anyone used this technique successfully and can tell me
about a few advantages of it ? Disadvantages ?
Regards
/Stefan Nilsson, Sigma
nullYes, I've tried that since Forms 5.0. I remember 3 possible
sources for the block, FROM CLAUSE SUBQUERY, TRANSACTIONAL
TRIGGERS , and PROCEDURES.
Advantages,
It is now easier to design screen with any functionality, like
blocks where you are going to manipulate columns from different
tables. Exactly what you have in mind when you mentioned about
views.
It also supports sources other than relational tables .like
the object tables or even non-Oracle data sources.
All you have to code are procedures to support the SELECT,
LOCK, INSERT, DELETE, and UPDATE functions.
Disadvantages,
You have to code advanced PL/SQL procedures. Price to pay for
excellent functionality.
I can't exactly remember the documentation, but there is a
book titlted Advanced Developers or domething...
Stefan Nilsson (guest) wrote:
: Hello,
: I have been thinking about building an architecture with
: database views to support block querying and stored procedures
: for DML. By doing this I keep the forms entirely seperated from
: the table model, which is good maintenance. Changes to the data
: model will affect the views and the stored procedures, not so
: much the forms. Another advantage is that block-fields that
come
: from lookup-tables will be queryable and updateable without too
: much programming. And of course perfomance is good since all
SQL
: is server-processed.
: Does anyone know where to look for documenation on basing a
: block on stored procedures ? The online help does not contain
: too much on this.
: Has anyone used this technique successfully and can tell me
: about a few advantages of it ? Disadvantages ?
: Regards
: /Stefan Nilsson, Sigma
null -
How to convert simple SQL Select statements into Stored Procedures?
Hi,
How can I convert following SELECT statement into a Stored Procedure?
SELECT a.empno, b.deptno
FROM emp a, dept b
WHERE a.deptno=b.deptno;
Thanking in advance.
Wajidstored procedure is nothing but a named PL/SQL block
so you can do it like this see below example
SQL> create or replace procedure emp_details is
2 cursor c1 is SELECT a.empno, b.deptno
3 FROM scott.emp a, scott.dept b
4 WHERE a.deptno=b.deptno;
5 begin for c2 in c1
6 LOOP
7 dbms_output.put_line('name is '||c2.empno);
8 dbms_output.put_line('deptno is ' ||c2.deptno);
9 END LOOP;
10 END;
11 /
Procedure created.and to call it use like below
SQL> begin
2 emp_details;
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> set serveroutput on;
SQL> /
empno is 7839
deptno is 10
empno is 7698
deptno is 30
empno is 7782
deptno is 10
empno is 7566
deptno is 20
empno is 7654
deptno is 30
empno is 7499
deptno is 30
empno is 7844
deptno is 30
empno is 7900
deptno is 30
empno is 7521
deptno is 30
empno is 7902
deptno is 20
empno is 7369
deptno is 20
empno is 7788
deptno is 20
empno is 7876
deptno is 20
empno is 7934
deptno is 10Edited by: Qwerty on Sep 17, 2009 8:37 PM -
Does each employee will have an independent vendor account?
Hi Experts,
Happy New Year
We have posted our payroll results successfully. But there was one correction has to be done i.e we are recovering the festival advance from employees. The recovery has to be posted to respective vendor accounts. But in reality it is not happening. It is posting to one vendor account for all employees.
Firstly, I need clarification on - Does each employee will have an independent vendor account?
If yes, then why not the festival advances recovery are not psoting to the respective vendor accounts?
Waiting for your inputs...
Thanks
- SiddardhHi,
Normally we have to create the permanent employees as vendors and contract employees as materials as Anwar said it should be same as their personnel number, because while posting any advances like festival or any reimbursements (Bills submisssions) will be posted against the vendor or material number which is same as personnel number so the cost will be booked with the same number.
Regards,
Sridhar V
Maybe you are looking for
-
"Not Found" Error Message Problem
Hi All! I have a really weird issue happening that I have not found a post for in the boards, although there are some similar ones. I have a video project that I had been working on about a month ago and finished except for credits (I had no problems
-
Monitors for each video track?
Is there a way to have seperate Monitor windows for each video track, so as I scrub through a Sequence I can have a preview of what is on each track all at the same time (without using the Multi Camera editor)
-
Hi all , Sorry if this gets posted in the wrong section as im new to this . But i was wondering how can i find out if i have a cabinet on my line?. as i was told theres 2 different types of line 1 where the exchange goes to the cabinet an then from t
-
Data load from infoprovider : status is green, but no data is loaded.
Hi, I have created a new application copying the planning application (which was again a copy from the apshell application set). I modified the dimensions, after which I wanted to load data from a BW infoprovider using the datamanager. The first thin
-
I created a movie that is 39px in height and does not play. It seems as though any movie that is under 40 pixels in height does not play. I have tested this on miultiple computers with CS5 on them. Has anybody ran into this problem? Thanks