Vendor with 2 VAT numbers and MIRO tr
Hello,
If I have a vendor with 2 VAT numbers (t-code xk03), i.e., one for PL by default and another one for FR. When the customer in t-code MIRO wants to choose VAT number for FR it let him do it, but then if we go to the FI document xxxxxxxxxxx, in the "additional data" still comes up PL unspite was chosen FR.
So, the question is why does it happen this way and how we can choose and keep FR?
B. Regards
Francisco
Hello,
What I see from MIRO is that if you work with a vendor with VAT reg. number"PL", (also thi vendor has alternative VAT no. for FR,and this is what I need for the invoice), and change in MIRO Reporting country to "FR" the alternative vendor VAT, the financial invoice (51........) will take the original VAT vendor number "PL", (that I change it before to FR with Rep. country in MIRO).
How can I create a financial invoice with the other VAT no. (FR) for this vendor?
Regards
Similar Messages
-
I have 1 Apple ID, 2 5S iPhones (1 private/1 work) with separates numbers and both phones ring when I get a call on one of the numbers. How do I switch that of ?
I realize that my wife could make her own iTunes account; however, she's been using mine for about 2 years now and this hasn't been an issue. I guess with the Family Sharing she can have access to all of our music and apps now with her own account.
I'll have to see if unchecking our emails resolves this issue. -
Can I put the same information on two different i-phones with different numbers and different ID's?
Yes and no it really depends on what information you are putting on the devices.
-
I just bought an iMac, It was to come with pages, numbers, and the presentation software. I can't find these programs.
Have you checked your Purchase and Updates at the app store? You will usually need to accept them and then download/install. If that does not work, you can follow these instructions:
http://www.apple.com/creativity-apps/mac/up-to-date/ -
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 -
Working with random numbers and probabilities
Hi again,
i am working with random numbers at the moment.
in the first step i do create a random number between 3 and 8 which is stored to a variable.
set myVAR1 to random number from 3 to 8 as integer
Lets assume myVAR1 is 5
Now i want to select 5 numbers out of number pool from 1 to 8. Each number should be pickable only once.
How would i realize that ?
I guess i need some kind of pool, array and then select 5 out of this array, but i am not sure about the syntax.
In best case i would like to add probabilities to those 8 numbers in the pool.
i.e.
1 (5%),2(5%),3(20%),4(10%),5(20%),6(10%),7(15%),8(15%)
any help is heavily appreciated
best regards
fidelHello fidel,
For selecting unique numbers from given pool, try something like this.
--SCRIPT 1
(* select unique numbers from pool *)
set pool to {1, 2, 3, 4, 5, 6, 7, 8} -- number pool
set n to random number from 3 to 8 -- selection count
return {n, random(n, pool)}
on random(n, pool)
set kk to {}
repeat with i from 1 to count pool
set end of kk to i
end repeat
set rr to {}
repeat n times
set k to kk's some integer
set kk's item k to false
set end of rr to pool's item k
end repeat
return rr
end random
--END OF SCRIPT 1
For introducing selection weight of each number in the pool, you may try the below.
--SCRIPT 2
(* select unique numbers from pool with stochastic weights *)
set pool to {1, 2, 3, 4, 5, 6, 7, 8} -- number pool
set weights to {5, 5, 20, 10, 20, 10, 15, 15} -- selection weight
set n to random number from 3 to 8 -- selection count
return {n, random(n, pool, weights)}
on random(n, pool, weights)
script o
property ww : weights
property pp : {}
property kk : {}
property rr : {}
repeat with i from 1 to count pool
repeat my ww's item i times
set end of my pp to pool's item i
end repeat
end repeat
repeat with i from 1 to count my pp
set end of my kk to i
end repeat
repeat n times
set k to my kk's some integer
set end of my rr to my pp's item k
set j to 0
set i to 1
repeat with w in my ww
set j to j + w
if k > j then
set i to j + 1
else
repeat with h from i to j
set my kk's item h to false
end repeat
set i to 1
exit repeat
end if
end repeat
end repeat
return my rr's contents
end script
tell o to run
end random
--END OF SCRIPT 2
Hope this may help,
H
Message was edited by: Hiroto -
Ruler with line numbering and cury text underline
Hi,
I've just started programming in java and as an exercise i was trying to make an simple text editor. Uptil now i've been able to make a textarea and a menu with items and such, but i have 2 things that i'm very curious about.
1. How can I make a vertical ruler with line numbers in it? (like in JBuilder/Eclipse editors) I'm planning on putting it next to the text so I can see at which line in the document i'm at.
2. How can I underline (mark) text with those curly lines you often see in applications? (i.e. Marking grammar and spelling errors in MS Word or marking programming errors in editors like JBuilder/Eclipse)
I hope that these things can be done in Java. If someone could help me out with this, i'd be very grateful.
KayhneTry this.
regards,
Stas
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.util.*;
class Test {
public Test() {
JFrame fr = new JFrame("TEST");
fr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JEditorPane pane = new JEditorPane();
pane.setEditorKit(new NewEditorKit());
pane.setText("test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test ");
StyledDocument doc = (StyledDocument) pane.getDocument();
MutableAttributeSet attr = new SimpleAttributeSet();
StyleConstants.setLineSpacing(attr, 5f);
doc.setParagraphAttributes(0, doc.getLength(), attr, false);
JScrollPane sp = new JScrollPane(pane);
fr.getContentPane().add(sp);
fr.setSize(300, 300);
fr.show();
public static void main(String[] args) {
Test test = new Test();
class NewEditorKit extends StyledEditorKit {
public ViewFactory getViewFactory() {
return new NewViewFactory();
class NewViewFactory implements ViewFactory {
public View create(Element elem) {
String kind = elem.getName();
if (kind != null) {
if (kind.equals(AbstractDocument.ContentElementName)) {
return new JaggedLabelView(elem);
else if (kind.equals(AbstractDocument.ParagraphElementName)) {
return new ParagraphView(elem);
else if (kind.equals(AbstractDocument.SectionElementName)) {
return new BoxView(elem, View.Y_AXIS);
else if (kind.equals(StyleConstants.ComponentElementName)) {
return new ComponentView(elem);
else if (kind.equals(StyleConstants.IconElementName)) {
return new IconView(elem);
// default to text display
return new LabelView(elem);
class JaggedLabelView extends LabelView {
public JaggedLabelView(Element elem) {
super(elem);
public void paint(Graphics g, Shape allocation) {
super.paint(g, allocation);
paintJaggedLine(g, allocation);
public void paintJaggedLine(Graphics g, Shape a) {
int y = (int) (a.getBounds().getY() + a.getBounds().getHeight());
int x1 = (int) a.getBounds().getX();
int x2 = (int) (a.getBounds().getX() + a.getBounds().getWidth());
Color old = g.getColor();
g.setColor(Color.red);
for (int i = x1; i <= x2; i += 6) {
g.drawArc(i + 3, y - 3, 3, 3, 0, 180);
g.drawArc(i + 6, y - 3, 3, 3, 180, 181);
g.setColor(old);
} -
Newbie needing help with code numbers and if-else
I'm 100% new to any kind of programming and in my 4th week of an Intro to Java class. It's also an on-line class so my helpful resources are quite limited. I have spent close to 10 hours on my class project working out P-code and the java code itself, but I'm having some difficulty because the project seems to be much more advanced that the examples in the book that appear to only be partly directly related to this assignment. I have finally come to a point where I am unable to fix the mistakes that still show up. I'm not trying to get anyone to do my assignment for me, I'm only trying to get some help on what I'm missing. I want to learn, not cheat.
Okay, I have an assignment that, in a nutshell, is a cash register. JOptionPane prompts the user to enter a product code that represents a product with a specific price. Another box asks for the quanity then displays the cost, tax and then the total amount plus tax, formatted in dollars and cents. It then repeats until a sentinel of "999" is entered, and then another box displays the total items sold for the day, amount of merchandise sold, tax charged, and the total amount acquired for the day. If a non-valid code is entered, I should prompt the user to try again.
I have this down to 6 errors, with one of the errors being the same error 5 times. Here are the errors:
C:\PROGRA~1\XINOXS~1\JCREAT~1\MyProjects\Sales.java:50: 'else' without 'if'
else //if invalid code entered, output message
^
C:\PROGRA~1\XINOXS~1\JCREAT~1\MyProjects\Sales.java:39: unexpected type
required: variable
found : value
100 = 2.98;
^
C:\PROGRA~1\XINOXS~1\JCREAT~1\MyProjects\Sales.java:41: unexpected type
required: variable
found : value
200 = 4.50;
^
C:\PROGRA~1\XINOXS~1\JCREAT~1\MyProjects\Sales.java:43: unexpected type
required: variable
found : value
300 = 6.79;
^
C:\PROGRA~1\XINOXS~1\JCREAT~1\MyProjects\Sales.java:45: unexpected type
required: variable
found : value
400 = 5.29;
^
C:\PROGRA~1\XINOXS~1\JCREAT~1\MyProjects\Sales.java:47: unexpected type
required: variable
found : value
500 = 7.20;
^
And finally, here is my code. Please be gentle with the criticism. I've really put a lot into it and would appreciate any help. Thanks in advance.
import java.text.NumberFormat; // class for numeric formating from page 178
import javax.swing.JOptionPane; // class for JOptionOPane
public class Sales {
//main method begins execution ofJava Application
public static void main( String args[] )
double quantity; // total of items purchased
double tax; // total of tax
double value; // total cost of all items before tax
double total; // total of items including tax
double totValue; // daily value counter
double totTax; // daily tax counter
double totTotal; // daily total amount collected (+tax) counter
double item; //
String input; // user-entered value
String output; // output string
String itemString; // item code entered by user
String quantityString; // quantity entered by user
// initialization phase
quantity = 0; // initialize counter for items purchased
// get first code from user
itemString = JOptionPane.showInputDialog(
"Enter item code:" );
// convert itemString to double
item = Double.parseDouble ( itemString );
// loop until sentinel value read from user
while ( item != 999 ) {
// converting code to amount using if statements
if ( item == 100 )
100 = 2.98;
if ( item == 200 )
200 = 4.50;
if ( item == 300 )
300 = 6.79;
if ( item == 400 )
400 = 5.29;
if ( item == 500 )
500 = 7.20;
else //if invalid code entered, output message
JOptionPane.showMessageDialog( null, "Invalid code entered, please try again!",
"Item Code", JOptionPane.INFORMATION_MESSAGE );
} // end if
} // end while
// get quantity of item user
itemString = JOptionPane.showInputDialog(
"Enter quantity:" );
// convert quantityString to int
quantity = Double.parseDouble ( quantityString );
// add quantity to quantity
quantity = quantity + quantity;
// calculation time! value
value = quantity * item;
// calc tax
tax = value * .07;
// calc total
total = tax + value;
//add totals to counter
totValue = totValue + value;
totTax = totTax + tax;
totTotal = totTotal + total;
// display the results of purchase
JOptionPane.showMessageDialog( null, "Amount: " + value +
"\nTax: " + tax + "\nTotal: " + total, "Sale", JOptionPane.INFORMATION_MESSAGE );
// get next code from user
itemString = JOptionPane.showInputDialog(
"Enter item code:" );
// If sentinel value reached
if ( item == 999 ) {
// display the daily totals
JOptionPane.showMessageDialog( null, "Total amount of items sold today: " + quantity +
"\nValue of ites sold today: " + totValue + "\nTotal tax collected today: " + totTax +
"\nTotal Amount collected today: " + totTotal, "Totals", JOptionPane.INFORMATION_MESSAGE );
System.exit( 0 ); // terminate application
} // end sentinel
} // end message
} // end class SalesHere you go. I haven't tested this but it does compile. I've put in a 'few helpful hints'.
import java.text.NumberFormat; // class for numeric formating from page 178
import javax.swing.JOptionPane; // class for JOptionOPane
public class TestTextFind {
//main method begins execution ofJava Application
public static void main( String args[] )
double quantity; // total of items purchased
double tax; // total of tax
double value; // total cost of all items before tax
double total; // total of items including tax
// double totValue; // daily value counter
// double totTax; // daily tax counter
// double totTotal; // daily total amount collected (+tax) counter
// Always initialise your numbers unless you have a good reason not too
double totValue = 0; // daily value counter
double totTax = 0; // daily tax counter
double totTotal = 0; // daily total amount collected (+tax) counter
double itemCode;
double item = 0;
String itemCodeString; // item code entered by user
String quantityString; // quantity entered by user
// initialization phase
quantity = 0; // initialize counter for items purchased
// get first code from user
itemCodeString = JOptionPane.showInputDialog("Enter item code:" );
// convert itemString to double
itemCode = Double.parseDouble ( itemCodeString );
// loop until sentinel value read from user
while ( itemCode != 999 ) {
* 1. variable item mightnot have been initialised
* You had item and itemCode the wrong way round.
* You are supposed to be checking itemCode but setting the value
* for item
// converting code to amount using if statements
if ( item == 100 )
{itemCode = 2.98;}
else if ( item == 200 )
{itemCode = 4.50;}
else if ( item == 300 )
{itemCode = 6.79;}
else if ( item == 400 )
{itemCode = 5.29;}
else if ( item == 500 )
{itemCode = 7.20;}
else {//if invalid code entered, output message
JOptionPane.showMessageDialog( null, "Invalid code entered, please try again!",
"Item Code", JOptionPane.INFORMATION_MESSAGE );
} // end if
} // end while
// get quantity of item user
itemCodeString = JOptionPane.showInputDialog("Enter quantity:" );
* 2.
* You have declared quantityString here but you never give it a value.
* I think this should be itemCodeString shouldnt it???
* Or should you change itemCodeString above to quantityString?
// convert quantityString to int
// quantity = Double.parseDouble ( quantityString ); // old code
quantity = Double.parseDouble ( itemCodeString );
// add quantity to quantity
quantity = quantity + quantity;
// calculation time! value
value = quantity * itemCode;
// calc tax
tax = value * .07;
// calc total
total = tax + value;
//add totals to counter
* 3. 4. and 5.
* With the following you have not assigned the 'total' variables a value
* so in effect you are saying eg. "total = null + 10". Thats why an error is
* raised. If you look at your declaration i have assigned them an initial
* value of 0.
totValue = totValue + value;
totTax = totTax + tax;
totTotal = totTotal + total;
// display the results of purchase
JOptionPane.showMessageDialog( null, "Amount: " + value +
"\nTax: " + tax + "\nTotal: " + total, "Sale", JOptionPane.INFORMATION_MESSAGE );
// get next code from user
itemCodeString = JOptionPane.showInputDialog("Enter item code:" );
// If sentinel value reached
if ( itemCode == 999 ) {
// display the daily totals
JOptionPane.showMessageDialog( null, "Total amount of items sold today: " + quantity +
"\nValue of ites sold today: " + totValue + "\nTotal tax collected today: " + totTax +
"\nTotal Amount collected today: " + totTotal, "Totals", JOptionPane.INFORMATION_MESSAGE );
System.exit( 0 ); // terminate application
} // end sentinel
} // end message
} // end class SalesRob. -
To view FI Vendors with Pymnt Terms and the associated Expense GL Account
Hi,
Is there any report that brings FI Payment Terms from vendors along with the associated G/L EXPENSE accounts ? How can I bring such information?
Any help is very welcome.
Regards
Roger
Edited by: rogersapfinance on Nov 10, 2009 9:21 PM
Edited by: rogersapfinance on Nov 10, 2009 9:29 PMThese payment terms are given at the time of entering vendor line item and expense line items. Hence the to view payment terms in GL line item (or GL account) is not possible.
You can view it in vendor line item
One work around is to fill payment terms in assignment field / reference field / etc. Then you can see it in GL line item (GL account). -
Inbound Delivery (WM) with Serial Numbers and HU's
Hey,
I want to use Serial Numbers with Handling Unit Management in WM.
I want to use MIGO to GR a Purchase Order and then Auto Pack the Inbound Delivery.
I also want to be able to Auto Pack the HU's with the Serial Numbers that i enter into the WM tab of the MIGO transaction.
I post the GR of my PO and get my inbound delivery. The delivery is Packed onto an HU ... BUT the serial numbers i enter are not present in the HU ?!?
Does anyone know if this is possible via MIGO? or is this available only when receiving IM deliveries??
thanks,
Adam.Hi Nagesh,
The process will be to use transaction MIGO for all goods receipts, therefore i would like to automate the Inbound Delivery Create AND pack process so that we minimise the amount of user input.
Once we have entered the GR for the PO i want to automatically do the following:
1) Create the inbound delivery (which the system does because the item is going into an HU managed storage location).
2) Pack the inbound delivery (which the system does because i set the Delivery Type to 'Auto Pack')
3) Assign entered Serial Numbers to the HU - which at the moment is not happening.
I thought that by entering the Serial Numbers in the 'Serial Numbers' tab in transaction MIGO that these would be copied into the HU but this is not happening ?!?
(NB: I have serialisation procedure MMSL: Maintain goods receipt and issue doc. - set on my serial number profile).
We do not want to go into the Inbound Delivery and manually assign the serial numbers as this adds complexity and is time consuming for the User.
thanks,
A -
Document clearing required in vendor invoice in FB60 and MIRO
Hello Experts,
I am posting one vendor invoice. I want to distribute one vendor invoice between two profit centers. Now SAP is posting following entries:
Expense A/c... Dr (Cost Center: 100001 / Profit Center: 1000) - Rs.5000
Tax Receivable A/c... Dr (Profit Center: 1100) - Rs.400 (Default profit center for this GL is pulled from FAGL3KEH)
To Vendor A/c (Profit Center 1000) - Rs.5000
To Vendor A/c (Profit Center 1100) - Rs.400
In above entry, vendor line item is getting divided into two profit center. But my requirement is that, system should not vendor line item in two. It should post using document balance clearing A/c. Desired entry is:
Expense A/c... Dr (Cost Center: 100001 / Profit Center: 1000) - Rs.5000
Tax Receivable A/c... Dr (Profit Center: 1100) - Rs.400 (Default profit center for this GL is pulled from FAGL3KEH)
Document Splitting clearing A/c... Dr (Profit Center 1000) - Rs.400
To Vendor A/c (Profit Center 1000) - Rs.5400
To Document Splitting clearing A/c (Profit Center 1100) - Rs.400
Please help me in achieving the above set of entries. Following and attached are the settings done for document splitting:
1. Vendor GL account is marked as 03000 (Vendor) without overridden tick.
2. Tax GL account is marked as 05100 (Tax on Sales / Purchase) without overridden tick.
3. Expense GL account is marked as 20000 (Expense) without over ridden tick.
Please look into it and provide with your inputsHi Deepak,
check document splitting for gl a/c give vendor recon a/c gl and give item category as vendor.
also check doucment type which you are using it should be vendor only.
when ever you use document splitting don't use standard one copy it do the modifications.
Regards,
Raman -
I use 2 iphones with different numbers and different contacts.
These iphones (a 4 and a 4S) are used as local phones for 2 different countries. As a result I end up adding contacts into the iphone that I am using at any given time. However, the contacts are common and may be required from the other iphone as well. THe iphones have different names and are backed up separately. How can I ensure that if a contact is added to one is also automatically updated to the other? If not automatic, how do I sync them to a common contact list which keeps accreting contacts from both?
syncing contacts, with either iCloud or iTunes, mean all contacts or nothing. You can set up iCloud, that means adding a contact to one iPhone it will automatically appear on the other one, but all the other contacts will be on both phones, including the ones you might not want there, if you insist on keeping part of your contacts seperate.
If you don't mind having all contacts on both phones, do the following on both devices:
Go to Settings - iCloud - login with your Apple ID - turn on Contacts.
Hope this helps
Stijn -
Delivery Form with batch numbers and Print Preview
When I open Sales->Delivery form and select one that has items with batches, and then press Print Preview, TWO previews are automatically opened. One regular which I created using Layout designer and set as Standard, and the other called "Batches List"
Customer doesn't want the "Batches List" to use, since batches are already covered in the regular layout. Is there any way to disable it, so that only the regular preview is opened, and then printed? I'm using SAP BO 2007 A.You should change the 'When Batch/Serial No. Exists, Print' setting to 'Document Only' in Print Preferences for Delivery.
(Under menu :Administration / System Initialization / Print Preferences /Per document.) -
2 BBs with two numbers and same email address
Hello,
I have a BB with a Vodafone number from Portugal. I want to buy now
another BB to use with another Vodafone number, this case from
Ireland.
My question is whether I can have both phones working with the same
gmail address at the same time? When an email is received it will go
to both phones at the same time?
thanks for your help
Manuel
Solved!
Go to Solution.Jameskemp is correct.
When you set up an email address on your BlackBerry, you're associating the delivery of that email address to your phone's PIN. You can't have one email address going to two different PINs simultaneously.
Now you know.
- If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated. -
How do I change my Wi-Fi password?
This item is a modem, it does not have wireless according to the manual which I have linked here, it is also rather old (as the requirements for a pentium 133 and 32mb of Ram suggest)
If this is all you have you can not connect your kindle (or anything else) to it wirelessly
Get a router.
Link to DPX100 Cable Modem User Manual
Maybe you are looking for
-
Itunes shows error message when trying to update software
I have updated my laptop and itunes. I have had an issue with my phone connecting to any new wifi as well. I have also reset my phone.
-
Iisforward.dll causes IIS5 to crash
Hello, I followed the installation procedure for the ISAPI filter iisforward.dll, but, as soon that i have registered the .dll. IIS crashes each time I send an HTTP request (even if it is a classical one wo proxying). Can someone help me ? My configu
-
Strange Behavior of af:inputListOfValues
Hi, I've tried the demo for How-to build Oracle Forms style List-of-Values in ADF Faces RC at [http://www.oracle.com/technology/products/jdev/tips/fnimphius/lov/listOfValues.html|http://www.oracle.com/technology/products/jdev/tips/fnimphius/lov/listO
-
HTTP Comms Channel and UTL Parameters
Hi, I need to build a new interface (HTTP - RFC) which will use several URL parameters and I have a few questions 1) In my limited experience I know that HTTP scenarios don't usually require a comms channel. Like RFC it's built into the ABAP stack. I
-
i forgot my password then its block when, i restore to technician of cellphone there's appear to to insert my apple.id but i forgot it too what can i do to restore my i phone pls help me