Generate CF (Customs Form) 7501 - Entry Summary
Hello Folks,
We use F8 (Proforma Invoice) to trigger CF 7525 V - Shippers Export Declaration. If the scenario involves implementation of SAP GTS Customs scenario, we transfer F8 and this is independent of we transferring Sales Order or Outbound Delivery Note to SAP GTS. My question is the following.
- Import scenario - SAP GTS 7.2
- Import Documentation after Good Receipt
- Generate CF 7501 - Entry Summary in GTS
- No Inbound Delivery created in SAP (PO followed by a GR)
- Do we still need Inbound Delivery even though we tranfer Good Receipt/Material Document to SAP GTS
- Can we use G/R to trigger creation of the Import Docs which was created with Ref. to a PO
I am sure someone must have had come across a similar challenge in their assignment. I will be glad if someone can throw some light on this scenario. All SAP Documents insist that the Material Document is created with Ref. to the Inbound Delivery.
Thanks folks.
RJ
Hi Rohit,
Check these
How to Generate commercial Invoice and Shippers letter of instructions?
Regards,
PS
Similar Messages
-
Additional Data to be added to 7501/Entry Summary form?
Hi,
Just wanted to know if there is any way we could add additional data in the Entry Summary /7501 form?
If some extra data needs to be added in the form can this be accomplished through GTS? If Yes then do you think any enhancements should be done?
Thanks,
ShruthiHi ,
You can have your custom Z ot Y Form created with the additional data you required . It is possible in GTS, if you first make sure that the additional data that you looking for is present in GTS.
Kind regards,
Sameer -
Custom Form Entry and how to properly use it on a folder
Hello,
I created a custom form based on an example from coolsolution, and I want to use it in one folder.
I does select it within folder configuration.
The problem is that when i create an entry, my form appears, but when I click on OK, it's the old form from the example I found which appears. Then, if I try to modify the entry, I come back to my form, but all the data I entered have been deleted.
In the form editing tool, I deleted all the old fields (from the example). But still teaming found them somewhere.
Could you help me and tell in which step I made a mistake ?
thanks,
GuillaumeStart with a new form. When in the Form designer, notice there are two primary sections: Form and View
Add your elements to the Form, for instance a text box.
Then go into the view and add the same text box (you will see it in the list on the right hand side) to the view.
Now try to use this form in the folder to create an entry.
Does it work? -
How to find custom forms in FND_FORM
Hi All,
I Retrieved data from fnd_form table.I got total forms.But i want only custom forms.How to find custom forms.How to retrieve only custom forms.
Thanks& Regards,
RaghuHi,
Edit form
You use this form to create or change individual documents (for example, single news items). Typically, this form contains input fields in which you can create content (for example, the title or text for a news item).
Show form
You use this form to display a single document. Typically, the Show form displays all elements of a document (for example, the title, author, and all the text contained in a news item). Do not use entry controls on the Show form.
RenderListItem form
You use this form to define the layout of a list entry in a folder in the flexible user interface. Typically, you display some of the elements of a document, such as the title and summary of a news item, on this form. You call up the Show form if you want to display the entire document.
You do not create pushbuttons or links for creating, changing, or deleting XML documents in the RenderListItem form. You define which commands are to be displayed using command groups of the flexible user interface. You can create several iViews for displaying the same XML documents with different command groups.
ListEdit form
You use this form to change a list of documents. Typically, this form contains pushbuttons for creating, changing, and deleting entries. You call up the Edit form if you want to change or create content. You call up the Show form if you want to display all entries.
ListShow form
You use this form to display a list of documents. Typically, this form only displays part of a document element (for example, the title of a news item). You call up the Show form if you want to display the entire document.
Refer this documents
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
Regards,
Kumar -
Upgrade from 11i to R12 - Custom Forms,Reports and Workflows
Dear Community Friends,
We are planning for upgrade from oracle apps 11.5.10.2 to R12.
We have custom Forms,Form Libraries,Reports and Workflows.
Kindly provide me for approach on how to migrate Custom form libraries,reports and Workflows.
I beleive, this thread will exists as one shot point for custom forms,reports,workflow upgradation from 11i to r12 with detailed steps.
I know that many links exists here in the forum for all the above objects mentioned,but still from all those i am able to get a clear picture for oracle forms but not for custom form libraries ,reports and workflows.
Also,this post will provide a low level,practical picture of the steps for those who are in line with this.
Links i have read for all these in our forum are:
For Custom Forms,
Re: Planning to upgrade from 11i to R12
Re: Custom forms: After upgrading 11i to R12
ofcourse,'n' number of links exists providing metalink notes also.
Hussain,Helios and some others also has given many updates regd this.
For custom workflow upgradation,
Upgrade Workflow 11i to R12
Workflow Upgrade
Workflow Upgrade
For reports,links mentioned the below metalink notes:
Do Not Compile EBS R12 Reports Using rwconverter.sh or Reports Builder from IDS 10gR2 [ID 786794.1]
Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
Please correct me,if i am wrong.
1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
2) Open the forms using Forms Developer 10G and connect to DB
3) Compile by clicking compilein Forms Developer and then save it.
4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
this will generate the .fmx's.
frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
6) Open the form and check in R12 instance
As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)
Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
Some says that reports should be converted to XML published as reports does not exists in R12.
So,i am not clear on this.
Thanks,
Ganesh
[email protected]Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
Please correct me,if i am wrong.
1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
2) Open the forms using Forms Developer 10G and connect to DB
3) Compile by clicking compilein Forms Developer and then save it.
4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
this will generate the .fmx's.
frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
6) Open the form and check in R12 instance
As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)You are right, and the steps mentioned above should be sufficient.
Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
Some says that reports should be converted to XML published as reports does not exists in R12.
So,i am not clear on this.You can still use RDF files in R12, and just follow the approach you mentioned above, and you do not have to migrate them to XML publisher (though it is recommended, but this can be done after the upgrade as an enhancement task).
For custom workflow, you need also to do the same thing, open them using workflow builder and make sure they work in R12 (correct the code if required and save them again in R12 once they work properly).
Thanks,
Hussein -
Calling Custom Form from Another Form
Hi All,
I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
How can I do it ?
Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
Please help !
Thanks
ShankarHi ,
I found similiar solution on another forum as below.
http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
This works fine for the Purchasing form and allows me to zoom to the Supplier form.
But in my case, I want to zoom from the Supplier Form to my CUSTOM form. I replicated the exact steps as per the link.
However, it does NOT work as expected. It gets up to the ENTER QUERY mode in my CUSTOM form and remains in Enter Query mode. If I manually then Press key F11 to execute the query it brings back all records.
Do I need to do anything special in my CUSTOM form to make it behave in a similiar way to the Supplier Form ?
Thanks
Shanky -
Calling a Standard Form (With the data retreived) from a custom form
Hi All,
We have a requirement to call a standard form (form function : QP_QPXPRLMS) from a custom form on a button click.
we have passed Modifier List header id as parameter..
FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'QP_QPXPRMLS',
OPEN_FLAG=>'Y',
SESSION_FLAG => 'Y',
OTHER_PARAMS=>'LIST_HEADER_ID_QF = '||:TEST_BLK.MODIFIER_HEADER_ID); Then, the form opens fine but as in Entry mode.. we want the data to be queried automatically for the passed Header Id.
I have seen multiple posts on the similar requirement, and followed all the suggestions possible but didnt work.
1. Is there anything i am missing here. please suggest.
2. How would we know what are the mandatory parameters to be passed to open another standard form (is there any doc to check that)
Also, we are unable to open QPXPRLMS.fmb as it is huge and form is getting hanged, any inputs how to pen that?
Thanks,
Pavanpass parameter using this syntax:
fnd_function.execute(FUNCTION_NAME=>'DEM_DEMXXEOR',
OPEN_FLAG=>'Y',
SESSION_FLAG=>'Y',
OTHER_PARAMS=>'ORDER_ID="'||param_to_pass1||
'" CUSTOMER_NAME="'||param_to_pass2||'"');
-- all the extra single and double quotes account for
-- any spaces that might be in the passed values -
Link Of a Standard Form to a Custom Form --- Urgent !!
We are in apps version 11.5.10.2. The Client has custom payslip form suited to their requirement. Now they want a little enhancement feature in the Custom Form.
The custom pay slip form can be queried by employee number. From then you can get the appropriate payperiod where you can navigate to any of the pay periods and view the payslip for that period.
Now they want to add a button to the custom form so that on the click of the button the element entries form for the respective pay period is opened. Now we have added a button and gave the reference to the standard form. We do not know exactly how to reference the exact period entries and for the same employee number. Currently it is poping a find window asking the employee number.
Form gurus...please throw ur light on this ...awaiting ur replies and suggestions.do they want to see the element entry form (so Read Only), or do they want to kick off transactions into that element entry form?
When Read Only, you can use also the Element History folder, or a custom subform, based on the element entries view.
If not, you have to rework your original custom form, so that she is TaskFlow compatible, and then inheritance should take place by itself. -
Errors when generating a adobe form in report
Hello,
I have a problem with the solution of the errors to generate an adobe form. I put in a situation:
- I need to create a form with several dinamic tables, each below the previous. For each dinamic table, apart from the header row (column titles) was necessary to create a table title above the header. Furthermore, this title should remain with the table, for example, if the header row and first row of the table is not entering the page, jump to the next page (but so must the title of the table next to them)
My version of LCD is version 9.0.1.0 and adobe reader is 10.0
One possible solution is proposed in this link (put text above the table with the title and check "Keep with Next "):
http://forums.adobe.com/thread/849603?tstart=0
This solution works correctly in the Preview in Adobe Live Cycle Designer, but when I run the form with a report generates an error file "error.pdf" Does anyone know who is that? The lines of code in which failure is just where the title of the table causes "Keep with Next ". In the Adobe forum, I have commented that the utility began to be usable in version 8.2 of ADS, we believe we have the 8.0 but not sure.
ERRORS:
Render status: success with warnings (pdf' Log Entries)
Invalid version: The current version of the XFA template model exceeds the capability of XFAPresentationAgent.
Invalid append operation: draw cannot have a child element of keep
The fault occurred on line 212.
Invalid append operation: draw cannot have a child element of keep
The fault occurred on line 594.
Invalid append operation: draw cannot have a child element of keep
The fault occurred on line 1123.
Invalid version: The current version of the XFA connectionSet model exceeds the capability of XFAPresentationAgent
Invalid version: The current version of the XFA template model exceeds the capability of Acrobat / Adobe Reader 7.0.5.
Unrecognized namespace XFA 2.8, defaulting to XFA 2.1
Render status: success with warnings ('pcl' Log Entries)
Invalid version: The current version of the XFA template model exceeds the capability of XFAPresentationAgent.
Invalid append operation: draw cannot have a child element of keep
The fault occurred on line 212.
Invalid append operation: draw cannot have a child element of keep
The fault occurred on line 594.
Invalid append operation: draw cannot have a child element of keep
The fault occurred on line 1123.
Invalid version: The current version of the XFA connectionSet model exceeds the capability of XFAPresentationAgent
Unrecognized namespace XFA 2.8, defaulting to XFA 2.1
PS: I searched the forum but I can not understand the answers.
Thanks very much
Edited by: jmgaley on May 13, 2011 1:52 PMHello,
I found a possible cause of my failures. Has anyone needed to change the default version of PDF generated by ADS (Adobe Document Services)?
"Changing the Default PDF Version"
http://help.sap.com/saphelp_nw04s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm
My forms always generated pdf 1.6 (Acrobat 7.x), so they are generating so many errors. Also when I use the preview of the SFP transaction form, the need for PDF version is "1.7, Adobe Extension Level 3 (Acrobat 9.x)"or "1.7, Adobe Extension Level 5 (Acrobat 9.x) " (changing Form Properties -> Defaults -> Version of destination)
How do you get out this version from the ADS? What you need to change?
Greeting and thanks -
How to close a custom form from CUSTOM.pll
Dear Friends,
We need your help on the following issue related to Oracle Apps Forms.
We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
Thanks,
UmaI thing you haven't any (supported) option to close a form via custom.pll.
For a long time, we have search a solution for the same problem without any result. -
Execute Query not working on custom forms
Hi
After upgrading from 11.5.10.2 and Oracle 9.2.0.5 to ATG6, AD6, oracle 10.2.0.4, Forms 6.0 (Form Compiler) Version 6.0.8.28.0 . The execute query (F11 & CTRL F11) is not working on custom forms. But after tabbing from one column to another column then press CTRL F11 is working.
Please any one help me on this issue.
Thanks
svaHi
I found this error in the trace file. Please help me what is the problem, the data is there in the table.
Out Argument 0 - Type: String Value: ORA-01403: no data found
Executing NAME_IN Built-in:
In Argument 0 - Type: String Value: parameter.G_query_find
Out Argument 0 - Type: String Value: NULL
Executing USER_EXIT Built-in:
In Argument 0 - Type: String Value: FND MESSAGE_CLEAR
MCXQPBULKINVOICEENTER, -1, Built-In, Entry, -1196178744, USER_EXIT
TSE FSERVER_START -1 1407 1279530838565801000
TSE FSERVER_END -1 0 1279530838579778000MCXQPBULKINVOICEENTER, -1, Built-In, Exit, -1196091744, USER_EXIT
Executing COPY Built-in:
In Argument 0 - Type: String Value: Entering app_debug.clear
In Argument 1 - Type: String Value: global.frd_debug
Executing FIND_GROUP Built-in:
In Argument 0 - Type: String Value: APP_DEBUG
Executing COPY Built-in:
In Argument 0 - Type: String Value: Completed app_debug.free.
In Argument 1 - Type: String Value: global.frd_debug
Executing MESSAGE Built-in:
In Argument 0 - Type: String Value: FRM-41003: This function cannot be performed here.
In Argument 1 - Type: Number Value: 121
Unhandled Exception ORA-100501
State Delta:
MCXQPBULKINVOICEENTER, -2, Trigger, Exit, -1190876744, ON-ERROR
##### CTIME STARTS HERE
# 8 - MCXQPBULKINVOICEENTER:BLOCKNAME.RADIO_BUTTON81.1279530839956685000
KEY Execute_query
Error Message: FRM-41003: This function cannot be performed here.
N-ERROR Trigger Fired:
Form: MCXQPBULKINVOICEENTER
State Delta:
MCXQPBULKINVOICEENTER, -2, Trigger, Entry, 181183256, ON-ERROR
MCXQPBULKINVOICEENTER, -1, Prog Unit, Entry, 181304256, /MCXQPBULKINVOICEENTER-3/P58_07_DEC_200909_04_40
Executing COPY Built-in:
In Argument 0 - Type: String Value: Entering app_standard.event. Event is ON-ERROR.
In Argument 1 - Type: String Value: global.frd_debug
Executing ERROR_TYPE Built-in:
Out Argument 0 - Type: String Value: FRM
Executing ERROR_CODE Built-in:
Out Argument 0 - Type: Number Value: 41003
Executing ERROR_TEXT Built-in:
Out Argument 0 - Type: String Value: This function cannot be performed here
Thanks
sva -
Enabling eRecord for standard WIPMOVE in the custom form using wip interfac
Hi,
Anyone know how to trigger the eRecord for the standard WIPMOVE transaction in the custom form using WIP Interface (wip_move_txn_interface & wip_movproc_pub.processinterface).
I have done all the necessary setting and eRecords is getting generated in the standard out of box form. But when i call the same WIPMOVE transaction through a custom form using WIP Interface it is not generating eRecord.
As suggested by cookbook I tried EDR_ERES_EVENT_PUB.RAISE_ERES_EVENT, ERES.PERFORM_TRANSACTION, nothing is working out.
Any suggestion ?
Thanks,
SenthilHello,
It seems best to create a Service Request for this issue.
Regards, Carlo. -
How to Generate a Custom Message for A Custom Code.
Hello,
Can anyone guide me on this -
Application : 11.5.10.2
We have a cutom Trigger through which we want to display a custom message.
We have re-generated the .msb, but it seems that something is missing.
Following are the Steps We have followed to generate a custom message.
1. Responsibility "Application Developer"
2. Go to Applications
3. Select Message
4. Define a new custom message.
5. Save
6. Run Request " Generate Message"
Now when the trigger gets fired , we are not able to see our Custom message.
How do we call this messge in the custom code.
Pl. help on this , also can i get some reference note id's on this.
Thanks in advance.
Regards,
JennyCREATE OR REPLACE TRIGGER KPC_RCV_TRANSACTIONS_INTERFACE
AFTER INSERT OR UPDATE ON APPS.RCV_TRANSACTIONS_INTERFACE
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
--- This Trigger Validates following things
--- 1. Creation date is not modified and is greater than system date.
--- 2. RTV should not be possible before ERS is generated.
--- 3. Inspection should not be possible through Deliver Transactions Responsibility
--- 4. Delivery of Material should not be possible through Inspection Responsibility
--- 5. Item is Excisable and Excise Invoice No Or Excise Invoice Date is Missing
--- 6. Only Inspected and Accepted material is Delivered to Subinventory
--- 7. Check for Existance of 57F4 for Subcon Job Receipts
--- 8. Check Taxes are not Missing
--- 9. Check Taxes are Correct
--- Declaring The Variables
DECLARE
v_grade number := 0;
v_employee_id number := 0;
v_responsibility varchar2(100) := 'Z';
v_closed_taxes_count number := 0;
v_taxes_count number := 0;
v_invoiced_status_code varchar2(01) := 'N';
v_57f4_id number := 0;
l_date_ok varchar2(01) := 'N';
l_gate_date_ok varchar2(01) := 'N';
l_cenvatable_flag varchar2(01) := 'N';
l_excise_ok varchar2(01) := 'N';
l_rtv_ok varchar2(01) := 'N';
l_inspection_ok varchar2(01) := 'N';
l_delivery_ok varchar2(01) := 'N';
l_rej_delivery_ok varchar2(01) := 'N';
BEGIN
-- Get Looged in Responsibility Name
begin
SELECT upper(responsibility_name)
INTO v_responsibility
FROM apps.fnd_responsibility_vl
WHERE responsibility_id = apps.fnd_global.resp_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_responsibility := 'Z';
WHEN OTHERS THEN
v_responsibility := 'Z';
END;
--- Modifications Done by SMT to Bypass checking for following Users
if (apps.fnd_global.user_id < 1091) then
return;
end if;
--- if (apps.fnd_global.user_id in (1090,1111,1112,1126,1540,1591,1570,1881)) then
--- return;
--- end if;
---- Collect the Information Required from Other Tables
--- Check whether item is cenvatable
l_cenvatable_flag := 'N';
begin
select 'Y'
into l_cenvatable_flag
from apps.ja_in_po_line_location_taxes jipll
where upper(jipll.tax_type) in ('EXCISE','CVD')
and jipll.po_header_id = :new.po_header_id
and jipll.po_line_id = :new.po_line_id
and jipll.line_location_id = :New.po_line_location_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
l_cenvatable_flag := 'N';
WHEN OTHERS THEN
l_cenvatable_flag := 'N';
end;
--- Check whether Taxes are closed
v_closed_taxes_count := 0;
begin
select count(distinct jit.tax_id)
into v_closed_taxes_count
from apps.ja_in_tax_codes jit,
apps.ja_in_po_line_location_taxes jipl
where nvl(jit.end_date,sysdate)< sysdate
and jit.tax_id = jipl.tax_id
and po_header_id = :new.po_header_id
and po_line_id = :new.po_line_id
and line_location_id = :new.po_line_location_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_closed_taxes_count := 0;
WHEN OTHERS THEN
v_closed_taxes_count := 0;
end;
--- Check Existance of Taxes
v_closed_taxes_count := 0;
begin
select count(distinct jit.tax_id)
into v_taxes_count
from apps.ja_in_tax_codes jit,
apps.ja_in_po_line_location_taxes jipl
where nvl(jit.end_date,sysdate)< sysdate
and jit.tax_id = jipl.tax_id
and po_header_id = :new.po_header_id
and po_line_id = :new.po_line_id
and line_location_id = :new.po_line_location_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_taxes_count := 0;
WHEN OTHERS THEN
v_taxes_count := 0;
end;
--- Modifications Done by SMT to Get Invoice Status Code of the Original Transaction
v_invoiced_status_code := 'N';
BEGIN
SELECT 'Y'
INTO v_invoiced_status_code
FROM apps.ap_invoices_all ap,
apps.rcv_shipment_headers rcv
WHERE ap.invoice_num like '%'||rcv.receipt_num||'%'
AND ap.org_id = rcv.ship_to_org_id
AND rcv.shipment_header_id = :NEW.shipment_header_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_invoiced_status_code := 'N';
WHEN OTHERS THEN
v_invoiced_status_code := 'N';
END;
--- RAISE_APPLICATION_ERROR(-200151,'Incorrect Transaction Date...');
--- Check the transaction_date is correct or not
l_gate_date_ok := 'Y';
IF ((:new.ship_head_attribute6 is null) or
(to_date(:new.ship_head_attribute7,'DD-MON-YYYY') < (sysdate-3)) or
(to_date(:new.ship_head_attribute7,'DD-MON-YYYY') > sysdate)) then
l_gate_date_ok := 'N';
END IF;
--- Check the transaction_date is correct or not
l_date_ok := 'Y';
IF (to_date(:new.transaction_date,'DD-MON-YYYY') < to_char(sysdate,'DD-MON-YYYY')) then
l_date_ok := 'N';
END IF;
--- Check whether Excise Invoice No and Excise Date is present
l_excise_ok := 'Y';
if (l_cenvatable_flag = 'Y' and
:new.ship_head_attribute1 is null and
upper(:new.destination_type_code) = 'RECEIVING') then
l_excise_ok := 'N';
end if;
if (l_cenvatable_flag = 'Y' and
:new.ship_head_attribute2 is null and
upper(:new.destination_type_code) = 'RECEIVING') then
l_excise_ok := 'N';
end if;
--- Check whether Inspection transaction is being made in correct Responsibility
l_inspection_ok := 'Y';
if (upper(:new.destination_type_code) = 'RECEIVING') then
if (v_responsibility like '%RECEIPT%QA%') then
l_inspection_ok := 'Y';
else
l_inspection_ok := 'N';
end if;
else l_inspection_ok := 'Y';
end if;
--- Check whether Delivery transaction is being made in correct Responsibility
l_delivery_ok := 'Y';
if (upper(:new.destination_type_code) in ('INVENTORY','SHOP FLOOR')) then
if (v_responsibility not like ('%RECEIPT%QA%')) then
l_delivery_ok := 'Y';
else
l_delivery_ok := 'N';
end if;
else l_delivery_ok := 'Y';
end if;
--- Check whether RTV is made prior to generating the ERS Invoice
l_rtv_ok := 'Y';
if (upper(:new.transaction_type) in ('REJECT','RETURN TO VENDOR')) then
if (v_invoiced_status_code = 'INVOICED') then
l_rtv_ok := 'Y';
else
l_rtv_ok := 'N';
end if;
else l_rtv_ok := 'Y';
end if;
--- Check Error and Display Proper error message
--- Transaction Date Error
if (nvl(l_date_ok,'N') != 'Y') then
apps.fnd_message.set_name('FND','Wrong GRR Date');
apps.fnd_message.raise_error;
end if;
--- Gate Entry Date Error
if (nvl(l_gate_date_ok,'N') != 'Y') then
apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Wrong Gate Entry Date');
apps.fnd_message.raise_error;
end if;
--- Return CENVAT Error
if (nvl(l_excise_ok,'N') != 'Y') then
apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Enter Excise Invoice No');
apps.fnd_message.raise_error;
end if;
--- Return Closed Taxex Error
if (nvl(v_closed_taxes_count,1) != 0) then
apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Taxes Wrong');
apps.fnd_message.raise_error;
end if;
--- Return Taxes Missing Error
if (nvl(v_taxes_count,0) = 0) then
apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Taxes Missing');
apps.fnd_message.raise_error;
end if;
--- Return from trigger, if Transaction Type = 'RECEIVE'
if (upper(:new.transaction_type) = 'RECEIVE') then
return;
end if;
--- Return Inspection Error
if (nvl(l_inspection_ok,'N') != 'Y') then
apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Inspection Not Allowed');
apps.fnd_message.raise_error;
end if;
--- Return Material Delivery Error
if (nvl(l_delivery_ok,'N') != 'Y') then
apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Delivery not Allowed');
apps.fnd_message.raise_error;
end if;
return;
END KPC_RCV_TRANSACTIONS_INTERFACE; -
Dear Members,
I have developed a custom form in Oracle Applications using Template.fmb.
I am using the above custom form successfully in oracle applications for all purposes like data entry querying etc.
But when Iam trying to export the data from the form, I dont have the export option enabled in my custom form.
Can any one please let me know how to enable this export option in my custom form.
Many thanks in advance.
Best Regards,
Arun Reddy.See you duplicate post here
Export Option in Custom Form
HTH
Srini -
We are using passwordSynch at our site and I want to use the date of last synchronization for a particular user in a custom form.
I would like to know how to do that. So can someone point me to documentation, code or contribution as to how this can be done.arizuddin wrote:
Hi,
We have single node EBS-R12.0.6,DB-10.2.0.3 & OS-AIX 5.3.7.In custom developed form, .fmx path is showing as $FND_TOP/forms/US (Help>About Oracle Applications). In this path, there is no such .fmx file. Where as the .fmx file exists in custom top $YY_TOP/forms/US. How to correct this entry?
RegardsPlease see this thread.
Wrong path written in the 'About' window...
Wrong path written in the 'About' window...
I have seen this behavior before, and I could not find any explanation to it. You may log a SR and ask Oracle support for an explanation.
Thanks,
Hussein
Maybe you are looking for
-
An Image JPanel, A semi-transparent JPanel, and non-opaque components
This is a more intelligent re-asking of the question I posed here: http://forum.java.sun.com/thread.jspa?threadID=579298&tstart=50. I have a class called ImagePane, which is basically a JPanel with an image background. The code is much like the Image
-
Dial-up connection freezes programs
I am having a strange problem. :? When I am connected with my dial-up modem, some programs won't start (e.g. kuickshow) or will freeze when I try to open a dialog window such as open/save file (e.g. kedit, kdiff3, firefox). If I am not connected or
-
Markers not showing up after opening a saved project. Where did they go!?
My first time using Prelude CS6 yesterday and had good success with ingesting, marking clips (into subclips, comments, etc.), saving the marked movies, and them sending the subclips to Premiere. They dumped into Premiere as expected. However, this mo
-
Is free upgrading to Mac OS X Mountain Lion applicable to other countries, like the Philippines?
-
After 10.5.7 update some apps do not recognize keyboard
After I updated to 10.5.7 the game Battlefield 2142 thinks my keyboard is set up for Dvorak. I only use English QWERTY. All of my System Preferences are set properly. I have gotten the game to use the correct keyboard after fiddling with things, but