Document Class reference

This might be tough for me to explain but here it goes:
I have a textField in Frame 1 of a swf. that swf has a
document class. When I compile that swf i can change the text in
the textField easily with textField.appendText(text);
However, when I compile a second swf which references that
document class that textField gives me an error on compile because
it does not exist in the document class of the swf it is referring
to. How do I solve that? When I compile I get an 1120:Access Denied
undefined property error. If I try to define the textField in my
document class like private var textField; I get a confilct with
namespace internal ....
SWF 2 has no idea SWF 1 has no idea SWF 1 has a textField in
its timeline when it is compiling.
Is there a way around this or do I have to create the
textField in my document class? There has to be a way to mix
sprites in a timeline and sprites in the document class.

You need to do two things to get it to compile.
1. In Publish Settings -> ActionScript Settings UNCHECK
the Automatically declare stage instances box.
2. Declare your text field as public: public var
textField:TextField;

Similar Messages

  • Document Classes and other Questions

    Basically, i am working on an application that will eventually be deployed to the desktop as an AIR application.
    I am wanting to create an Analogue clock and Digital clock with a button that toggles the display between either one when pressed. As well as this, i will be wanting to display the Date below, i am having a number of issues however.
    I have the code sorted for three of the four components, i have not attempted to figure out the button thus far as i would be more than happy to have the digital clock, analogue clock and date all being displayed on a drag and drop desktop application first. When i say i have it sorted, i have a fully working analogue clock which i have managed to display on the desktop through air on its lonesome, however, i did not include the drag and drop function. For the digital clock and date components i am not sure how to configure them into document classes. The main issue i am having is i do not know if you can reference a dynamic text box within a movie clip to a document class.
    This is the code to show the date
    [code]{
    var currentTime:Date = new Date();
    var month:Array = new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December");
    var dayOfWeek:Array = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
    date_text.text = dayOfWeek[currentTime.getDay()] + " " + currentTime.getDate() + " " + month[currentTime.getMonth()] + " " + currentTime.getFullYear();
    [/code]
    I have put the actionscript frame inside the movie clip file, and i have given both the movie clip, and the dynamic text box within the movie clip the instance name "date_text".
    Basically, i am just struggling in how to put this code into a working document class, since the digital clock and date functions are both, some what similar, i feel the solution to one will more than likely lead to me discovering the solution for the other.
    The other problem i am having, i do not know how i will display all of the components on one air application. I am assuming, that you create one other document class file which links the other four together? i have tried to do this by just linking a new FLA file with the analogue clock, but it does not work. The code for that is below.
    [code]package
              import flash.events.Event;
              import flash.display.MovieClip;
              public class time1 extends MovieClip
                        public var now:Date;
                        public function time1()
                                  // Update screen every frame
                                  addEventListener(Event.ENTER_FRAME,enterFrameHandler);
                        // Event Handling:
                        function enterFrameHandler(event:Event):void
                                  now = new Date();
                                  // Rotate clock hands
                                  hourHand_mc.rotation = now.getHours()*30+(now.getMinutes()/2);
                                  minuteHand_mc.rotation = now.getMinutes()*6+(now.getSeconds()/10);
                                  secondHand_mc.rotation = now.getSeconds()*6;
    [/code]
    That is the original clock document class (3 Movie clips for the moving hands, and the clock face is a graphic, which i may have to reference somehow below)?
    [code]package
              import flash.display.MovieClip;
              public class main extends MovieClip
                        public var hourHand_mc:time1;
                        public var minuteHand_mc:time1;
                        public var secondHand_mc:time1;
                        public function main()
                                  hourHand_mc = new SecondHand();
                                  addChild(mySecondHand);
                                  hourHand_mc.x = 75;
                                  hourHand_mc.y = 75;
                                  minuteHand_mc = new SecondHand();
                                  addChild(mySecondHand);
                                  minuteHand_mc.x = 75;
                                  minuteHand_mc.y = 75;
                                  secondHand_mc = new SecondHand();
                                  addChild(mySecondHand);
                                  secondHand.x = 75;
                                  secondHand.y = 75;
    }[/code]
    This is my attempt at creating the main document class in a seperate FLA file to attempt to load the analogue clock, and later on the Digital Clock, Date Function and Toggle Display button in the same AIR application.
    Any help on this is much appreciated, i have been reading up a lot on it through tutorials and the like, but i can't seem to fully grasp it.

    why do you have code in a movieclip?
    if you want to follow best practice and use a document class you should remove almost all code from timelines.  the only timeline code that might be reasonably used would be a stop() on the first frame of multiframe movieclips.
    so, you should have a document class.  that could contain all your code but it would be better to just have your document class create your 2 clocks and date objects and possibly manage toggling between the two clocks.  you could have a separate class the tracks the time and date and that class is used by your two clock classes and your date class.

  • Archivelink - Document Class *  - All docs stored with text/x-docType mime

    Hi,
    I have configured an archivelink document type (OAC2) to use document class *, ie it can accept any file and not restricted to a particular type.  Document is being stored on archive server with a mime type of text/x-docType and therefore when you try retrieve it, SAP GUI isnt able to determine the mime type and only offers the 'Save As' dialog box, ie doesnt open in the SAP Viewer.
    I have previously used this * configuration on another clients system and it works correctly, the file is stored with the correct mime type and therefore is retrieved correctly.
    Any ideas why using the * config is forcing the mime type to text/x-docType?
    Thanks,
    Mark

    Hi Mark
    Transaction SPRO - SAP Reference IMG - SAP Netweaver - Application Server - Basis Services - ArchiveLink - Basic Customizing - Edit Document Classes
    The very first entry will be * and the MIME type is by default text/x-docType.

  • Document Class not work when I shift my MovieClip to 2nd Frame.

    Hello,
    All my content is at 1st frame of my FLA file...and I'm using Document Class... When I try to shift my content to 2nd frame, so I can use 1st frame for preloader.. but its not working...
    This is my document class... Basically at 1st frame I'm loading external jpg image to a MovieClip..
    Is it possible, I can **** my MovieClip and other content to 2nd frame of the timeline... ??? and Document Class work???
    Thanks...
    package com.ahmad.bg
         //import all classes
         import caurina.transitions.Tweener;
         import flash.display.Loader;
         import flash.display.MovieClip;
         import flash.display.Sprite;
         import flash.display.StageAlign;
         import flash.display.StageDisplayState;
         import flash.display.StageScaleMode;
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         public class MainClass extends MovieClip
              //create variables
              private var loader:Loader;
              private static const IMAGE_PATH:String = "bgs/bg.jpg";         
              public function MainClass() {
                   stage.align = StageAlign.TOP_LEFT;
                   stage.scaleMode = StageScaleMode.NO_SCALE;              
                   stage.addEventListener(Event.RESIZE, stageResize);         
                   //load external image
                   loader = new Loader();
                   loader.load(new URLRequest(IMAGE_PATH));
                   loader.contentLoaderInfo.addEventListener(Event.COMPLETE, showImage);
                   pic.addChild(loader);    
              private function showImage(e:Event):void
                   try {                             
                        e.target.content.alpha = 1;
                        Tweener.addTween(e.target.content, { alpha:1, time:1, transition:"easeOutSine" } );                   
                        e.target.content.smoothing = true;                             
                   } catch (e:Error) { };
                   stageResize();
              private function stageResize(e:Event=null):void
                   pic.x = 0;
                   pic.y = 0;
                   pic.scaleX = pic.scaleY = 1;              
                   if ((stage.stageHeight / stage.stageWidth) < pic.height / pic.width) {
                        pic.width = stage.stageWidth;
                        pic.scaleY = pic.scaleX;
                   } else {
                        pic.height = stage.stageHeight;                   
                        pic.scaleX = pic.scaleY;
                   pic.x = stage.stageWidth / 2 - pic.width / 2;
                   pic.y = stage.stageHeight / 2 - pic.height / 2;         
                   bottomNav.x = Math.floor(stage.stageWidth / 2 - bottomNav.width / 2);
                   bottomNav.y = Math.floor(stage.stageHeight - bottomNav.height - 0);

    If you have code in your main class that references specific movieclips on the stage, they have to be on every frame you plan on using.
    If you have a movieclip named "pic" on frame 2, but you are referencing it right away in the main class, which starts on frame 1, then it is looking for a movieclip that does not exist until you move it to frame 2

  • Document Class vs Timeline code differences...

    I'm trying to hunt down some kind of class conflict I seem to be having when using TweeLite easing and found out the same code that errors in a document class works fine if I place it in the timeline.
    Example - this works in frame one of the timeline:
    import com.greensock.TweenLite;
    import com.greensock.easing.*;
    TweenLite.to(obj, 1, { x:200, ease:Bounce.easeOut } );
    If however I make a very simple document class like so:
    package
          import com.greensock.TweenLite;
          import com.greensock.easing.*;
          import flash.display.MovieClip;
          public class Main extends MovieClip
               public function Main()
                    TweenLite.to(obj, 1, { x:200, ease:Bounce.easeOut } );
    I get an error when compiling:
    1119: Access of possibly undefined property easeOut through a reference with static type Class.
    So what's the differences between using a document class and timeline code?

    Odd... seems to have been a caching issue. I renamed the class, rebooted, and deleted ASO files and now it's working. Funny thing is that I never need to delete ASO files before... any thoughts on why this would stay cached?
    And, after rebooting I can make changes and don't need to delete ASO files either.
    Thanks!

  • Document Class Error

    I am working with Windows Vista Business if that makes a
    difference in this question.
    I am testing a class file for NoScale called NoScale.as
    I have created the class file attached.
    I have saved the class file in the same location as the fla
    file.
    I put in the document.class box: NoScale
    Whenever I publish, I receive the following error:
    5008: The name of definition 'Main' does not reflect the
    location of this file. Please change the definition's name inside
    this file, or rename the file.
    C:\Users\%UserName%\Desktop\Website\Reference Flas\NoScale.as
    (Note: I have replaced my username with %UserName%)
    I have attempted to put
    C:\Users\%UserName%\Desktop\Website\Reference Flas\NoScale.as into
    the document class box and I receive an error telling me that the
    \'s are incorrect and are not allowed.

    I know that the classes are code that is prewritten so you
    can use the functions within.
    The answer to your question is No, I don't know what the
    classes are doing because I am just beginning with AS3 and Flash 9.
    However, my question is Why does my code work with no
    problems without importing any of those classes into the code when
    I don't put anything into the Document class: [ box ].
    As soon as I wanted to give my flash header the ability to
    resize itself, I found out that I had to create a .as or class file
    with the above code in it to give it that capability. Once I did
    that I found out that I had to use the document class box in order
    to link that class file to the SWF. Once I created a proper .as
    file named NoScale and typed NoScale into the document class box,
    all of a sudden a ton of errors happen wanting me to include the
    flash.blah.blah files. If I remove the NoScale from the document
    class box and do nothing else, the project works just fine.
    That is what I don't understand.
    Wayne
    Adding the following did fix the errors. Thanks.
    import flash.display.LoaderInfo;
    import flash.display.InterpolationMethod;

  • Flash CS5 - document class relative path & package location

    It seems I have no trouble pointing an FLA's document class to my project's class package when the FLA is at the same root level as the package's top-level directory. However, if the FLA is nested in a sub-directory, then relative paths to a class nested in the package will not work.
    example package & class location : com.company.project.ClassName
    Case1 :
    Package location : \MyProject
    FLA location : \MyProject
    where document class path is : "./com/company/project"
    Case 2 ( does not work ) :
    Package location : \MyProject
    FLA location : \MyProject\MySubFolder
    where document class path is : "../com/company/project"
    If someone can provide an explanation as to why nested FLAs can't point to custom packages in parent-level directories, OR demonstrate how this can be done, it would be much appreciated.
    Now that I think on, both paths are relative, which makes this more confusing.
    Thank you.

    You are correct.
    I'm setting the "Document class" of an FLA file to a custom Class.
    The class is embedded/nested in the package directories of my project.
    The FLA is nest not at the same level as the root of the package, but in a sub-directory.
    Therefore, I need a relative path to point to the parent directory, then to the package.
    The occurs in both Win and Mac.
    I'm almost expecting someone to say FLAs can only point to packages in the same directory, but does not seem correct. Application-level classpaths can reference anywhere on your system, but are global. Document-level classpaths should be able to point to relative paths since a project needs to be portable, right? See attached image for example.

  • Access a mc or textfeild from a non document class.

    Hey all.
    This use to be simple in as2, but seems to allude me from as3.  It used to be simple to access an object you put on the stage like a mc or dynamic text field by simply using _root.instanceName ect.  Now I see references to making references to the Stage and such like:
    private var stage:Stage;
    stage = stageRef;
    and I am still confused.
    What I have going on is, I have placed a movieclip on the stage in Flash and gave it an instance name of Cell_mc.
    I have a cusom class that extends MovieClip with the following imports
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.events.MouseEvent;
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    This Class is tied to a set of MovieClips in my Library.
    I have a listener: this.addEventListener(MouseEvent.MOUSE_DOWN,pickUp);
    And a function:
    private function pickUp(event:MouseEvent):void
                      this.startDrag();
                      _interval = new Timer(100);
                      _interval.addEventListener(TimerEvent.TIMER,onInterval);
                      _interval.start();
    And
    private function onInterval(event:TimerEvent):void
                      //Set up hit test
                      this.hitArea(Cell_mc)
                            trace("hit");
    I get the following error whenever I try to access an object I placed on the stage from anywhere other than the document class:
    1120: Access of undefined property Cell_mc.
    How do I access the cell_mc that is already on the stage from this non-document class?
    Thanks guys.

    try:
    private var stage:Stage;
    stage = stageRef;
    and I am still confused.
    What I have going on is, I have placed a movieclip on the stage in Flash and gave it an instance name of Cell_mc.
    I have a cusom class that extends MovieClip with the following imports
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.events.MouseEvent;
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    This Class is tied to a set of MovieClips in my Library.
    I have a listener: this.addEventListener(MouseEvent.MOUSE_DOWN,pickUp);
    And a function:
    private function pickUp(event:MouseEvent):void
                      this.startDrag();
                      _interval = new Timer(100);
                      _interval.addEventListener(TimerEvent.TIMER,onInterval);
                      _interval.start();
    And
    private function onInterval(event:TimerEvent):void
                      //Set up hit test
                      this.hitArea(MovieClip(root).Cell_mc)
                            trace("hit");
    I get the following error whenever I try to access an object I placed on the stage from anywhere other than the document class:
    1120: Access of undefined property Cell_mc.
    How do I access the cell_mc that is already on the stage from this non-document class?
    Thanks guys.

  • Document Class initialising Application

    Hi
    I have started learning AS3. One thing I seem to be missing
    the point over is the following:
    I have a Document Class as follows:
    package {
    import flash.display.*;
    import com.Application;
    public class EntryPoint extends Sprite {
    public function EntryPoint() {
    var app:Application = new Application();
    The document class creates an instance of the Application
    class
    package com {
    import flash.display.*;
    public class Application extends Sprite{
    public function Application() {
    var mc_root:Sprite = new Sprite();
    addChild(mc_root);
    var circleTest:CircleTest = new CircleTest();
    mc_root.addChild(circleTest);
    CircleTest is a library item that has a class reference of
    'CircleTest' and a Base Class of 'flash.display.Sprite'.
    I can only get the above working if the code is in the
    Document Class.
    Help would be greatly appreciated
    Thanks

    Hi. Without looking closely, I'd think the problem is that
    you're adding the circle to the app, but not onto the document
    class instance (and neither is app added as a child to your main
    class)
    so the circle is just in limbo.
    You can look at the diagram in Flash Help- under: Basics of
    display programming

  • Change default association with DOCUMENT class

    Hi
    Is it possible to change the default association of files in IFS with the DOCUMENT class to a subclass of DOCUMENT?
    I would like to make a subclass of DOCUMENT with additional attributes and, by default, associate ALL uploaded files with that subclass.
    If this is a setting in IFS manager, would someone be able to tell me what to change?
    Any help will be greatly appreciated.
    Thanks very much
    Hugo

    Hi,
    Yes, you have to associate the basic content type with the document library manually. You can refer to the following powershell:
    #Get site object and
    #specify name of the content type to look for in each library
    $site = Get-SPSite http://portal
    $lookForCT = "Sales Document"
    #Walk through each site in the site collection
    $site | Get-SPWeb -Limit all | ForEach-Object {
    write-host "Checking site:"$_.Title
    #Go through each document library in the site
    $_.Lists | where { $_.BaseTemplate -eq "DocumentLibrary" } | ForEach-Object {
    write-host "Checking list:"$_.Title
    $_.ContentTypesEnabled = $true
    #Check to see if the library contains the content type specified
    #at the start of the script
    if (($_.ContentTypes | where { $_.Name -eq $lookForCT }) -eq $null)
    write-host "No content type exists with the name" $lookForCT "on list" $_.Title
    else
    #Add site content types to the list
    $ctToAdd = $site.RootWeb.ContentTypes["HR Document"]
    $ct = $_.ContentTypes.Add($ctToAdd)
    write-host "Content type" $ct.Name "added to list" $_.Title
    $ctToAdd = $site.RootWeb.ContentTypes["IT Document"]
    $ct = $_.ContentTypes.Add($ctToAdd)
    write-host "Content type" $ct.Name "added to list" $_.Title
    $_.Update()
    #Dispose of the site object
    $site.Dispose()
    Reference:
    https://social.technet.microsoft.com/Forums/office/en-US/dc030cb6-5d99-47eb-9620-f3640f6d6b1b/powershell-script-enable-content-types-on-a-list-and-add-content-types?forum=sharepointadminprevious
    http://www.getinthesky.com/2014/11/add-contenttype-documents-sitecollection-using-powershell-sharepoint-2013/
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Document Class / Action Script Help

    Dear all,
    From a tutorial page, i manage to built this flash page with
    xml capabilities. but when i add more scene to the flash page, i
    have errors like this.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MyContent/init()
    at MyContent()
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MyContent/onComplete()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    How do i edit the "MyContent.as" file so that i can add more
    scene to the flash.
    I understand that, once i put the "MyContent.as" in the
    document class, it will load immediately, is there any way to tell
    it to load only in scene 2 (which is where the xml is needed).
    Thanks. Any help will be very grateful.
    Attach is the actionscript

    other then defining the document class, can i "call up" the
    MyContent.as (external script) when needed?
    If this can be done, what must i do to add into the .fla file
    and the .as file..
    Sorry, i'm very new to AS3.
    Thanks!!!

  • Cannot import SWF with document class (AS3)

    When I try to import a SWF-file (published from a FLA-file with a as3 document class) via the mx:SWFLoader into Flash Builder, the imported SWF is not showing up (as3 build a cube from papervision3d). Which way do you have to import such a SWF-file?
    Regards, Sjoerd

    Shitf+Ctrl+Enter:
    Attempting to launch and connect to Player using URL preloader.swf
    [SWF] preloader.swf - 9591 bytes after decompression
    [SWF] big.swf - 1785015 bytes after decompression
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at DocumentlClass()
    Cannot display source code at this location.
    My document class (simplyfied):
    package {
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import fl.transitions.Tween;
        import fl.transitions.TweenEvent;
        import fl.transitions.easing.*;
        import flash.events.ProgressEvent;
        public class CarouselClass extends MovieClip {
            private vars...
            public function CarouselClass() {
                trace("document class triggered");
                    this.addEventListener(Event.ADDED_TO_STAGE,init);
            private function init(evt:Event):void{
                 texts = new Texts();
                carouselSprite = new Sprite();
                addChild(carouselSprite);
                topContainer = new Sprite();
                carouselSprite.addChild(topContainer);
                hitBar = new HitBar();
                hitBar.x = stage.stageWidth / 2 - hitBar.width /2;
                hitBar.y = 245;
                addChild(hitBar);
                downContent = new DownContent();
                addChild(downContent);
                downContent.y = 325;
                downContent.title_txt.text = "Learning Carousel";
                downContent.description_txt.text = "Click on one of images above to view further details";
                createSections();
            } ... (more functions)

  • Hang Calling function after Document Class' Event.ADDED

    I was trying to load an external SWF (that contains the below code in its document class) with the Loader class but i keep on receiving Error #1009: Cannot access a property or method of a null object reference. So i tried to use the event listener Event.ADDED in MyDocumentClass constructor of the external SWF to let the document class be part of the display list before i invoke createRandomGraph. But when i place createRandomGraph( ) inside onStageReady, The compilation process hangs. When i leave the createRandomGraph( ) inside the constructor, it works perfectly as stand alone but will produce Error 1009 if loaded within the loader SWF. Any ideas?
    public function MyDocumentClass( )
        this.addEventListener(Event.ADDED, onStageReady);
        createRandomGraph( )
    private function onStageReady(oEvent:Event):void
        this.removeEventListener(Event.ADDED, onStageReady);
    private function createRandomGraph( ):void
        var cRandomGraph:RandomGraph = new RandomGraph();
        cRandomGraph.x = 10;
        cRandomGraph.y = stage.stageHeight - nH - 25;
        cRandomGraph.setDimensions(nW,nH);
        cRandomGraph.createGraphBackground();
        this.addChild(cRandomGraph);

    use:
    public function MyDocumentClass( )
        this.addEventListener(Event.ADDED_TO_STAGE, onStageReady);
    private function onStageReady(oEvent:Event):void
        this.removeEventListener(Event.ADDED, onStageReady);
    createRandomGraph();
    private function createRandomGraph( ):void
        var cRandomGraph:RandomGraph = new RandomGraph();
        cRandomGraph.x = 10;
        cRandomGraph.y = stage.stageHeight - nH - 25;
        cRandomGraph.setDimensions(nW,nH);
        cRandomGraph.createGraphBackground();
        this.addChild(cRandomGraph);

  • AddChild in non-document class

    Hello, I'm trying to migrate the hundreds of lines of code in
    my main actions frame into classes.
    Could someone be so kind as to tell me how to use the
    addChild in a class that isn't the document class. I have got my
    file structure setup with the package folder and the main document
    class in the .fla root.
    I can trace from secondary classes but not use addChild and I
    am about to lose my mind!
    I have included one of my the classes so you can see how I
    have worked it.

    I am trying to catch up to AS3 from older versions of Flash,
    so I may be wrong about this.
    from what I understand, the only way to reference the stage
    is to use the stage property from an item already on the stage,
    such as your main document class (or another sprite or movie clip
    on the stage). as it stands you are adding 'aCloud' as a child of
    the new CloudClass object, not as a child of the stage. so..
    MyClouds.stage.addchild(aCloud);
    also, the other poster was right about the typo--
    aCloud:captionCloud = new captionCloud();
    one other thing I don't understand, maybe I'm missing
    something-- where is the "captionCloud" class? is it public, or at
    least accessable by CloudClass? also wouldn't it be a better idea
    to define all the properties for a captionCloud object in a method
    of the captionCloud class, and then use CloudClass to control the
    relationship between all the different captionCloud objects (but
    not their internal properties such as alpha, x, y, etc). this seems
    more OOP appropriate to me.
    anyway, i'd like to know what finally works for you, please
    post your solution when you figure it out. i'm just starting on my
    1st AS3 project.

  • Returns Process - Billing Document with reference to delivery

    Dear All,
    In standard returns process we are creating billing document with reference to sales order.
    How can we make the billing dcoument to be created with refernce to delivery as the business wants the invoice document to be created only when the delivery is posted.
    Kinldy advise what are the configuration settings required.
    With Regards
    Mohammed Raees
    Edited by: Raeesuddin Mohammed on Aug 30, 2011 7:25 PM

    Hi Raees,
    Isnt your process flow like this: Sales Order>Delivery>Billing>Return Order>Return Delivery-->Billing?
    In general, to ensure that you're creating the invoice always w/ref to a delivery document pls do the following:
    1) In VOV8, where you cnofigure your sales doc type remove the order related billing i.e. keep it blank.
    2) In VOV8, put the billing doc in delivery relevant doc.
    3) In VOV8, in shipping section put the delivery doc type.
    4) Create copy controls between the delivery doc type and billing in VTFL at header and item levels.
    5) In the item category for this order type+ item cat grp ensure the billing relevance is either B, C or F.
    6) Maintain no copy controls between sales order and the billing in VTFA.
    I hope this helps.
    Regards,
    Raghu.

Maybe you are looking for

  • Help needed regarding font sizes

    Iam generating pdf documents using oracle developer's report builder. When i generate and view those pdf's using the web previewer thay appear to be quite fine,whereas when i host them on ias the font sizes gets bigger, thus lot of text gets truncate

  • AirPlay with Mac Mini and iPad Mini?

    I recently got an Apple Mac Mini. It uses OS X Mavericks 10.9.2 and is much better than my old one. When I try to use AirPlay on it, the only displays that show up are the Apple TVs around the house. I would like to connect it to my iPad Mini (iOS 7.

  • Automatic Start up

    I have gone to energy saver, clicked schedule and set the time for the server (Dual 1.25 GHz PowerPC G4) to startup, but it doesn't work. The automatic shutdown works great. We need to have access our server via SFTP in Germany, any help would be app

  • Error occur when try to create new SOA project

    Hi, i just format my laptop, use win7 for operating system. then install Jdeveloper and download SOA extension. my problem is.. i cannot create new SOA project due to error as below: (i just copy a part of it because its too long) Performing action C

  • Infotype: Japan infotype 0002 update

    Hi Experts, Can any one help me in creating/Updating infotype 0002 - Personal Data. System is not accepting anything in the field "Katakana:P0002-LNAMK" In the screen i am not able to trace what is Kanji, Katakana, Romaji. Thanks in advance TK