Unable to get the tax value in Sales order
Hi Forum,
I am preparing a sales order for a customer with a material.
When I go to the item conditions tab, I see that the correct tax value is being calculated but that tax value is not appearing in the TAX field.
Net value is appearing correctly in the NET field.
Please help me which are the areas of concerns i should look for to get the tax amount in the TAX field.
Many thanks.
Regards,
Sheetal
Dear Sheetal
Go to V/06, select the tax condition type and execute. There check whether you have maintained "Condition Class" as D. If not, maintain D and then retry.
thanks
G. Lakshmipathi
Similar Messages
-
How to get the KEY VALUE of sales order
Hello friends,
iam adding a sales order through DI-SERVER to the SAP db.after adding iam getting a key value (i,e Doc no)..i want it to display it in my frontend....can u please tell me how to display the return key value of my sales order
regards,
shangai.Dear Shangai,
To retrieve the last Doc/Object added through DI API (DI Server is based on DI API) there is a method called "GetNewObjectCode" which can be used to retrieve the last DocCode which was added into the B1.
Please try the function for more help please look at the help files RefDI.chm which is installed with the SDK installation for B1.
Regards
Arshdeep -
Unable to get the selection value of OAMessageChoiceBean
Hi,
From our 11i to R12 upgrade, in Customer Advance Search page, we are unable to get the proper handle for OAMessageChoiceBean (in extendedCO).
The code snippet for handling the bean is as follows:
OAMessageChoiceBean PartyStatusFilter = (OAMessageChoiceBean)vOAPageContext.getRootWebBean().findChildRecursive("xxfeF426PartySearchStatus");
String xxTest= PartyStatusFilter.getSelectionValue(vOAPageContext);
The value for above xxTest (in R12 env.) is coming as null. Whereas, the same code is working in 11i enviroment and the output of xxTest="A".
Hence, we are unable to get the selection value of the messagechoicebean in our R12 environment. Moreover, I've already looked into similar previous posts of this forum, also tried using getSelectionText(vOAPageContext) or getSelectedValue(), but it didn’t worked too.
Any pointers please?
Many Thanks,
ZahidHi Keerthi,
I'm still unable to get the value using your provided code. The referenced snippet I used is as follows:
String messageChoiceValue = null;
vOAPageContext.writeDiagnostics(s, "Before the IF LOOP", 2);
if(vOAPageContext.getParameter("xxfeF426PartySearchStatus")!= null ) {
vOAPageContext.writeDiagnostics(s, "Inside the IF LOOP ", 2);
messageChoiceValue = vOAPageContext.getParameter("MessageChoiceID");
vOAPageContext.writeDiagnostics(s, "Value of MessageChoice... "+messageChoiceValue, 2);
if( messageChoiceValue != null ) {
l++;
saveFilterRow(SSLineVO, HeaderId, new oracle.jbo.domain.Number(l), "C", "Status", messageChoiceValue);
vOAPageContext.writeDiagnostics(s, "After the IF LOOP", 2);
The resultant output is as follows:
"Before the IF LOOP", "After the IF LOOP"
It doesn't goes inside the IF condition as the valuie is null. Any other alternative?
Regards,
Zahid -
Unable to get the item value in cursor
I have function which returns organization_id for each item selected in Sales Order window.
From this function I will populate warehouse value in shipping tab whenever i am tabbing out from ordered item in Sales Order Form.
But my cursor is unable to get the item id value (Ex: FOR cur_rec IN cus_l (l_item_id)). It is directly going to last return statement and displaying default value.
Please help me out.
FUNCTION custom_default_rule (
p_database_object_name IN VARCHAR2,
p_attribute_code IN VARCHAR2
RETURN NUMBER
AS
l_line_type_rec oe_order_cache.line_type_rec_type;
l_item_id NUMBER;
p_org_id NUMBER;
CURSOR cus_l (p_item_id IN NUMBER)
IS
SELECT a.organization_id, b.element_name, b.element_value
FROM mtl_parameters a,
mtl_descr_element_values b,
mtl_system_items_b c
WHERE b.inventory_item_id = c.inventory_item_id
AND a.organization_id = c.organization_id
AND a.organization_id = c.organization_id
AND c.inventory_item_id = p_item_id
AND a.organization_id <> a.master_organization_id
ORDER BY a.organization_id;
CURSOR cur_org (p_org_id IN NUMBER)
IS
SELECT organization_code
FROM mtl_parameters
WHERE organization_id = p_org_id;
BEGIN
l_line_type_rec :=
oe_order_cache.load_line_type
(ont_line_def_hdlr.g_record.line_type_id);
l_item_id := ont_line_def_hdlr.g_record.inventory_item_id;
FOR cur_rec IN cus_l (l_item_id)
LOOP
IF cur_rec.element_name IN
('Frequency',
'Emission Norms',
'Voltage',
'Duty Rating',
'Phase',
'Product Family'
AND cur_rec.element_value IN
('50',
'Dual',
'Euro',
'210',
'230',
'440',
'Low',
'Medium',
'Heavy',
'Three',
'QSK60',
'QSK15',
'QSK10',
'DQK50'
THEN
RETURN cur_rec.organization_id;
If u want more info. abt function refer: Refer "PL/SQL API + Defaulting Rules in OM" in Forums.oracle.com
(OR)
PL/SQL API + Defaulting Rules in OM
Please help me out. This is very urgent.
Thanks & Regards,
Sateesh KumarHi Suresh,
I tried like below:
create or replace FUNCTION custom_default_rule (
p_database_object_name IN VARCHAR2,
p_attribute_code IN VARCHAR2
RETURN NUMBER
AS
l_line_type_rec oe_order_cache.line_type_rec_type;
l_line_rec OE_AK_ORDER_LINES_V%ROWTYPE;
l_item_id NUMBER;
p_org_id NUMBER;
CURSOR cus_l (p_item_id IN NUMBER)
IS
SELECT a.organization_id, b.element_name, b.element_value
FROM mtl_parameters a,
mtl_descr_element_values b,
mtl_system_items_b c
WHERE b.inventory_item_id = c.inventory_item_id
AND a.organization_id = c.organization_id
AND a.organization_id = c.organization_id
AND c.inventory_item_id = p_item_id
AND a.organization_id <> a.master_organization_id
ORDER BY a.organization_id;
CURSOR cur_org (p_org_id IN NUMBER)
IS
SELECT organization_code
FROM mtl_parameters
WHERE organization_id = p_org_id;
BEGIN
l_line_type_rec :=
oe_order_cache.load_line_type(ont_line_def_hdlr.g_record.line_type_id);
l_line_rec := ONT_line_Def_Hdlr.g_record;
-- l_item_id := l_line_rec.inventory_item_id;
-- FOR cur_rec IN cus_l (l_item_id)
FOR cur_rec IN cus_l(l_line_rec.inventory_item_id)
LOOP
IF cur_rec.element_name IN
('Frequency',
'Emission Norms',
'Voltage',
'Duty Rating',
'Phase',
'Product Family'
AND cur_rec.element_value IN
('50',
'Dual',
'Euro',
'210',
'230',
'440',
'Low',
'Medium',
'Heavy',
'Three',
'QSK60',
'QSK15',
'QSK10',
'DQK50'
THEN
RETURN cur_rec.organization_id;
FOR cur_rec_org IN cur_org (p_org_id)
LOOP
RETURN cur_rec_org.organization_code;
END LOOP;
END IF;
END LOOP;
RETURN '204';
EXCEPTION
WHEN OTHERS
THEN
IF oe_msg_pub.check_msg_level (oe_msg_pub.g_msg_lvl_unexp_error)
THEN
oe_msg_pub.add_exc_msg ('OE_Default_PVT', 'CUSTOM_DEFAULT_RULE');
END IF;
RAISE fnd_api.g_exc_unexpected_error;
END custom_default_rule;
This function executed without errors. But it is displaying final return statement value (i.e., 204).
I am not getting inventory_item_id value to my cursor.
Please help me out...It is very urgent.
Thanks & Regards,
Sateesh Kumar S
Message was edited by:
user610830 -
How to get the tax screen in Sales View 1
Hi,
I am creating a HAWA material but I do not see the tax date tab in sales view1.
How can I get it activated.can you please suggest the settings to be done ?/
Regards,
ManojHi Manoj,
Use the Transaction code OVK1 to define the Tax determination rule for the Country.
Path: SPRO> Sales and Distribution-> Basic Functions> Taxes> Define Tax determination rule for the Country.
Country code and Output Tax condition type MWST, there should be a in entry here other wise we can not see Tax classification in Sales view.
Br,
Satya. -
Getting the incompletion problem in sales order.
Dear Gurus,
We have created the sales order with the 16 item and by mistake we have punched the wrong values for 14, 15, and 16 item. After that we had deleted the item no. 14, 15, and 16 from the VBAP , VBEP and VBUP tables.
Now when we go to particularly that order and change something and trying to save that order we are getting the incompletion log for 14 , 15 and 16 item (schedule lines , loading date and material availability date).
when we try to complete the incompletion log we are getting the message the item does no exist.
please help
Regards
PawanHi,
Delete the order and create the new one.
Thanks,
Pramod -
Unable to get Total Cost before saving sales order
Hi All,
I need to grab a pallet charge (ZP11) which is created with a condition record in sales order. The charge is a group condition which means the charge is distributed among all line items in the order. The charge is part of the Total Cost which is used to calculate gross profit. My problem is getting to the correct Total Cost before i save the order.
When you enter two materials, program MV45AFZB exclude pallet charge in the Total Cost.
When I click the 'SAVE' button, the Total Cost include the pallet charge in MV45AFZZ.
Anyone with any suggestions on how i can capture Total Cost to include pallet charge in MV45AFZB ?
thanks.
JoyceHi Brad,
Thanks for your reply/ For the group condition, how do i find out how sap calculate the values as each item is added ?
I checked that this group condition is based on gross weight scales, Condition class is discount /surcharge (A),,
calculation type is Fixed Amt (B), Cond Category is Freight (B).
Say total value for this group condition is $10.
Material A will be 3
Material B will be 7.
Question: How does it know to allocate $3 and $7.
thanks
Joyce -
UNABLE TO TRACK THE SHIPPABLE ITEM FROM SALES ORDER
hi Experts,
Anybody can please help me on this issue that i create a shippable item with install base trackable option checked while doing the transactions like miscelleneous receipt and purchase order on that item automatically tracked in the install base while doing the sale order for the same item it is not tracked, but non shippable items are tracked in install base perfectly.
My requirement is shippable items are also tracked in install base, i already checked the option install base tracked in inventory master items form even though it is not tracked through sales order.
Thanks,
Christ.Dear Sheetal
Go to V/06, select the tax condition type and execute. There check whether you have maintained "Condition Class" as D. If not, maintain D and then retry.
thanks
G. Lakshmipathi -
Change the Tax Code- In Sales Order i have Tax code for VAT
In Sales Order i have Tax code for VAT ( Condition type JIVP) it is reflecting "P4" instead of "A4".
Where the "P4" Tax code is picking in Sales Order.
How to change the Tax Code.
UrgentHi CHAKRI,
Check if the condition record is maintained with the appropriate taxclasssification.If yes, Go to sales order in change mode,then goto-header-billing-alternate taxcalssification and modify tax classification.It will pick up right tax code.
Regards
Ram Pedarla -
Fm to change the condition value in sales order pricing
Hi Friends,
I need a FM to change the Pricing value that is auto calculated in the sales order. It needs to be overwritten. BAPI_SALESORDER_CHANGE I don't think will do it. It can be used only to update the condition type and the condition amount but not the condition value.
Can someone please help me. I've been stuck with this for quite sometime.
Thanks,
Dikshitha GTry these BAPI's
BAPI_LISTING_CONDITIONS,
BAPI_AGREEMENTS
Regards,
Rajasekhar Reddy. -
Getting the Net Price from sales order into PO
Hi All,
I want to get the netprice from sales order to PO just before creating the PO.
Is there any user exit for that.
Thanks,
Praveenwhere u are creating PO ? How u are passing Sales Order Number to PO ?
regards
Peram -
Unable to get the parameter value from a page
Hi all
i was trying to get a value using pageContext.getParamter("<item Id>")...
the itemId which i gave exists in MessageComponentLayout...but i am a null is getting returned..
please check this...n let me know if i missed something.Also confirm, may b no value is set in th bean, thats y its returning null as page parameter. Verify!
--Mukul -
Unable to get the accounting documents in Sales process
Hi All,
While running the Sales Business cycle, accounting documents are not generated for any goods movement i.e. MB1C (561), MB31 (101) and also PGI. But the accounting document is generated while doing the billing. I have checked the settings of OBYC and OMS2.
Please tell me the solution to resolve this.
Thank you,
SatyaHi Benni,
THank you for your reply.
Accounting documents are not generating for both movement types i.e. initial stock entry (561) and Delivery (601).
Thank you,
satya -
50% tax calculation in sales order
Hi everyone,
I have maintain LST in custome master and material for 50% tax ,and also I have maintain condition record for 50%,But in sales order tax is calculated at 100% tax.How I can get 50% Tax value in sales order.
Example, basic price - 100
Bed 16
Ecess - 3
tatal 116.5
LST(3%) 3.5 (it is 100% tax,but I want 50% as 1.75)
how can I get
Regards
PrabudhMaintain the Condition record with the combination of customer tax clasification and material tax clasification (50%) of LST 1.75%
then system will calculate 50 % tax OW system will not caluculate automatically 50 % by mentioning the material Tax classification(50%)
if you have any clarifications let me know
reward ponts if helpful
Regards
Sriram -
Getting the selected value in tableview.
Hi friends,
In tableview am displaying some 5 columns in which one column is in dropdown.I want to modify the tableview.But unable to get the selected value at the particlular cell
(the column which is in dropdown) in tableview.
I have tried by using the method GET_CELL_ID.and get_form_field also.But am not getting the selected value only for this column.For remaining columns am getting the values properly.
Can anybody pls help me how should i catch the selected value for a particular column in tableview.
Thanks in advance.
Regards
sireeshain the cell you are rendering a dropdwonlistbox, so to read the content of the same use
data: data type ref to cl_htmlb_dropdownlistbox.
data ?= cl_htmlb_manager=>get_data( request = runtime->server->request
name = 'dropdownListBox'
id = 'DDLB1'
if data is not initial.
tab1sel = data->selection.
endif.
for id use the same id given in the interator-render_cell_start method for this
Regards
Raja
Maybe you are looking for
-
Can someone please help me getting my book pages to export as jpg's?
I have a book created (LR4) and cannot get the pages to export as jpg's. I hit the "export book to jpg" button and nothing happens. Does anyone know what the problem could be? I am using a Macbook. Any idea's or suggestions would be greatly appreciat
-
So I was casually using my 2013 rMBP today and all of the sudden everything froze and it forced me to shut down. It is only a few months old so this definitely concerns me since I have never had an issue with any of my Apple products before. Does any
-
What sould i expect to lose other than voicemails when i convert to iPhone 4s from a blackberry
-
Safari plays only some videos. Heaps of plugins
Youtube videos work fine, but at this site: http://preview.play.viostream.com/?play=a0f658df-16ee-4958-82bc-53b9ffd08a93&set play=no the screen just says missing plug-in Whe I left click the missing plug-in words the following message comes up: I hav
-
I'd like to create a jar file that also contains the JRE that I want to use as well as some libraries I'm using. Is that possible? I have created in the past a batch file that points to an specific JRE that I package with my classes in a directory. B