Create New GL Code Combination - With some flags
Hi All
I created a new gl code combination useing the below script
DECLARE
l_keyval_status BOOLEAN;
L_COA_ID NUMBER;
P_CONCAT_SEGS VARCHAR2(500);
l_err_msg varchar2(2000);
l_error varchar2(255);
BEGIN
L_COA_ID := 50372;
P_CONCAT_SEGS := '014.01.0000.1101020200.002.23001.01.00.000000.000.000.000';
l_keyval_status := fnd_flex_keyval.validate_segs(
'CREATE_COMBINATION',
'SQLGL',
'GL#',
l_coa_id,
p_concat_segs,
'V',
sysdate,
'ALL', NULL, NULL, NULL, NULL,
FALSE,FALSE, NULL, NULL, NULL);
commit;
if l_keyval_status then
dbms_output.put_line('S');
else
l_err_msg:=substr(fnd_flex_keyval.error_message, 1, 240); --fnd_message.g
l_error := substr(fnd_flex_keyval.error_message, 1, 240);
dbms_output.put_line(l_error);
dbms_output.put_line('ERROR SEGMENT :');
l_error := to_char(fnd_flex_keyval.error_segment);
dbms_output.put_line(l_error);
dbms_output.put_line('ERROR ENCODED :');
l_error := substr(fnd_flex_keyval.encoded_error_message, 1, 240);
dbms_output.put_line(l_error);
dbms_output.put_line('FALSE');
dbms_output.put_line(l_err_msg||substr(sqlerrm,150,3));
end if;
end;
The code combination created successfully, but in the application form of the code combination
the Allow posting flag = 'N' and summry_flag = 'Y'
while i need it to be created wit detail_posting_allowed = 'Y' and summry_flag = 'N'
is there any way to set the flags while useing the API
best regards
Hi Miro,
Does any account segment value used by you to create the code combination have 'Allow Posting' set to No ? I am wondering if those defaults are setting the flags at the code combination level.
Similar Messages
-
New Tax Code Creation with CST and Service Tax
Hi
I want to know the complete procedure of new tax code creation with CST and Service Tax. I want to know the steps for calculation of % of that Tax Code.
Kindly help me out.
Thanks
Kshipra GHi Expert,
Before creating a Tax Code, Create two Condition Types(T-Code: OBYZ) for CST and Service Tax, which need to Select the below Items
Cond. class - D - Taxes
Calculat.type - A - Percentage
Cond.category - D - Tax
and while creating a Tax Procedure just select the Condition Type of CST and Service Tax and provide the Account Key for both Condition Types.
Assign the GL Accounts to the Account Keys in T-Code: OB40.
Create a Tax Code in T-Code: FTXP, which is to be assigned in T-Code: FV11.
Maintain the percentage in T-Code: FV11, with your Key Combination and
Try this procedure, which will help you...
Regards,
GK
SAP -
Create New Tax code and condition types
hi experts,
i want to create new tax code V10 and new condition types ZWKT and ZSTX under V10.
i have a requirement that is create service general Purchase Order with following tax conditions
1. Work Tax 4% on 70% of Bill Amount.
2. Service Tax 12.36% on 33% of Bill Amount.
while creating PO when user select ZWKT and ZSTX, system should calculate 4%( on 70%) and 12.36% (on 33%) and place the tax amount on relevant fields automatically.
( i tryed with tcode:FTXP and created tax code(country key: IN, procedure: TAXINN and taxtype: V input tax) but problem with assigning condition types and calculation procedure)
please help me in this issue (step by step).
Thanks.
srinu.Hi,
Here you have to create two dummy condition type for Base Value. One for Service Tax and other one for Work Tax.
Then create two condition type for Work Tax & Service Tax.
Ex : Work Order Base Value condition type is "A"
Service Tax Base Value condition Type is "B"
Work Order Tax condition Type is "C"
Service Tax condition type is "D"
In Pricing procedure just add all the above condition type as below
Both Base Value condition type will be calculated from System Base Value & in FV11 maintain the Base Value percentage against the Tax Code & Condition Type as per ur req (70% for Work Tax & 33% for Ser Tax)
Work Order Tax & Ser Tax will be calculated from respective Base Value. In FV11 just maintain the tax %.
Sangram -
Hi,
How to create new tax code for Import tax + 2 % CST with the following details:
Quantity Basic rate Amount
15595 0.50 7798
Custom duty BYP 4% 292 NCR
8090
Basic Excise duty 10% 809 CR
Edu. Cess on BED 2% 16 CR
Sec.Ed. Cess on BED 1% 8 CR
8923
Edu. Cess on TOT 2% BYP 2% 23 NCR [29280916+8]*2%
Sec.Edu. Cess on TOT 1% BYP 1% 11 NCR [29280916+8]*1%
8957
CST 2% 179 NCR
9136
Thanks & Regards,
SwatiHi,
What is the tax procedure you are using? Is it TAXINN? If yes then you need to define condition Types in OBYZ and mainatin the same in TAXINN,
in Create Tax Code E1 and in FV11 maintain Tax rate for this Tax Code against Condition record of Excise and CST.
Hope this helps!!
Br,Vivek -
How to create an Undefined Code Combination from API? (Urgent)
Hi All,
I used the following API to create the code combinations in a Inventory custom form.
SELECT CHART_OF_ACCOUNTS_ID INTO :PARAMETER.CHART_OF_ACCOUNTS_ID
FROM ORG_ORGANIZATION_DEFINITIONS
WHERE ORGANIZATION_ID = :PARAMETER.ORG_ID;
FND_KEY_FLEX.DEFINE(
BLOCK => 'XX_MRN_TRX_HEADERS',
FIELD => 'TO_ACCOUNT',
CODE => 'GL#',
APPL_SHORT_NAME =>'SQLGL',
NUM => ':PARAMETER.CHART_OF_ACCOUNTS_ID',
ID => 'TO_ACCOUNT_ID',
VRULE => '\\nSUMMARY_FLAG\\nI\\nAPPL=SQLGL;NAME=GL_NO_PARENT_SEGMENT_ALLOWED\\nN\\0GL_GLOBAL\\nDETAIL_POSTING_ALLOWED\\nE\\nAPPL=INV;NAME=INV_VRULE_POSTING
nN',
REQUIRED => 'N',
DINSERT => 'Y',
VALIDATE => 'FULL',
USEDBFLDS => 'N');
This creates the correct ccid if the combination is already available in GL (gl_code_combinations_kfv), But when its a new combination it returns '-1'.
How can I create an Undefined Code Combination from API in custom forms?
If any one one can help me on this it'll be a great help.
ThanksSolved by Using FND_FLEX_EXT.GET_COMBINATION_ID.
Thanks -
Dear all,
Please let me know the steps to create new tax code for WCT(Work Contract Tax) as per given conditions .
Description: WCT @4% + Service Tax @10.3% on 33% of Basic Value.
Basic Amount : Rs. 10,00,000
Add : WCT @4% on Basic Amount (Deductible) : Rs. 40,000
Add: Service Tax @10.3% On 33% of Basic Amount : Rs. 33,990
Total Order Value with taxes : Rs. 10,73,990
TDS deducted @2% of Total Order Value(Deductible) : Rs. 21,479.8
( Please note: WCT @4% to be deducted : Rs.40,000.00
TDS deducted @2% on Total Order Value : Rs.21,479.80 )
Thanks & Regards,
AshutoshDear sir
Thanks For reply, i have done following activities..
Created WCT condition type ZWOR
Created TDS Condition type ZTDS
Already have Condition type for service ZEC1
Maintained TAX Code u201CSEu201D in FTXP
Assigned Below given condition type in FV11
ZTDS @ 2% ZWOR @ 4% ZEC1 ???? (not Done)
Please let me know that how to create below given things
a) ZSER ( here ZEC1) 33 % on basic value to be created.
b) JSVD for 10 % on ZSER
c) JEC3 for 2 % on ZSER
d) JSE1 for 1% on ZSER
Whether for step (a) I have to go to FV11 and assign SE with 33 % ?
Please guide step by step
Thanks & Regards,
Ashutosh -
How Create new Tax code in Purchase order
Dear Sir,
I have creat new tax code in Purchase order
Basic value 3976876.53
Ex Duty 10% 397687.6525
edu.cess 2% 7953.75305
s&h Edu.cess 1% 3976.876525
Toatal 4386494.81
CST 1% 43864.94807
Addition 12550.00
i have all ready tax code 1021+5vatHi Sneha Patel
Case1:
If tax is applicable on the freight charges then create a Z condition in (Tocde M/06) and assign it in ur pricing procedure (Tocde M/08) before the net value is calculated in ur pricing procedure so that it is taken for tax calculation.
Case2:
If tax is not applicable on the freight charges then create a Z condition in (Tocde M/06) and assign it in ur pricing procedure (Tocde M/08) after the net value is calculated in ur pricing procedure so that it is not taken for tax calculation.
For both the conditions select
Cond. class A Discount or surcharge
Calculat.type B Fixed amount
Cond.category B Delivery costs
Also mark as a header or item condition with accruals checked.
If u are not sure then copy FRA1 condition in STD and change Calculat.type as B Fixed amount instead of % in FRA1 so that u can enter the amount directly in PO.
Also mark these conditions as manual in ur pricing procedure so that these can be entered manuall in PO if reqd.
While creating PO u can select the reqd condition (with or without tax) under conditions tab and enter the amount.
hope it clears ur issue
Chk and revert
Reg
Raja -
Need to Create New Commodity Codes....Please Help.
Hi All Experts,
I need to create new Commodity Codes for DE - Germany. The code numbers with the descriptiones I got from the Business user, there are 5 new codes.
I need to know how to create these commodity codes and what I have to maintain for the fields like -
Description:
Specific unit of measure:
Sec unit of measure:
Additional Info:
Min. Oil Product:
It is highly appriciable if you all can please suggest me the complete process for this.
Please help me ASAP. Thanks to you all in advance.
Best Regards....
Somraj.90308930 u2013 Measuring fixture
Description
Electronic instruments and appliances fo
r measuring or checking electrical quant
ities, without recording device, n.e.s.
n.e.s.
Spec.unit of measure
KG Kilogram
Additional info
2 Dispatch / Export
85423910 u2013 Amplifier
Comm./imp. code no. 85423910
Description
Electronic integrated circuits in the fo
rm of multichip integrated circuits cons
isting of two or more interconnected mon
olithic integrated circuits as specified
in note 8 (b) (3) to chapter 85 (excl.
such as processors, controllers,
controllers, memories and amplifiers)
Spec.unit of measure
KG Kilogram
Additional info
2 Dispatch / Export
85339000 u2013 Resistor
Description
Parts of electrical resistors, incl. rhe
ostats and potentiometers, n.e.s.
Spec.unit of measure
KG Kilogram
Additional info
2 Dispatch / Export
Not idea, as I can't find these on my system
82032000 u2013 Tool, gripper
85044082 - Rectifier
Try following link, I believe that can be helpful to you.
- +_Customs-Tariff-Number_+
Regards
JP -
Unable to create new structure code for System Items flexfield
Hi
I installed the R12 with Vision. In the System Items flexfield, I find one structure code "SYSTEM_ITEMS". But I am not able to create new code as I am getting the error. "FRM-41051 - Cannot create new records here ". Also the New icon is disabled.
Is this how it is supposed to work? Cant we create new structure code for System Items flexfield in Vision Database? Please help me to resolve this.
Regards
ReemHi Everyone,
Lets address your exact problem ::
I installed the R12 with Vision. In the System Items flexfield, I find one structure code "SYSTEM_ITEMS". But I am not able to create new code as I am getting the error. "FRM-41051 - Cannot create new records here ". Also the New icon is disabled.
Is this how it is supposed to work? Cant we create new structure code for System Items flexfield in Vision Database? Please help me to resolve this.
Yes ! The answer is that this is exactly how it is supposed to work.
In Inventory :: [ System Items KFF ] is supposed to be single structure whereas Item-Categories has Multi-Structure option.
For every Single Instance :: It is like this only ~ as a standard functionality.
And this becomes very very challenging ( but a very fruitful & long lasting ) exercise.
Thrash it with the clients :: Why should you ever have 2-3 different Item codification schemas when its the same enterprise ?
They might respond with different intelligence incorporated in the Item Codes.
Most of the Intelligence can be shifted to the Item-Categories as they are not long lasting.
&&&& This means that either you can push for non-significant part numbering schema or the partial intelligence.
Keep it small & simple !!
Ajay Kuma, 510-456-5322 -
how to create new tax codes
Service Tax 4% on 33% VAT 4% on 90% Non Deductible
Service Tax 12.24% on 33% VAT 4% on 90% Non Deductible
regards
anilHi Anil,
This is an example from Italy:
Local purchases 20% 40% recoverable
Base Amount 100 0 BASB
Round.Up Output Tax MWS 110 100 MWAI
Input Tax Round.up VST 8.000 120 100 MWVI
N.d.input tax NAV 140 100 MWNI
Non-ded.InputTax -RU NVV 12.000 150 100 MWZI
Acqu.Tax Outgoing-RU ESA 200 100 NLAI
Acqu.Tax Inc.- Ro.up ESE 210 100 NLVI
VST is the deductible tax and NVV the Non Deductible tax.
I hope that you can use this and that you don't have to change your calculation procedure.
Paul -
How to create new view without interlinking with gantt chart or resource views
ok clear
one another question
In msp how to create new view without interlinking with gantt chart or resource viewsHi Shiv PMC--
I splitted your question above in another thread in order not to have a huge thread with many topics in it.
That being said, I'm not sure to understand. A view is just a manner to display MS Project data with columns. A view can have a table with column (left part) associated with a Gantt chart. It can also just contain a table with no Gantt chart (like the task
table) or a table with a timephased grid (resource and task usage).
Please give us more information, maybe with a concrete example so we can help you.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
How Create New Folder in KM with Name having Special Character
Hi,
How to create new Folder in KM with name having special character in it.
Right now its not allowing me to create folder when i have Colon( as one of the character in name of the folder.
Is there a way to change this validate?
Any help is appriciated.
ThanksHi DK,
I'm not sure about special chars such as ":" but ifyou need to have your folders displaying special language chars (like german chars), have a look into the below link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30deb229-d570-2910-4aaf-8858e0660f05
Hope that helps.
Ray -
How to Create a Auto Generated number with some preceding text in Sharepoint 2010
I am trying to create a auto generated number field in Sharepoint 2010 list item. My requirement is to have the following format number generated when new request is created in Sharepoint using form. Auto generated Ticket ID should be in the following format
"IR13000" "IR13001" "IR13002"....... Please let me know how to get this done. I tried to use combination of default ID and Characters but its not working for new requests, its only reflecting for existing uploaded requests. I
am trying this for taking up Ticket requests by filling up some fields in the form. Any quick help is much appreciated.
ThanxHere are the steps:
1 - Open your SharePoint site in SP Designer 2010.
2 - Click Workflows and add a List workflow. Associate this workflow on the list where you want the Random Text to be generated.
3 - Inside the workflow editor, select the Action "Update list item"
4 - Select 'Current Item'.
5 - Click Add.. and select the field which needs to be updated with the Random Text. Make sure this column is not of type "Calculated" type, otherwise you won't see it in the list of the fields within the workflow.
6 - Click "..." button in the next textbox which will open String Builder dialog box.
7 - Type IR and then click 'Add or Change Lookup and select ID column from "Field from source". Hit OK.
8 - It should look like IR[%Current Item:ID%]
9 - Hit OK.
10 - Save and publish the workflow. (Please note that currently this workflow is not set to auto run on creating new items. That's because we want to test it at this point of time).
11 - Go to your list in SharePoint and create a new item. After creating, select the item and click Workflows and then run this workflow.
12 - You should be able to see the text "IR1" in the designated column.
13 - Once you see that it's working, go to SPD and set the workflow to run automatically on creation of the new item. Save and publish and then return to your list in SharePoint.
14 - Create a new item there and you should see the Random value in the column.
15 - You will also see the column in the New form. In order to remove it, go to List settings > content types > Item content type > and select Hidden for this column so that it doesn't showup in any form.
Try it and let me know how it goes.
Thanks,
Ashish -
Create new IMAP & SMTP account with AppleScript
After reading a thread over here where some of you mentioned the problem creating a new mail account using AppleScript in fact there really seems to be a bug that doesn't allow to change authentication of a SMTP server to Password.
So I ended up going this way using PListbuddy. Of course this is no complete script and you have to adapt it to your needs. But in general "automatic" creation of new accounts works fine. We're using it to provide this to our customers as Apple Mail does not support automatic creation of mail accounts using autoconfig or autoresponder.xml.
set command1 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0 dict' ~/Library/Preferences/com.apple.mail.plist"
set command9 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:AccountName string " & theMail & "' ~/Library/Preferences/com.apple.mail.plist"
set command2 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:AccountType string SMTPAccount' ~/Library/Preferences/com.apple.mail.plist"
set command3 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:Hostname string " & servername & "' ~/Library/Preferences/com.apple.mail.plist"
set command4 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:SSLEnabled string YES' ~/Library/Preferences/com.apple.mail.plist"
set command5 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:ShouldUseAuthentication string YES' ~/Library/Preferences/com.apple.mail.plist"
set command6 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:Username string " & username & "' ~/Library/Preferences/com.apple.mail.plist"
set command7 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:uniqueId string " & myid & "' ~/Library/Preferences/com.apple.mail.plist"
set command8 to "/usr/libexec/PlistBuddy -c 'Add :DeliveryAccounts:0:AuthenticationScheme string PASSWORD' ~/Library/Preferences/com.apple.mail.plist"
do shell script command1
do shell script command2
do shell script command3
do shell script command4
do shell script command5
do shell script command6
do shell script command7
do shell script command8
do shell script command9
tell application "Mail"
set newimapac to make new imap account with properties {name:theDescription, user name:theUsername, uses ssl:true, server name:servername, port:"993", full name:theName, email addresses:{theMail}}
tell newimapac
set authentication to password
set user name to username
set password to thePassword
end tell
set mysmtp to smtp server (theDescription)
tell mysmtp
set password to mypass
end tell
set smtp server of newimapac to mysmtp
end tellThe following works exactly right, so far as I can tell (note that I made a copy of the Mail.app plist and renamed it
com.apple.mail_copy.plist). what are you doing differently?
set theMail to ""
set servername to ""
set myid to ""
set username to ""
set accountRecord to {AccountName:theMail, AccountType:"SMTPAccount", Hostname:servername, SSLEnabled:"YES", ShouldUseAuthentication:"YES", uniqueId:myid, |Username|:username, AuthenticationScheme:"PASSWORD"}
tell application "System Events"
set theMailPlist to property list file "~/Library/Preferences/com.apple.mail_copy.plist"
tell theMailPlist
tell property list item "DeliveryAccounts"
set newAccountItem to make new property list item at beginning with properties {kind:record, value:accountRecord}
tell newAccountItem
make new property list item with properties {kind:string, name:"Username", value:username}
end tell
end tell
end tell
end tell
to find a particular item in a list or directory, you use code like the following:
tell application "System Events"
set theMailPlist to property list file "~/Library/Preferences/com.apple.mail_copy.plist"
tell theMailPlist
tell property list item "DeliveryAccounts"
get every property list item whose (value of property list item "Username") contains "chump"
end tell
end tell
end tell -
Dear Expert,
I am new in SAP so can U plz tell me each steps how to create a new tax code, i have gone through sdn forum but this is not sufficient
my co. requirement is
BED 10%, Cess 2%, HS E Cess 1%, VAT_D 3% (Input).
Kindly tell me every step I will gv U full points.
Thanks in AdvanceHi Expert,
As mentioned above, Go to T-Code: OBYZ,
Firstly select the Conditions, here should define the condition types for the Tax Procedure.
Secondly we have a Access Sequence, were we use pre-defined.
Thirdly we have to create a Tax Procedure, here we need to assign the created condition types and Account Type.
Where Account Types are used to trigger the GL Accounts, we assign GL Accounts in T-Code: OB40 with respect to Account Types.
In T-Code: FTXP, We create a Tax Code and this Tax Code in used in T-Code: FV11, Her we maintain the percentage with respect to the Combination and Tax Code, this combination are pre-defined(i.e., Access Sequence)
and Configure complete CIN Settings from the below link:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207dd2ad-bf92-2b10-a88b-e3a4a01ca7fc?QuickLink=index&overridelayout=true
Maintain CIN Master Data in T-Code: J1ID and for India Localization Menu in T-Code: J1ILN
Regards,
GK
SAP
Maybe you are looking for
-
To make selection period mandatory in Logical Database Report
Hi All, My report is using customized HR Report Category with selection period as Key Date. My requirement is to make Key Date as mandatory field and with default value as sydatum. Pls help . Regards, Nibha
-
Youtube videos becoming green and still image?
I started watching some videos and after 10 minutes, what i could see was a green still image... Thought that this was not something that i should not worry about, but today it happened again! Now, i cannot watch any video. P.S. if that helps, i trie
-
Can i save to the mac side when i'm in windows?
i just bought a MBP about a month ago. i installed windows xp and have been using both very effectively. i was wondering if i can save to the mac side when i'm logged in windows? i can see the windows partition when i'm in the mac side but how do i s
-
Hi all, Again with the 'BAPI_GOODSMVT_CREATE'. I wat to create a error messages file, where it display me the reason why the paramenter gt_bapigm_headret in some cases is initial. How can I do it? Thanks in advance. Regards, Marisol.
-
Lspci does not recognise my 11g card
I've started a new Arch install on my laptop, in a separate partition form the existing Debian and Windoze. I'm using arch-0.7-beta2-base. The base install is complete, and I have network access via a PC Card wired NIC. However, I generally use this