How to automatic post the profit OR loss to short term Capital / long term
Hi,
How to automatic post the profit OR loss to Short term Capital gain / Long term capital gain on posting of Sales transaction ?
Incase the inventory item is less than one year older then the difference should be posted to the G/L of Short term Capital gain, where as if the item is more than one year older then the difference should be posted to the G/L of Long term Capital gain
Thanks in advance
Samir Gandhi
I don't think any logic can be used to reach your goal. How B1 system should post in such a fussy conditions?
In case the inventory item is less than one year older then the difference should be posted to the G/L of Short term Capital gain
How can you identify these items? An inventory is a moving concept like a river. It come and goes with all different ways even as to value and revalue them.
Please follow the common sense to face reality.
Thanks,
Gordon
Similar Messages
-
How to automatically clear the compiler log
Does anyone know how to automatically clear the compiler log window immediately prior to compilation? "Upon compilation" might be a better way to say it.
I couldn't find any preference settings that would enable this functionality.
I'm using SQL Developer version 2.1.0.63.73, which I believe is the lastest version.
Edited by: user1983440 on Feb 11, 2010 1:21 PMAn automatic clearing of the compiler log is not available. This would be a good enhancement request to add to the Exchange: http://htmldb.oracle.com/pls/otn/f?p=42626:16:3459578745962796
Ashley -
How to automatically create the custom migration scripts after recreating SSMA project?
How to automatically create the custom data migration scripts after recreating SSMA project?
There is number of tables ( big tables with BLOBS) which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ?Hi Roman.Pokrovskij,
According
to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
custom migration scripts, you can review refer to them.
<?xml version="1.0" encoding="utf-8"?>
<ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
<config>
<output-providers>
<output-window suppress-messages="false"
destination="stdout"/>
<upgrade-project action="yes"/>
<data-migration-connection source-use-last-used="true"
target-server="target_1"/>
<progress-reporting enable="false"
report-messages="false"
report-progress="off"/>
<object-overwrite action="skip" />
</output-providers>
</config>
<servers>
<!-- Server definition for Sql server target server-->
<sql-server name="target_1">
<sql-server-authentication>
<server value="$SQLServerName$"/>
<database value="$SQLServerDb$"/>
<user-id value="$SQLServerUsrID$"/>
<password value="$SQLServerPassword$"/>
<encrypt value="true"/>
<trust-server-certificate value="true"/>
</sql-server-authentication>
</sql-server>
</servers>
<script-commands>
<create-new-project project-folder="$project_folder$ "
project-name="$project_name$"
overwrite-if-exists="true"/>
<connect-target-database server="target_1"/>
<load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
<!--Schema Mapping-->
<map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
<!-- Convert schema -->
<!-- Example: Convert entire Schema (with all attributes)-->
<convert-schema object-name="$AccessDatabase$"
object-type="Databases"
conversion-report-overwrite="true"
verbose="true"
report-errors="true" />
<!-- Synchronize target -->
<!-- Example: Synchronize target entire Database with all attributes-->
<synchronize-target object-name="$SQLServerDb$.dbo"
on-error="fail-script" />
<!-- Data Migration-->
<!--Example: Data Migration of all tables in the schema (with all attributes)-->
<migrate-data object-name="$AccessDatabase$.Tables"
object-type="category"
report-errors="true"
verbose="true"/>
</script-commands>
</ssma-script-file>
There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
article.
http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
How to automatically print the layers of a drawing in separate sheets in one go?
How to automatically print the layers of a drawing in separate sheets in one go?
Suppose that my pdf file contains 15 layers and wanted to print each one of these layers separately in separate sheet, then how this sort of work might be done automatically?
Thank you for the help,
Best
JamalNo, unfortunately, when you're in Calculation and click "pick" it closes the previous window. But I can tell you!
In the Amount field I chose Calculate>Value is the PRODUCT of the following field, and I picked Hour1, which is the field where I entered the formula you provided HOURS1 * 10. I just checked the formula and saw that it was missing a space, and inserted it. So now there is a calculation appearing in the amount column, but it's equal to what I am entering in the Rental Fee Column, not 10x the amount. See illustration. I checked the calculation order (thank you for that) and fixed the sequence.
Also, when I go to select a number from from drop down box in the Rental Fee column, it now gives me an error message before inserting the number. The error message reads "Must be greater than or equal to 0 or less than or equal to 5." I have no idea why, when the choices in the column are limited to 0, 1, 2, and 3. Is there a way to send you the actual form through this forum - I think I can upload it to the website and send you a link, correct? Thanks for your help, George. -
How can i post the fields in the screen by selecting a record
Hi,
I have a problem in dialog programming.
I need to populate the fields in the screen by selecting a single record.
For example,
Screen consists of 'CARRID, CONNID,FLDATE... fields.
By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
How can i do this in dialog programming?
I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
Thanks in advance..
SuvanHi Vinod,
Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
With dictionary reference it will fetch the entire entries from the Check table.
Thanks again for your co-operation.
Suvan.<b></b> -
How to automatically off the push button
how can i set the push button to be off automatically after meet certain condition.
i attached simple example just to represent this problem
Solved!
Go to Solution.
Attachments:
ex.vi 7 KBsmercurio_fc wrote:
I think the user is actually asking how to stop the outer loop if the Stop button is pressed or the iteration count reaches 10.
To poster: You need an OR condition on the outer loop's conditional terminal. One OR input comes from the Stop button. The other comes from the case structure. In the False case you wire out a False Boolean constant. In the True part you wire out a True. You could also wire the OR input to the Boolean control directly since this amounts to the same thing.
Code comments:
Do not create greedy loops. Use a small delay so you don't starve the CPU.
I think you want the inner loop's condition terminal to be "Continue if True".
You can use the Increment function rather than using an Add function and a constant of 1.
You don't actually need the inner loop at all. You can use a Feedback Node.
Adding to these comments it is important to note that if you read the value of a button to control stopping a loop you should always ensure that you read it AFTER you execute all of your code in the loop. If you don't you can easily end up with an "off-by-one" execution since the button will get read very early in the loop iteration and it will use that value when deciding if the loop should exit or not. It won't use the value of the button at that instance in time (end of teh loop iteration).
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
How to automate / simplfy the ECCN classification?
Hi Expert,
If there is a method we can automatically classifify the material in GTS?
We are manually using a program to upload the classification into the system right now.
thanks,Hello,
unfortunately there is no such a report which would do it automatically.
What you can do is to send the commodity code into the GTS during the material transfer and update additional filed 1 in PRGEN table. Than check the commodity code against current scheme used and assign the code into the /SAPSLL/PRCTS table when the code is ok.
This requires a bit of coding and couple of scheduled jobs.
Hope it gives at least an idea how to do it.
BR,
Gabriel. -
How can I post the screenshot in my topic in this forum?
<p>Dear Expert:</p><p>I want to load the screenshot in my topic which I posted to this forums. I just copy and paste the screenshot in the topic body when I edited, and I can see it when I edited. But after I submit to post it to the forums, the screenshot disappear.</p><p>Could anyone tell me how to post the screenshot or picture to the forums and others can view it? It'll be helpful for me to describe problem clearer and others understand it clearer.</p><p>Many thanks for your help!</p><p>Steven</p>
<p>I created a Flickr account and uploaded my screenshots there. Then I insert the URL to the picture. I believe that you have to change the input format to allow HTML tags as well. Unfortunately, you may not have permissions to do all that...I am not sure. In any case, you can insert the link to your flickr picture and we can navigate to it. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a> </p>
-
How does Thunderbird post the 'new message' notice on my Mac?
I am trying to determine the service Thunderbird uses to post 'new message' notification pop-ups at the upper right of my terminal (they appear to be posted in the main menu of the system).
Actually, some other app has rarely posted similar pop-ups .... but they don't persist long enough for me to read, so I'm really trying to find out if these pop-ups are logged anywhere that I can inspect.
Thunderbird didn't generate the pop-ups, but knowing how it generates them may help me
I'm still running OSX 10.6 (Snow Leopard) on my 1st gen intel mac, so I started my inquiry in the apple snow leopard forum where I was told that a pop-up service wasn't native in Snow Leopard, but some apps, including apple mail and Thunderbird, used Growl to post the pop-ups. A search of Thunderbird's add-ons ... and indeed a search (using the System Profiler) of apps, extensions and frameworks did not reveal anything with 'growl' in its name.
So .... I'm not really having trouble with Thunderbird, but if someone knows how it invokes the 'new message' pop-up in the main menu, maybe there's a place where such messages get logged and I can inspect it to view the pop-ups (from another app) that are disappearing too quickly for me to read.
Anyone have any helpful info?
Useful specs:
machine: 1st gen intel Mac
os: OSX 10.6 (Snow Leopard)
Thunderbird version: 24.5.0Settings>Messages>Show Preview>Off.
However, there is no way to completely turn off the popup alert, just the preview. -
Automatic Posting to Profit Centers
Hi Gurus,
We are currently implementing for a company which is having plants across india and are expecting system to provide plant wise Balance Sheets.
We have configured one Plant = Profit center. So we have as many no of profit centers to match the no of plants.
We have set DUMMY Profit Center as defualt Profit Center, where system cannot determine a profit center from masters.
Now, I would like to know if there is any way by which I can maintain Plant wise Profit Center, so that system can determine profit center based on plant? Or is there any other way by which this can be handled?
Awaiting for your guidance. Will award points accordingly.
Thanks,
SrikanthHi Srikant,
The concept of creating the Profit Center is to capture the costs & revenues for various activities and processes in the Plant. You would have assigned Profit Center in the Material Master. Even while
creating cost centers you would have assigned the relative Profit Centers. Whenever a transaction takes place in a Plant for Procurement or Production, the costs & revenues are automatically captured through your assignment in Materials and Cost Centers.
Sadashivan -
I have noted the following strange behavior inside my Publishing enterprise wiki site collection. Now by default when I create a new wiki page and I add Pictures to it, the pictures will be saved under the “Images” library and will be inside a unique folder
that have its name similar to the page name.
But when users delete the picture from the wiki page or they delete the whole wiki page, then the related folder inside the “Images” library will not be removed. So can anyone advice if there is a way to automatically remove the page’s pictures
folder from the Images library when the page is deleted? as currently i might end up having many pictures inside the Images library which are not linked to a wiki page, and they will waste my server desk space...I think, not sure, there's no out-of-the-box solution in SharePoint for this problem. So I can only think of custom solution:
In event Receiver, ItemDeleting, you can delete images. The only downside is if some other pages are referring the images..... you need to check somehow which is quite time-consuming operations if you have thousand of pages in wiki library
A timer job, that will run periodically, every day or week, and clean all unused images.
Hide the default delete button and add your own. And then using your own custom layout page, show a 'configuration dialog' to user if they want to delete both page and images.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com
Please do not tell me this is not supported out of the ox ,,,,, i that i should handle this process by myself !!! and SharePoint does not support this feature .... this is another problem i should include in my list ..... -
Automatically post the lease rental charges for oprating lease asset using
hi
i tried that way which you have given but the wht tac and tax code i am not getting
anyone can send the coding accordingly
the requirement is like that
Company code (BUKRS) - Mandatory
Asset class (ANLKL) - Mandatory -
Vendor (Leasing company) (LEAFI) - Mandatory
Business Place (BUPLA)
WHT Tax code (QSSKZ)
Tax code (MWSKZ)
Document type (BLART) - Mandatory
Document Date (BLDAT) ) - Mandatory
Posting Date (BUDAT) - ) - Mandatory
Reference (XBLNR) - ) - Mandatory
Document Header text (BKTXT) - ) - Mandatory
Logic:
Pass the values in ANLA for .
Company code-BUKRS
Asset Class-ANLKL
Vendor (Leasing company)-LEAFI
Get ANLA-ANLN1 and Lease payment (ANLA-LEGEB) from ANLA table
where Leasing Type ANLA-LEART=02(Operating Lease) . Check Deactivation date ANLA-DEAKT=space OR Posting date in selection BUDAT<= ANLA-LKDAT
After getting all Assets related to selection vendor post the lease rental document by calling F-02 transaction code (Check BAPI available)
The program should post the lease payment amount by crediting vendor with sum of lease payment for all assets selected for this vendor and debiting the individual lease payments to u2026u2026.
Checks at the time of posting:
1. Pass the Business place value in to Section code also
2. Ensure except WHT code entered in selection screen, all the other WHT codes are deleted at the time of posting.
3. At the time of posting document in the lease rental for Asset line item text it should fill with u201CLease rent for Asset numberu2026u2026u2026for the month of u2026.u201D
Edited by: jnanaranjan.paikray on Jul 30, 2010 9:26 AMhi raj
i got it
thk for everything -
How to automatically close the client?
Hi all,
Is there any way to automatically close the client?
Att,
Renan Lopes>
Juan Reyes wrote:
> Theres no such tool as standard and to be honest you wouldn't like to have one, Opening the system on a production environment should be only done in very particular situations and the utilization should be monitored closely.
>
> Regards
> Juan
Hi Juan,
The implementation of our environment was a six months ago and during the implementation, the client production was opened a few times. The problem is we are in a process of audit and I suggested as a security measure the automatic closing of the client.
Att,
Renan Lopes -
How to automatically activate the indicator u2018Capital Goods Affectedu2019 in MI
Dear Expert;
I've created a specific document for asset purchases order, I want at the MIRO automatically activate the indicator u2018Capital Goods Affectedu2019. Is it possible by setting via the SPRO or my document.
Thank you in advance for your helpYou can untick it from vendor master and info record.
1. Using MK02 - Go to purchasing data and the untick the GR-based Iv
2. In info record for the vendor and particular material - purchasing organization data1 -
How sale forecast transfer to COPA via KSPP and not related to long term,
Dear all experts,
i am trying to transfer my sale forecast to COPA via KSPP. However, this is not related to product group and long term planning.
any configuration involve?
what is the step that i need to proceed?
please advise.
CJI think you are misunderstood something. The KSPP transaction is used to transfer the activity for the planned order; either long-term or short term to cost center activity type planning (in scheduled activity; and with reconciliation function, can copy to plan quantity).
It is not related to sales forecast from COPA to SOP which KE1E t-code is used.
For KSPP, you can set the transfer control in configuration. Alternatively, without configuration, you can use flexible transfer (menu Environment -> Flexible transfer). This provide that you have the master data in PP and CO setup correctly.
Rgrds,
Maybe you are looking for
-
like I can with dropbox
-
Password at startup necessary?
I have had my Satellite S55 for a few days. Typing in a password at startup is a big nuisance. Is there any way to eliminate the need for this? Thanks in advance. Solved! Go to Solution.
-
Workflow for unsupported RAW files
Aperture doesn't recognize RAW images from my Leica D-Lux 2 so I will need to use ACR to convert the files. I'm wondering what other people have set up in terms of workflow for unsupported RAW files. I'm thinking I will have to open in PS, convert, s
-
Nikon D5200 and Lightroom 4 - Incompatible Raw Files
I just purchased a Nikon D5200. When I attempted to import my photographs into Lightroom 4, the raw files were incompatible. Every support topic I found said that I needed to go to the help menu in Lightroom and click "check for updates." But when I
-
Firefox doesn't show/display/load my addressbook within my hotmail account anymore, it worked previously well, so has nothing to do with the change from hotmail to outlook. Since a week or so, I realized a slowness in loading my recently used address