Assigning my number as an adminstrator on a busine...
I openned a business account as an administrator. I bought then a business europe-Unlimited subscribtion and tried to buy a uk number to use.
i Then found out that the number i Bought was assigned to my personal account though i already had one. So now i have 2 Numbers on my personal account and none on the business account.
So how do i move the second number from my personal account to the business account?
EDIT : title/message case changed.
I also want an answer to this query. I recently renewed my online number on my personal skype account but now I want to use it on skype manager.
If this is not possible please advise how to get a refund for the 11 months remaining on my personal online number.
Similar Messages
-
Assigning a number value to a line from file without array
How do you assign a number value to a line from a file? I want to use the assigned number so that the i can use random number to randomly select a line
Example. i have the lines A,B,C,D,E
A
B
C
D
E
i know that a is line 1 b is line 2 so on so on
(1) A
(2)B
(3)C
(4)D
(5)E
so from here i would use the random number generator so that i could randomly select one of these. I already know how to code for the number generator but how would i make it so that i can access each individual line as a number?ya that's what im using but reguarding the code i dont think it does what im looking for. yes it does provide a random line but wen i run it multiple times it gives me the same line repeatedly. also i need to be able to refer to that line in the future so in the code the String line gets replaced each time
BufferedReader bF = new BufferedReader(new FileReader("someFilePath"));
String line;
int someRandomNumber = 9;
int counter = 0;
while ((line = bF.readLine()) != null){
if (counter == someRandomNumber){
break;
counter++;
System.out.println(line); //line at #someRandomNumber in the file -
Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number
Hi,
I'm attempting to create a simple interface which converts cutomer data from a flat file and loads it into a SAP enterprise system as an DEBMAS06 IDoc type. I am getting the error message Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number in the XI message monitor.
Has anyone come accross this error before and if so, what is the resolution???
Thanks, in advance,
PeteHi Peter,
did you fixed it?
How did you?
got the same problem
Kind regards,
Michael -
Error: EDI: Error while assigning IDoc number
Hi Everybody,
using XI 3.0 on Linux 64 bit SLES9 with Oracle I got some probleme sending messages from mq series to sap:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
<SAP:P1>EDI: Error while assigning IDoc number</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error: EDI: Error while assigning IDoc number</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What is missing here?
Kind regards,
MichaelHi Jayakrishnan,
thanks a lot for your answer.
SM59 is working finde. In IDX1 I got the the correct RFC destination entered and a double click works fine also.
The other way around R3 -> XI -> mq series is working fine. Here we are trying mq -> XI -> R3 and it stops sending from XI to R/3.
How to check the IDOC type?
Regards,
Michael -
Assign a number value to an mc
hi everyone,
so a while back I asked if it was possible to assign a number value to an mc. So I'm done my early work on it and am ready to try and integrate this function. I'll explain what I'm trying to do and I hope someone can point me in the right direction.
I'm making a small change game. So game is split into five scenes, each scene the person will receive a receipt. The person will have change in their hand (all canadian denominations). They have to look at the receipt and the change in their hand (both mcs), and figure out if its correct. If not they drag change from another pile and place it in the hand. So here's what I'm looking at trying to accomplish. I'd like to have a check change button (simple mc). I'm guessing that each coin needs a numeric value associated with it (no clue on if or how you could do this). If the numbers add up to the predetermined bill value (so I'm guessing I'd give that a numeric value as well), i hit the check button and it'll see if the change in the hand adds up to match what the bill should. So here's where my code sits currently, still tweaking as we speak. I'm still new so be gentle on my code I know its long. If anyone knows any house keeping tips that'd be great!
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import com.greensock.*;
import com.greensock.easing.*;
import flash.media.Sound;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.display.StageDisplayState;
// listeners
sc1.beginbutton1.addEventListener(MouseEvent.CLICK, beginbutton1buttonclick);
bill1.addEventListener(MouseEvent.CLICK, bill1click);
sc1.checkout1.addEventListener(MouseEvent.CLICK, checkout1click);
bill2.addEventListener(MouseEvent.CLICK, bill2click);
bill3.addEventListener(MouseEvent.CLICK, bill3click);
bill4.addEventListener(MouseEvent.CLICK, bill4click);
bill5.addEventListener(MouseEvent.CLICK, bill5click);
sc1.repeatbutton1.addEventListener(MouseEvent.CLICK, repeatbutton1buttonclick);
helpmenu.xbutton.addEventListener(MouseEvent.CLICK, xbuttonclick);
bill1.billx.addEventListener(MouseEvent.CLICK, bill1billxclick);
answermenu.xanswerbutton.addEventListener(MouseEvent.CLICK, xanswerbuttonclick);
backbutton.addEventListener(MouseEvent.CLICK, backclick);
helpbutton.addEventListener(MouseEvent.CLICK, helpclick);
answerbutton.addEventListener(MouseEvent.CLICK, answerclick);
penny1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny5.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny6.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny7.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
helpmenu.visible=false;
answermenu.visible=false;
bill1.visible=false;
bill2.visible=false;
bill3.visible=false;
bill4.visible=false;
bill5.visible=false;
TweenMax.to(penny, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie4, 0.1, {scaleX:0.1, scaleY:0.1});
//variable declarations
var myTween:Tween;
var me:Object;
function grabMe(e:MouseEvent):void{
me = e.currentTarget;
me.removeEventListener(MouseEvent.MOUSE_DOWN, grabMe);
me.startDrag();
e.target.parent.addChild(e.target)
var tweeny:Tween = new Tween(me, "y", Regular.easeIn, me.y, me.y-75, .04, true);
var scaley:Tween = new Tween(me, "scaleY", Regular.easeIn, me.scaleY, 0.4, 0.05, true);
var scalex:Tween = new Tween(me, "scaleX", Regular.easeIn, me.scaleX, 0.4, 0.05, true);
var my_shadow:DropShadowFilter = new DropShadowFilter();
my_shadow.color = 0x000000;
my_shadow.blurY = 3;
my_shadow.blurX = 3;
my_shadow.angle = 90;
my_shadow.alpha = .2;
my_shadow.quality = 15;
my_shadow.distance = 100;
var filtersArray:Array = new Array(my_shadow);
me.filters = filtersArray;
stage.addEventListener(MouseEvent.MOUSE_MOVE, dragMe);
stage.addEventListener(MouseEvent.MOUSE_UP, dropMe);
function dropMe(e:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_UP, dropMe);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragMe);
me.stopDrag();
me.filters=undefined;
var tweenydown:Tween = new Tween(me, "y", Regular.easeIn, me.y, me.y+90, .4, true);
var scaley:Tween = new Tween(me, "scaleY", Regular.easeOut, me.scaleY, 0.1, 0.05, true);
var scalex:Tween = new Tween(me, "scaleX", Regular.easeOut, me.scaleX, 0.1, 0.05, true);
me.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
//lockinplace(DisplayObject(e.currentTarget))
//mainclicksound.play();
function dragMe(e:MouseEvent):void {
e.updateAfterEvent();
//nav bar items
function backclick(event:MouseEvent):void{
answermenu.visible=false;
helpmenu.visible=false;
function helpclick(event:MouseEvent):void{
helpmenu.visible=true;
answermenu.visible=false;
setChildIndex(helpmenu,numChildren - 1)
TweenMax.to(helpmenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
function xbuttonclick(event:MouseEvent):void{
helpmenu.visible=false;
function answerclick(event:MouseEvent):void{
answermenu.visible=true;
helpmenu.visible=false;
setChildIndex(answermenu,numChildren - 1)
TweenMax.to(answermenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
function xanswerbuttonclick(event:MouseEvent):void{
answermenu.visible=false;
helpmenu.visible=false;
//screen button items
function beginbutton1buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase1");
bill1.visible=true;
TweenMax.to(bill1, 0.0, {alpha:0});
TweenMax.to(bill1, 2, {delay:0.5, y:bill1.y+90});
TweenMax.to(bill1, 0.5, {delay:0.5, alpha:1});
function repeatbutton1buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase1");
function bill1click(event:MouseEvent):void{
TweenMax.to(bill1, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
function bill1billxclick(event:MouseEvent):void{
bill1.visible=false;
function checkout1click(event:MouseEvent):void{
function beginbutton2buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase2");
bill2.visible=true;
TweenMax.to(bill2, 0.0, {alpha:0});
TweenMax.to(bill2, 2, {delay:0.5, y:bill2.y+90});
TweenMax.to(bill2, 0.5, {delay:0.5, alpha:1});
function repeatbutton2buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase2");
function bill2click(event:MouseEvent):void{
TweenMax.to(bill2, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
function bill2billxclick(event:MouseEvent):void{
bill2.visible=false;
function beginbutton3buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase3");
bill3.visible=true;
TweenMax.to(bill3, 0.0, {alpha:0});
TweenMax.to(bill3, 2, {delay:0.5, y:bill3.y+90});
TweenMax.to(bill3, 0.5, {delay:0.5, alpha:1});
function repeatbutton3buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase3");
function bill3click(event:MouseEvent):void{
TweenMax.to(bill3, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
function bill3billxclick(event:MouseEvent):void{
bill3.visible=false;
function beginbutton4buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase4");
bill4.visible=true;
TweenMax.to(bill4, 0.0, {alpha:0});
TweenMax.to(bill4, 2, {delay:0.5, y:bill4.y+90});
TweenMax.to(bill4, 0.5, {delay:0.5, alpha:1});
function repeatbutton4buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase4");
function bill4click(event:MouseEvent):void{
TweenMax.to(bill4, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
function bill4billxclick(event:MouseEvent):void{
bill4.visible=false;
function beginbutton5buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase5");
bill5.visible=true;
TweenMax.to(bill5, 0.0, {alpha:0});
TweenMax.to(bill5, 2, {delay:0.5, y:bill5.y+90});
TweenMax.to(bill5, 0.5, {delay:0.5, alpha:1});
function repeatbutton5buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase5");
function bill5click(event:MouseEvent):void{
TweenMax.to(bill5, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
function bill5billxclick(event:MouseEvent):void{
bill5.visible=false;
//function beginbutton2buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase2");
//function repeatbutton2buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase2");
//function beginbutton3buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase3");
//function repeatbutton3buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase3");
//function beginbutton4buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase4");
//function repeatbutton4buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase4");
//function beginbutton5buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase5");
//function repeatbutton5buttonclick(event:MouseEvent):void{
//sc1.gotoAndStop("phase5");ok so i got the trace working when I drop a coin on the hand mc. How would you make it so that when you hit the checkout button, you can see if the myValue items add up to a specific amount? Here's my revised code!
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import com.greensock.*;
import com.greensock.easing.*;
import flash.media.Sound;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.display.StageDisplayState;
// listeners
helpmenu.xbutton.addEventListener(MouseEvent.CLICK, xbuttonclick);
answermenu.xanswerbutton.addEventListener(MouseEvent.CLICK, xanswerbuttonclick);
backbutton.addEventListener(MouseEvent.CLICK, backclick);
helpbutton.addEventListener(MouseEvent.CLICK, helpclick);
answerbutton.addEventListener(MouseEvent.CLICK, answerclick);
sc1.beginbutton1.addEventListener(MouseEvent.CLICK, beginbutton1buttonclick);
bill1.addEventListener(MouseEvent.CLICK, bill1click);
sc1.checkout1.addEventListener(MouseEvent.CLICK, checkout1click);
sc1.checkout2.addEventListener(MouseEvent.CLICK, checkout2click);
sc1.checkout3.addEventListener(MouseEvent.CLICK, checkout3click);
sc1.checkout4.addEventListener(MouseEvent.CLICK, checkout4click);
sc1.checkout5.addEventListener(MouseEvent.CLICK, checkout5click);
bill2.addEventListener(MouseEvent.CLICK, bill2click);
bill3.addEventListener(MouseEvent.CLICK, bill3click);
bill4.addEventListener(MouseEvent.CLICK, bill4click);
bill5.addEventListener(MouseEvent.CLICK, bill5click);
bill1.billx1.addEventListener(MouseEvent.CLICK, bill1billx1click);
bill2.billx2.addEventListener(MouseEvent.CLICK, bill2billx2click);
bill3.billx3.addEventListener(MouseEvent.CLICK, bill3billx3click);
bill4.billx4.addEventListener(MouseEvent.CLICK, bill4billx4click);
bill5.billx5.addEventListener(MouseEvent.CLICK, bill5billx5click);
five.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
five1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
five2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny5.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny6.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
penny7.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
dime4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
nickel4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
quarter4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
loonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
toonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
bill1.visible=false;
sc1.checkout1.visible=false;
sc1.checkout2.visible=false;
sc1.checkout3.visible=false;
sc1.checkout4.visible=false;
sc1.checkout5.visible=false;
bill2.visible=false;
bill3.visible=false;
bill4.visible=false;
bill5.visible=false;
BS.visible=false;
hand.visible=false;
hitbox.mouseEnabled = false;
helpmenu.visible=false;
answermenu.visible=false;
TweenMax.to(five, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(five1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(five2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(dime4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel1, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie4, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie2, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie3, 0.1, {scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie4, 0.1, {scaleX:0.1, scaleY:0.1});
///assigned values
var myValue;
penny1.myValue = .01;
penny2.myValue = .01;
penny3.myValue = .01;
penny4.myValue = .01;
penny5.myValue = .01;
penny6.myValue = .01;
penny7.myValue = .01;
penny.myValue = .01;
dime1.myValue = .10;
dime2.myValue = .10;
dime3.myValue = .10;
dime4.myValue = .10;
dime.myValue = .10;
nickel1.myValue = .05;
nickel2.myValue = .05;
nickel3.myValue = .05;
nickel4.myValue = .05;
nickel.myValue = .05;
quarter2.myValue = .25;
quarter3.myValue = .25;
quarter4.myValue = .25;
quarter.myValue = .25;
toonie2.myValue = 2.0;
toonie3.myValue = 2.0;
toonie4.myValue = 2.0;
toonie.myValue = 2.0;
loonie2.myValue = 1.0;
loonie3.myValue = 1.0;
loonie4.myValue = 1.0;
loonie.myValue = 1.0;
//variable declarations
var pickupsound:pickup=new pickup
var coinonhandsound:coinonhand=new coinonhand
var coinpickupsound:coinpickup=new coinpickup
var coindropsound:coindrop=new coindrop
var droppapersound:droppaper=new droppaper
//var clickssound:clicks=new clicks
var myTween:Tween;
var me:Object;
function grabMe(e:MouseEvent):void{
me = e.currentTarget;
me.removeEventListener(MouseEvent.MOUSE_DOWN, grabMe);
me.startDrag();
e.target.parent.addChild(e.target)
coinpickupsound.play();
var tweeny:Tween = new Tween(me, "y", Regular.easeIn, me.y, me.y-75, .04, true);
var scaley:Tween = new Tween(me, "scaleY", Regular.easeIn, me.scaleY, 0.4, 0.05, true);
var scalex:Tween = new Tween(me, "scaleX", Regular.easeIn, me.scaleX, 0.4, 0.05, true);
var my_shadow:DropShadowFilter = new DropShadowFilter();
my_shadow.color = 0x000000;
my_shadow.blurY = 3;
my_shadow.blurX = 3;
my_shadow.angle = 90;
my_shadow.alpha = .2;
my_shadow.quality = 15;
my_shadow.distance = 100;
var filtersArray:Array = new Array(my_shadow);
me.filters = filtersArray;
stage.addEventListener(MouseEvent.MOUSE_MOVE, dragMe);
stage.addEventListener(MouseEvent.MOUSE_UP, dropMe);
function dropMe(e:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_UP, dropMe);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragMe);
me.stopDrag();
me.filters=undefined;
var scaley:Tween = new Tween(me, "scaleY", Regular.easeOut, me.scaleY, 0.1, 0.05, true);
var scalex:Tween = new Tween(me, "scaleX", Regular.easeOut, me.scaleX, 0.1, 0.05, true);
me.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
lockinplace(DisplayObject(e.currentTarget))
function dragMe(e:MouseEvent):void {
e.updateAfterEvent();
function lockinplace(e:DisplayObject):void{
//hand
if(hand.hitTestPoint(mouseX, mouseY, true)){
coinonhandsoundplay();
trace(me.myValue)
TweenMax.to(me,0.5,{x:mouseX,y:700, scaleX:0.2,scaleY:0.2,ease:Bounce.easeOut});
//table
//}else if(hitbox.hitTestPoint(mouseX, mouseY, true)){
//TweenMax.to(me,0.2,{x:700, y:700, scaleX:0.3,scaleY:0.3,ease:Bounce.easeInOut});;
//coinonhandsoundplay();
} else {
coindropsoundplay();
TweenMax.to(me,0.5,{x:mouseX, y:700, scaleX:0.1,scaleY:0.1,ease:Bounce.easeOut});;
//screen button items
function beginbutton1buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase1");
hand.visible=true;
bill1.visible=true;
sc1.checkout1.visible=true;
sc1.checkout2.visible=false;
sc1.checkout3.visible=false;
sc1.checkout4.visible=false;
sc1.checkout5.visible=false;
TweenMax.to(toonie2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:635, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(bill1, 0.0, {alpha:0});
TweenMax.to(bill1, 2, {delay:0.5, y:bill1.y+90});
TweenMax.to(bill1, 0.5, {delay:0.5, alpha:1});
function bill1click(event:MouseEvent):void{
TweenMax.to(bill1, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
pickupsound.play();
function bill1billx1click(event:MouseEvent):void{
bill1.visible=false;
droppapersound.play();
function checkout1click(event:MouseEvent):void{
sc1.gotoAndStop("phase2begin");
sc1.beginbutton2.addEventListener(MouseEvent.CLICK, beginbutton2buttonclick);
TweenMax.to(penny7, 0.0, {x:497.15, y:586.10, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie2, 0.0, {x:423.15, y: 622.50, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.0, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.0, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.0, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
bill1.visible=false;
hand.visible=false;
sc1.checkout1.visible=false;
function beginbutton2buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase2");
hand.visible=true;
bill2.visible=true;
sc1.checkout2.visible=true;
sc1.checkout1.visible=false;
sc1.checkout3.visible=false;
sc1.checkout4.visible=false;
sc1.checkout5.visible=false;
TweenMax.to(loonie4, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie2, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie3, 0.1, {x:635, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter4, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(bill2, 0.0, {alpha:0});
TweenMax.to(bill2, 2, {delay:0.5, y:bill2.y+90});
TweenMax.to(bill2, 0.5, {delay:0.5, alpha:1});
function bill2click(event:MouseEvent):void{
TweenMax.to(bill2, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
pickupsound.play();
function bill2billx2click(event:MouseEvent):void{
bill2.visible=false;
droppapersound.play();
function checkout2click(event:MouseEvent):void{
sc1.gotoAndStop("phase3begin");
sc1.beginbutton3.addEventListener(MouseEvent.CLICK, beginbutton3buttonclick);
TweenMax.to(loonie4, 0.1, {x:462.15, y: 623.40, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie2, 0.1, {x:459.15, y: 627.40, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie3, 0.1, {x:463.15, y: 631.75, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter4, 0.1, {x:504.70, y: 625.30, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {x:498.15, y: 588.60, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {x:500.15, y: 589.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny3, 0.1, {x:498.15, y: 591.65, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny2, 0.1, {x:499.15, y: 593.15, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime1, 0.1, {x:416.35, y: 591.40, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {x:457.15, y: 589.75, scaleX:0.1, scaleY:0.1});
bill2.visible=false;
hand.visible=false;
sc1.checkout2.visible=false;
function beginbutton3buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase3");
hand.visible=true;
bill3.visible=true;
sc1.checkout3.visible=true;
sc1.checkout2.visible=false;
sc1.checkout1.visible=false;
sc1.checkout4.visible=false;
sc1.checkout5.visible=false;
TweenMax.to(quarter3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(bill3, 0.0, {alpha:0});
TweenMax.to(bill3, 2, {delay:0.5, y:bill3.y+90});
TweenMax.to(bill3, 0.5, {delay:0.5, alpha:1});
function bill3click(event:MouseEvent):void{
TweenMax.to(bill3, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
pickupsound.play();
function bill3billx3click(event:MouseEvent):void{
bill3.visible=false;
droppapersound.play();
function checkout3click(event:MouseEvent):void{
sc1.gotoAndStop("phase4begin");
sc1.beginbutton4.addEventListener(MouseEvent.CLICK, beginbutton4buttonclick);
TweenMax.to(quarter3, 0.1, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {x:498.15, y: 588.60, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {x:500.15, y: 589.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny3, 0.1, {x:498.15, y: 591.65, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny2, 0.1, {x:499.15, y: 593.15, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny1, 0.1, {x:497.70, y: 594.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime1, 0.1, {x:416.35, y: 591.40, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime2, 0.1, {x:417.15, y: 593.25, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {x:457.15, y: 589.75, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel4, 0.1, {x:459.15, y: 592.05, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel1, 0.1, {x:458.15, y: 595.20, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel, 0.1, {x:459.15, y: 597.20, scaleX:0.1, scaleY:0.1});
bill3.visible=false;
hand.visible=false;
sc1.checkout3.visible=false;
function beginbutton4buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase4");
hand.visible=true;
bill4.visible=true;
sc1.checkout4.visible=true;
sc1.checkout2.visible=false;
sc1.checkout3.visible=false;
sc1.checkout1.visible=false;
sc1.checkout5.visible=false;
TweenMax.to(five2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:654, y: 644, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:645, y: 650, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:662, y: 642, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(bill4, 0.0, {alpha:0});
TweenMax.to(bill4, 2, {delay:0.5, y:bill4.y+90});
TweenMax.to(bill4, 0.5, {delay:0.5, alpha:1});
function bill4click(event:MouseEvent):void{
TweenMax.to(bill4, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
pickupsound.play();
function bill4billx4click(event:MouseEvent):void{
bill4.visible=false;
droppapersound.play();
function checkout4click(event:MouseEvent):void{
sc1.gotoAndStop("phase5begin");
sc1.beginbutton5.addEventListener(MouseEvent.CLICK, beginbutton5buttonclick);
TweenMax.to(five2, 0.1, {x:460.15, y: 553.10, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
bill4.visible=false;
hand.visible=false;
sc1.checkout4.visible=false;
function beginbutton5buttonclick(event:MouseEvent):void{
sc1.gotoAndStop("phase5");
hand.visible=true;
bill5.visible=true;
sc1.checkout5.visible=true;
sc1.checkout2.visible=false;
sc1.checkout3.visible=false;
sc1.checkout4.visible=false;
sc1.checkout1.visible=false;
TweenMax.to(five2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie3, 0.1, {x:622, y: 639, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie4, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie4, 0.1, {x:658, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie2, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie3, 0.1, {x:635, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(bill5, 0.0, {alpha:0});
TweenMax.to(bill5, 2, {delay:0.5, y:bill5.y+90});
TweenMax.to(bill5, 0.5, {delay:0.5, alpha:1});
function bill5click(event:MouseEvent):void{
TweenMax.to(bill5, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
pickupsound.play();
function bill5billx5click(event:MouseEvent):void{
bill5.visible=false;
droppapersound.play();
function checkout5click(event:MouseEvent):void{
BS.visible=true;
hand.visible=false;
bill5.visible=false;
sc1.checkout5.visible=false;
TweenMax.to(five2, 0.1, {x:460.15, y: 553.10, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie2, 0.1, {x:423.15, y: 622.50, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie3, 0.1, {x:415.70, y: 622.70, scaleX:0.1, scaleY:0.1});
TweenMax.to(toonie4, 0.1, {x:420.15, y: 627.70, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie4, 0.1, {x:462.15, y: 623.40, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie2, 0.1, {x:459.15, y: 627.40, scaleX:0.1, scaleY:0.1});
TweenMax.to(loonie3, 0.1, {x:463.15, y: 631.75, scaleX:0.1, scaleY:0.1});
TweenMax.to(quarter3, 0.1, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny5, 0.1, {x:498.15, y: 588.60, scaleX:0.1, scaleY:0.1});
TweenMax.to(penny4, 0.1, {x:500.15, y: 589.95, scaleX:0.1, scaleY:0.1});
TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
TweenMax.to(nickel3, 0.1, {x:457.15, y: 589.75, scaleX:0.1, scaleY:0.1});
//sound items
//function bellsoundplay():void{
//bellsound.play();
//sound items
function pickupsoundplay():void{
pickupsound.play();
//sound items
function coinpickupsoundplay():void{
coinpickupsound.play();
//sound items
function coindropsoundplay():void{
coindropsound.play();
function coinonhandsoundplay():void{
coinonhandsound.play();
function droppapersoundplay():void{
droppapersound.play();
//nav bar items
function backclick(event:MouseEvent):void{
answermenu.visible=false;
helpmenu.visible=false;
function helpclick(event:MouseEvent):void{
helpmenu.visible=true;
answermenu.visible=false;
setChildIndex(helpmenu,numChildren - 1)
TweenMax.to(helpmenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
function xbuttonclick(event:MouseEvent):void{
helpmenu.visible=false;
function answerclick(event:MouseEvent):void{
answermenu.visible=true;
helpmenu.visible=false;
setChildIndex(answermenu,numChildren - 1)
TweenMax.to(answermenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
function xanswerbuttonclick(event:MouseEvent):void{
answermenu.visible=false;
helpmenu.visible=false; -
Assigning mobile number to Business Partner through BADI
Hi Experts,
I have to create a business partner(organization) through a badi with the fields like name name1,name2,street, house number,telephone,email,mobile number. I am stuck in mobile number. I was able to create business partner with all the other fields but i dont know how to get hold of mobile number.Please suggest me functional module or the process of assigning mobile number to the BP.
Edited by: anurag112 on May 18, 2011 2:36 PMHi Anurag,
There is a field called R3_USER in the telephone structure(IT_ADTEL). If this field is populated with 2 or 3 which means it is a mobile number. You can use BUPA_CREATE_FROM_DATA FM to create BP.
Regards,
Lakshmi.Y -
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?
Hi,
First go thourh the FM import export parameters list.
Try to create an internal table of type INRI-NRRANGENR for number ranges.
We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
Try to create the ncessary ones using this FM.
In the Exit, EXIT_SAPMM06E_001,
the Export parameters are-
EKKO-EBELN- the PO ios created with in that specified range
Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
Try to code this in the Include provded and keep Breakpint and check the PO number generated.
Reply if u need more help on this.
Reward if helpful.
Best Wishes,
Chandralekha -
Hi ,
In Idoc to file Scenario (KU to LS), how to assign Partner numbe (KU) in R3 Sender system.
I m getting below error:-
No partner profile (outbound parameter) could be found using the following key:
Do the needful.
thanks
AnshulYes, I have the partner profile maintained in we20 of type KU
In We19, it is showing error:-
No partner profile (outbound parameter) could be found
For Example- For Logical system it is possible through SALE -
Assigning mobile number tto BP through BADI.
Hi Experts,
I have to create a business partner(organization) through a badi with the fields like name name1,name2,street, house number,telephone,email,mobile number. I am stuck in mobile number. I was able to create business partner with all the other fields but i dont know how to get hold of mobile number.Please suggest me functional module or the process of assigning mobile number to the BP.
Edited by: anurag112 on May 18, 2011 2:35 PMthanks for your reply. I tried to use the function module but i was not able to get the mobile number. This is what i tried to do.
*& Report ZTEST_LOG2
REPORT ZTEST_LOG2.
DATA :PARTNER_CATEGORY TYPE BAPIBUS1006_HEAD-PARTN_CAT,
PARTNER_ROLE TYPE BAPIBUS1006_BPROLES-PARTNERROLE,
BP TYPE BAPIBUS1006_HEAD-BPARTNER,
CENTRALDATA TYPE BAPIBUS1006_CENTRAL,
ORGAN_DATA TYPE BAPIBUS1006_CENTRAL_ORGAN,
ADDRESS_DATA TYPE BAPIBUS1006_ADDRESS,
IT_TELEPHONDATA TYPE TABLE OF BAPIADTEL ,
WA_TELEPHONDATA TYPE BAPIADTEL,
IT_FAXDATA TYPE TABLE OF BAPIADFAX ,
WA_FAXDATA TYPE BAPIADFAX ,
IT_URI TYPE TABLE OF BAPIADURI ,
WA_URI TYPE BAPIADURI ,
IT_E_MAILDATA TYPE TABLE OF BAPIADSMTP,
WA_E_MAILDATA TYPE BAPIADSMTP,
IT_RETURN TYPE TABLE OF BAPIRET2 ,
PARTNER_GRP TYPE BAPIBUS1006_HEAD-PARTN_GRP,
TITLE_KEY TYPE AD_TITLE,
TITLE(2) TYPE C,
BPDISTI TYPE BAPIBUS1006_HEAD-BPARTNER,
IT_RETURN1 TYPE TABLE OF BAPIRET2,
IT_MObile type TABLE OF ADTEL,
WA_mobile type ADTEL,
RELTYPE TYPE BAPIBUS1006_relations-relationshipcategory.
PARTNER_CATEGORY = '2'. "Organization
*PARTNER_GRP = '0001'.
PARTNER_ROLE = 'ZCRM02'.
ORGAN_DATA-NAME1 = 'ANURAG77 '.
ORGAN_DATA-NAME2 = 'K'.
ADDRESS_DATA-HOUSE_NO = '24'.
ADDRESS_DATA-STREET = 'MAIN'.
ADDRESS_DATA-POSTL_COD1 = '461661'.
ADDRESS_DATA-CITY = 'BANGALORE'.
ADDRESS_DATA-REGION = '05'.
ADDRESS_DATA-COUNTRY = 'IN'.
WA_TELEPHONDATA-COUNTRY = 'IN'.
WA_TELEPHONDATA-TELEPHONE = '9827654651'.
WA_TELEPHONDATA-EXTENSION = '91'.
APPEND WA_TELEPHONDATA TO IT_TELEPHONDATA.
wa_mobile-country = 'IN'.
wa_mobile-tel_number = '987654321'.
wa_mobile-r3_user = '2'.
append wa_mobile to it_mobile.
WA_FAXDATA-COUNTRY = 'IN'.
WA_FAXDATA-FAX = '987654321'.
WA_FAXDATA-EXTENSION = '91'.
APPEND WA_FAXDATA TO IT_FAXDATA.
wa_uri-uri_type = 'FTP'.
WA_URI-URI = 'ftp.abc.com'.
APPEND WA_URI TO IT_URI.
CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
EXPORTING
BUSINESSPARTNEREXTERN =
PARTNERCATEGORY = PARTNER_CATEGORY
PARTNERGROUP = PARTNER_GRP
CENTRALDATA = CENTRALDATA
CENTRALDATAPERSON = PERSON_DATA
CENTRALDATAORGANIZATION = ORGAN_DATA
CENTRALDATAGROUP =
ADDRESSDATA = ADDRESS_DATA
DUPLICATE_MESSAGE_TYPE =
ACCEPT_ERROR = ' '
IMPORTING
BUSINESSPARTNER = BP
TABLES
TELEFONDATA = IT_TELEPHONDATA
FAXDATA = IT_FAXDATA
TELETEXDATA = it_mobile
TELEXDATA =
E_MAILDATA =
RMLADDRESSDATA =
X400ADDRESSDATA =
RFCADDRESSDATA =
PRTADDRESSDATA =
SSFADDRESSDATA =
URIADDRESSDATA = IT_URI
PAGADDRESSDATA =
ADDRESSNOTES =
COMMUNICATIONNOTES =
COMMUNICATIONUSAGE =
TELEFONDATANONADDRESS =
FAXDATANONADDRESS =
TELETEXDATANONADDRESS =
TELEXDATANONADDRESS =
E_MAILDATANONADDRESS =
RMLADDRESSDATANONADDRESS =
X400ADDRESSDATANONADDRESS =
RFCADDRESSDATANONADDRESS =
PRTADDRESSDATANONADDRESS =
SSFADDRESSDATANONADDRESS =
URIADDRESSDATANONADDRESS =
PAGADDRESSDATANONADDRESS =
COMMUNICATIONNOTESNONADDRESS =
COMMUNICATIONUSAGENONADDRESS =
RETURN = IT_RETURN.
ADDRESSDUPLICATES =
CALL FUNCTION 'BUPA_ADDRESS_ADD'
EXPORTING
IV_PARTNER = BP
IV_PARTNER_GUID =
IS_ADDRESS = ADDRESS_DATA
IV_DUPLICATE_MESSAGE_TYPE =
IV_ACCEPT_ERROR = ' '
IV_ADDRGUID =
IV_X_SAVE = 'X'
IV_CONSIDER_CONSNUMBER_FOR_INS = ' '
IV_CHECK_ADDRESS = 'X'
IMPORTING
EV_ADDRNUMBER =
EV_ADDRGUID =
TABLES
IT_ADTEL = it_mobile
IT_ADFAX =
IT_ADTTX =
IT_ADTLX =
IT_ADSMTP =
IT_ADRML =
IT_ADX400 =
IT_ADRFC =
IT_ADPRT =
IT_ADSSF =
IT_ADURI =
IT_ADPAG =
IT_ADREM =
IT_ADCOMREM =
IT_ADUSE =
IT_ADDR_COMM_USE =
ET_ADDR_DUPLICATES =
ET_RETURN =
CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
EXPORTING
BUSINESSPARTNER = BP
BUSINESSPARTNERROLECATEGORY =
ALL_BUSINESSPARTNERROLES = ' '
BUSINESSPARTNERROLE = PARTNER_ROLE
DIFFERENTIATIONTYPEVALUE =
VALIDFROMDATE =
VALIDUNTILDATE = '99991231'
TABLES
RETURN =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
please help me with the same. I am new to SAP and BADI. -
Function module for assigning BP Number to the Postion ID in org model
Hi Experts,
Is there any function module for assigning BP Number to the Postion ID in organizational model.
The requirement is:
1)There are some employees which are reporting to a Manager who has a position ID.
2) Each of these employees should be assigned to the given position ID.
This can be done by First Locate the BP Record in SAP via the Vantive Person ID and retrieve the SAP BP Number.
<b>Then assign the SAP BP Number found to the Position ID.</b>
My question is <b>Is there any function module for assigning BP Number to the Postion ID .</b>
Looking forward for reply.
Thanks & Regards,
Renju.Hi,
Org. management uses API classe objects with static methods as APIs. You may be able to achieve this using
CL_CRM_ORGMAN_SERVICES->MAPPING_ORGUNIT_TO_BP
Reward if helpful!
Regards,
Sudipta. -
Assign Cheque Number in Batch Mode (F110) without creating a spool
I don't understand why I can use FCH5 to assign cheque number to individual payment but I need to use the Printout/ DME when I want to assign cheque numbers in a batch?
We would like to assign Cheque Number to Payments in Batch Mode (F110 or other transactions) but we don't want to create any spool. Does anyone how to do it? .
Thank you very much for your helpI would presume it has something to do with Compliance and Control.
F110 is an automated process.
By allowing cheques to be manually assigned to payments without then printing them, it could lead to fraud and wrong doing.
By making sure the cheque number in the system is the number than is actaul physically printed on the cheque there is an extra control.
Also manually assigning the cheques numbers relies on people entering the correct info.
Hope this helps. -
Assigning Equipment Number to MIC (Use of class type 005)
Hi,
I want to assign equipment number to MIC. For this i have made a class with class type 005 and assigned a characteristic for equipment number(EQUI table field). I have assigned the class to MIC. Now i want to enter the equipment number, when MIC is attached to a inspection plan. Please tell me how to do so ? and am i doing it correctly?I am not sure whether classification can be used here or its coorect way as classification has very different use altogather.
Now what my understanding here is you can use
1.PRT filed in Inspectionn plan and assign the same to a mic @ char lavel.
2.You can also use the "Inspection method" to specify method and equipment that you are going to use for inspection.As Method is free text you can vertually write anything here.Attach method to mic in QS22/QS23
3.In "Inspection char desription / search field " you can use name of equipment.
This is my understnading. -
Hello,
When we create a credit note in SD it takes in the field Assignment the number of the original Billing document. But I would like to take the number of the credit note itself.
Is it possible in standard or just in exit?
Thanks and best regards
LGo to VTFF, select the required document types and click on blue lens on top left. You can see two fields, viz.Assignment Field and Reference Field. Press F4 and maintain the required value.
thanks
G. Lakshmipathi -
Assign batch number from sale order to production order automatic
Dear all, I have a question for all. Please help me in this case
My scenario is make to order
I have a sale order, when i create sale order, i have assigned batch number at each line item.
When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
Thanks allHi,
To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
In fact , you are following wrong practice for generating batch no.
Follow procedure like this :
Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
While creation / releasing of Production order, you have option to generate batch automatically by following way :
Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
> Automatic Batch creation in the order maintain this field as
1 Automatic batch creation at order creation
or
2 Autom. batch creation at order release
This will generate batch number automatically at the time of creation or release of order.
Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
So you will get sales order stock in the form of batch managed.
Check & revert if any issue in above flow.
Regards,
Tejas -
Assigning large number if character to a Codepage
Do we have a tool / process which can assign large number of character to a code page, which cannot be done by SAP SPUM4. There are 18 languages and 10 code pages.
Languages listed below,
French,English,German,Italian,Spanish,Portuguese,Bulgarian,Japanese,Chinese,Danish,Russian,Dutch,Finnish,Malaysian,Czech,Hungarian,Norwegian,Swedish
we run SPUM4 in our Development Environment and found 450.000 words without a language associated. This corresponds to 2,5 months of movements from our ERP productive clients. After applying a dictionary and language patterns provided by SAP, we have now 274.000 words left (and 150.000 duplicates). I need to find other ways to decrease this number so that I end up with a workable list of words.There is no method but assigning them more or less manually or using hints.
You may check for special characters in languages, e. g. the polish ł will be displayed as ³ when you login in English - although this may also be a different character.
We had the same "problem" with 8 languages (including more than one Asian language) so it was cumbersome.
Markus
Maybe you are looking for
-
Oracle BPEL - Does not cater for not null columns and use of "default".
Oracle BPEL - Does not cater for not null columns and use of "default". BPEL fails with message: ORA-01400: cannot insert NULL into ("EDDB"."SEISMIC_LINES"."COORD_SYSTEM_ID") But SQL*PLUS command works: INSERT into EDDB.SEISMIC_LINES (etc) regards Al
-
Creating spool for ALV report in background
Hi, Can we create a spool request if we run in background/forgorund? please help me.. I am very much thankful for your quick responses.
-
afyer updating to yosemite aperture, pages, numbers and keynote won't open i have tried updating them via app store only be told they aren't authorised on this account, they were bought and installed with this mac and there has never been a problem u
-
Time Machine Backup 'InProgress' - Not Finishing
My first TM backup has not stopped running. There was @ 195 GB supposed total (time machine estimated size of backup) and when it got down to '5 seconds' left it has continued backing up now for another 10 hours and just slowly adds to the total and
-
E-mail tracking/log retention
Not so much of a technical issue, but was wondering how long everyone keeps their message tracking and/or e-mail logs around? We use an M-Series, and it looks like you can't specify retention time, rather, you have to manually configure your disk si