Set autoinvoice gl_date = sales order ship date

I have sales orders with both shippables and non-shippables. The sales order uses header level invoicing so that the shippable and non-shippables are interfaced to AR at the same time. We use the default grouping rules which groups first on ship date and then on sales order date. Since the non-shippables lack a ship date, the gl_date for the invoice of the sales order is coming through with the sales order date.
We're using the invoicing rule Advance Invoice and the accounting rule immediate. We are deriving the gl_date.
Has anyone had any luck getting invoices to use the ship date of the sales order when both shippables and non-shippables are interfaced together?
It's been suggested that we could use a rule start date on the acccounting rule, but we are uncertain how this would work.
-Tracy

Hi,
When you open a sales order, the docdate will be today's date and the delivery date is empty. the cardcode, item code, etc are also empty.
Use this following query FMS:
select $[ordr.docdate]
save it by using query generator and assigning the FMS into delivery date by pressing shiftaltF2 and define formatted search window will appears. Select search by saved query, input the query above, check auto refresh when field changes, select customer/vendor code, select display saved value (it is used to avoid updating the document every time you open it) and finally update the define FMS window.
when you open the sales order document, it will still be empty, after you input the cardcode, the delivery date will be input automatically  and as same as posting date. if it is today, then the dates (for both) will be today.
Rgds,

Similar Messages

  • Sales order schedule date is a (working) day before Scheduled ship date

    In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
    Time fences are not used.
    E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • Control Sales order Pricing Date with Delivery GI Date

    Is it possible to have a control that ensures the Actual GI date in a delivery is not more than a number of days from the sales order pricing date?

    Hi,
    To have restriction in actual GI date in transaction VL01N . Please find the user exit for VL01N , you can use one which are marked as bold . Kindly take the help of abaper to put the validation or logic as required.
    V02V0001   - Sales area determination for stock transport order 
    V02V0002   - User exit for storage location determination 
    V02V0003   - User exit for gate + matl staging area determination 
    V02V0004   - User Exit for Staging Area Determination (Item) 
    V50PSTAT  - Delivery: Item Status Calculation 
    V50Q0001   - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001    -  Collective processing for delivery creation 
    V50R0002    - Collective processing for delivery creation 
    V50R0004    - Calculation of Stock for POs for Shipping Due Date List
    V50S0001    - User Exits for Delivery Processing 
    V53C0001    - Rough workload calculation in time per item 
    V53C0002    - W&S: RWE enhancement - shipping material type/time slot
    V53W0001   - User exits for creating picking waves 
    VMDE0001  - Shipping Interface: Error Handling - Inbound IDoc 
    VMDE0002  - Shipping Interface: Message PICKSD (Picking, Outbound) 
    VMDE0003  - Shipping Interface: Message SDPICK (Picking, Inbound) 
    VMDE0004  - Shipping Interface: Message SDPACK (Packing, Inbound) 
    Hope this will help you to resolve your issue!!!!
    Regards,
    Krishna O

  • How to do INIT for Sales order Itema Data (DS 2LIS_11_VAITM)

    Hi all
    I have a report on sales order item data, I have to reload it. DS 2LIS_11_VAITM
    Can any of you pls explain me the steps to do the INIT? Refill set up tables etc
    Many Thanks in advance
    Ishi

    Hi Hari
    Many Thanks for the explanation and steps. I deleted set up tables and executed to fill it.
    It says in R/3 Start of Processing, I ticked to continue and its still running.
    In the mean time I checked RSA3 and it says 1007 records selected. I am refreshing it and the no. of records are still the same.
    Can you tell me how long it takes to fill the table?
    And the R/3 system is still running (Start of Processing)
    Thanks again
    Ishi

  • Sales order creation - data stored in which tables for customer

    Hi experts,
    During sales order creation, data entered during sales process is stored in various related tables. Can anyone list the tables where data is stored for customers?
    Thank you

    Dear Manisha
    Once you saved the sale order,
    - all header datas are stored in VBAK
    - all item level datas are stored in VBAP
    - schedule line confirmation in VBEP
    - all condition types and values are stored in KONV / KONP
    - Partner functions in VBPA
    - Delivery related fields like Shipping Point, Delivery Date, Goods Issue etc., are all in VEPVG
    thanks
    G. Lakshmipathi

  • MRP setting for Purchase (Planned Order ) Requirement date

    Dear Sir,
    During the MRP run , we desire that the genertaed Planned Orders for the Purchase related items , should have requirement date as either the current date or the current date plus procurement lead time defined in the Material Master against the item .
    To achive the abobe requirement , we request you to pl guide us as what setting / parameters are required to be set in the MRP setup .  Or if there is some other alternate approach , pl suggest the same .
    With Thanks and Rgds
    Sonia Agarwal

    Dear
    Generally , during MRP run , system will genarted Planned order for Purcahsed item if it is opening period .
    The opening period for the planned order represents the number of workdays that are subtracted from the order start date in order to determine the order opening date. This period serves as a time float, which is available for the MRP controller when converting a planned order into a purchase requisition.
    You define the opening period for the planned order in Customizing for MRP in the IMG activity Define floats (scheduling margin key) and assign it to the material in the Scheduling margin key field (MRP 2 view) in the material master
    Now if you want to have Planned order for purchased item with requirement date as current date , then maintain Demand date like Sales Order requirement date as curent date in VA01 or PIR date as current date.
    Where as MRP will consider the Planned Order based on planned opening date , lead time , GR processing time from MRP2 view .So for current date requirement , u should keep Lead time and GR processing time as 0.
    Regards
    JH

  • Upload sales order item data

    Hi All,
    I need to upload sales order item data.Could you please tell me the steps in R/3 to replicate data BW.
    Thanks
    Raj

    Hi,
    Steps to upload sales order item:
    1) Maintain extract structure (LBWE)
    2) Maintain Datasource. (LBWE)
    3) Replicate datasource in BW
    4) Assign Infosources (RSA1 - BW)
    5) Maintain comm struc/transfer rules (RSA1 - BW)
    6) Maintain infocubes and update rules (RSA1 - BW)
    7) Activate extract structures (LBWE)
    8) Delete setup tables / setup extraction (For deleting – LBWG and for setup use OLI7BW).
    9) Infopackage for delta init
    10) Set up periodic V3 update (LBWE)
    11) InfoPackage for delta load.
    Hope this helps.
    PB

  • SALE ORDER COMPLETION DATE

    Hi all,
               We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
          Any standard report to see the sale orders completed date
    ie order closed date wise report.
    Regards,
    T.Murugu

    Hi
    You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
    Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
    Hope you find it useful.
    Reward points if you do.
    Regards
    Ravi

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • Sale order complection date

    Dear All
    which table stored in sale order complection date
    Thanks and Regards
    Suresh

    You can see the SO complete status in table VBUK-RFSTK filed.
    But i dont think you will get directly teh completion date. What you can do the check for the billing documents of the SO and take final billing doc creation date as SO completion date.
    Anyway plese check with your functional consultant.
    Thanks,

  • Sales orders flow - dates difference

    Dear All,
    I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date  and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
    Base on this, i'm wondering how can i model this scenario...
    Do you have any suggestion?
    Thanks in advance and best regards,
    Nuno

    Hi,
    I need to build a model for a report which needs to have the days difference between the
    Sales order creation date,
    Delivery date,
    Goods issue date ,
    Billing date.
    In your question you didn't mension what differences you need
    Eg:
    Sales order creation date - Delivery date
    Goods issue date - Billing date
    Sales order creation date - Billing date
    Delivery date - Goods issue date
    Like what combination you need?.
    Steps:
    Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
    Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
    See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Sales Order Item Data & Sales Order Schedule Lines

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10  
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15  
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000 
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000  
    Many thanks,
    Matt

    Hi Matt,
        Its no possible If you are maintaining data at Order Level.
    Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
    Hope it Helps
    Srini

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

  • Create a report to show changes in Sales Order Due Dates

    Hello all,
    I've recently started using SAP Business One 8.8 and I want to run a report to show a list of Sales Orders with the original Sales Order Due Date, and the New Date that it has been changed to. What is the best way to create a report to show me this?
    thanks
    Leigh

    Hi Leigh.......
    Try this......
    Select T0.DocNum, Max(T1.UpdateDate) 'Last Update', T0.DocDueDate
    from ADOC T0
    JOIN ADOC T1 on T1.DocNum = T0.DocNum AND T1.ObjType = '17'
    where T0.ObjType = '17'
    Group By T0.DocNum, T0.DocDueDate
    Regards,
    Rahul

Maybe you are looking for

  • Can't view Microsoft Access data

    Hello, I am trying to use a Microsoft Access database (97) as a data source for my repository. I can import it in the Administration Tool and see all the tables. When I finish my repository the global consistency is without errors. Then I go to the A

  • Deliver IBOTS to Dashboard page instead of Alert

    Hi Friends, Can we deliver IBOT reports to Dashboard instead of Alerts. Reason - We are creating report by using Direct Database Connection and that report hasto run everyday morning and display report out as message on the Dashboard home page. Let m

  • URLDecoder / URLEncoder don't like non-ASCII, even with UTF-8 explicit

    Here's my code: import java.net.*; import java.io.*; public class Decoder     public static void main(String[] args)      if (args.length != 1) {          System.err.println("Usage: Decoder UTF-8-URL-encoded-string");          System.exit(1);      St

  • Different Payement terms & Incoterms

    Hi friends I have 2 orders with respective deliveries. Payment terms and Incoterms are different from 1st order to 2nd order. Now can we get SAME INVOICE NUMBER for both the deliveries?? Urgent pleasee. Regards Ramesh

  • IDOC and Basic Type

    Hi Experts, I have a basic type that I will use in my IDOC with no process codes(attached FM) that will create a document (e.g. orders, deliveries)... and I have found out a BAPI that I can use in creating the document.. the question is.. do I still