Order total during checkout

Hey All,
Can anyone tell me how I can use the Order object that I retrieve on the base pages to overwrite the total that netpoint is using during the checkout? I want to have my calculated total that is displayed on each checkout page and used in the order that is saved into the database.

Hi Curtis,
NPOrder.Calculate() should be used to update order totals.  This method applies shipping, handling, taxes and sets subtotal and grandtotal.
You should try to use this or you may end up with rounding problems or the dreaded negative discount.
If you need to change prices on lineitems, do so you can get the lineitems with NPOrder.OrderDetail.
NPBasePage bp = (NPBasePage)Page;
NPOrder o = new NPOrder(bp.UserID, bp.SessionID);
foreach(OrderDetail od in o.OrderDetail){
   od.PurchasePrice += 100000000000000000;
   od.Save();
o.Calculate();

Similar Messages

  • Purchase Order Total Amount at Header level and Report Execution

    Dear Experts,
    Here by i am facing problem with Purchase Order Total amount.
    I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The total PO Price is including all items in PO and tax amount. But at header level conditions net value is showing only gross price.
    How to pick up total price including tax amount at header level conditions?
    Please provide me solution on it ?

    Dear Experts,
    Here by i am facing problem with Purchase Order Total amount.
    I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The total PO Price is including all items in PO and tax amount. But at header level conditions net value is showing only gross price.
    How to pick up total price including tax amount at header level conditions?
    Please provide me solution on it ?
    Edited by: Kiran Mujumdar on Feb 23, 2009 7:08 PM

  • Sales order Total = Zero (0) No Sales order Lines

    Hi,
    Is there any possibility to accept Sales order Total = Zero (0) - No Sales order Lines for a specific customer?
    I assume it should be a parameter in SBO somewhere...
    Thank you,
    Rune

    Hi Rune,
    i think there's no parameter for this.
    Link
    "You cannot have a Sales Order without items unless it is a Service Invoice"
    regards
    David
    Edited by: David Nussböck on May 3, 2008 1:15 PM

  • Transaction code for sales order totals and purchase order totals

    Hi i am using alv grid report to display the sales order and purchase order totals by productline(profit center)
    Now i have to call standard transactions from first list to display the totals of sales order and purchase order.I have to display these transctions for specfic orders and their specfic lineitems only.
    in VA05n transaction it is allowing me to enter only the document numer but not item.
    Can any one help to find the standard transaction to display the totals for only specific orders and line specific line items

    Hi Polite,
    The transaction CRMD_ORDER is the superset for all the transactions mentioned by you. So it is better to remember just one transaction instead of remembring the subsets . Once you use the transaction CRMD_ORDER and then Follow the menu Business transaction -> Create (F5) you will get the list of transactions you can create this is nothing but the the transactions you have mentioned.
    If you know the transaction no. you can directly open that in transaction CRMD_ORDER. The other opetion is to use the SAP Menu instead of transactions.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

  • Billing due list missing order total amount

    The billing due list in VF04 doesn't show the order total dollars. What's some of the ways that you've delt with this? Custom report? Another canned report?

    Hi  Mark,
    Create a Z transaction for eg: ZVF04 with the help of abaper and you can define the input out screen as per your requirement.
    In standard transaction it is not possible .
    Regards,
    Krishna O

  • Assign Specific Payer To Respective Order Type During Spliting

    Hi All,
    Do anybody knows if there is a configuration which can assign specific customer number to the order type during spliting in DBM? Example; to assign customer # 123456 to order type 4000.
    Any advise?
    Regards,
    Ab Rahman

    Hi
    right now you are able to determine the pricing relevant partner in order type 4000 dependant on the Account assignment category.
    You find this under DB;_>Order_Account_Assignment _> Assign AccounT Assignment for Internal order
    If you do this you can say in case of inernal order against a cost center use customer number 1234 and so on.
    Than the pricing is ok.
    Never the less you still have to type in the Sold to party form the header.
    If you want to change this have a look at the screen for Warranty splitt.Here there is a different handling  I think the logic is somewhere in the screen.
    Best regards
    Stephan

  • User Exit to get Sales Order Number during creation

    Hi,
    I am looking for for an User Exit which provides Sales Order Number, during creation of Sales Order using transaction VA01.
    Please provide the Structure/Field Name.
    I tried USER_EXIT_SAVE_DOCUMENT. But, it seems it doesn't provide.Kindly help.

    Hi:
    Program : MV45AFZZ
    search for USEREXIT_NUMBER_RANGE.
    BR,
    Manthana

  • Question, the 18 months financing with order total $429 and above. Is it before or after tax?

    Question, the 18 months financing with order total $429 and above. Is it before or after tax?

    Hi Hoan,
    Kst8no1 is spot-on here: your purchase would need to total $429 before sales tax is applied to qualify for 18-month financing. Full details on this particular financing plan can also be found here.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Stock levels going down even when an order is cancelled during checkout?

    Hi guys,
    I've been testing out the checkout and have noticed the stock levels are going down even though I'm abandoning the payment when it's processed through to PayPal. I'm used PayPal standard so no gateways. Any idea how I can ensure stock levels only go down when a product is ordered and the payment is actually completed?
    Thanks

    Your stock level will go down as soon as a product is added to the cart. As soon as one product is added then an order is made.
    It takes, by default, 24 hours for stock to return but under the eCommerce menu you can see "shop settings", you can change the amount of hours down to 1 hour for that.

  • Purchase Order total weight

    Hi Gurus,
    I am working on an enhancement to handle the total weight of the purchase order during creation.We need to validate with few custom fields in MARA table to handle small pack and large pack materials based on container group(ZCONGR) . Based on the materials quantity we need to calculate the total weight of the order and if it exceeds 50 tonnes then we need to trigger a warning message to the user who is trying to create.
    Please suggest me how can we handle this are there any enhancement where we can handle this requirement. Thanks.
    Regards,
    Sanjay

    Suggestion:
    Implement BADI ME_PROCESS_PO_CUST, put you logic in method PROCESS_HEADER.

  • Report on open sales order ,total sales

    Hello Gurus
    I am developing a report line item wise of sales order in which i need to get
    Suppose a sales order is created on 01.12.2009 for 1000 quantity
    billed quantity in december 600
    billed quantity in january     200
    1) total sales done against this SO line item wise.
    2) sales in this month againt this SO
    3)open order qty as 01.01.2010
    4)last day sales i.e from 01.01.2010 to 20.01.2010 the date of last sales against this SO
    so my output should be
    total sales = 800
    sales in this month =200
    open order qty as on 01.01.2010= 400
    please tell me the logic
    regards
    sphoorthi
    Moderator message - Please do not post your requirements and ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jan 20, 2010 10:47 AM

    Hi,
    I gather from your thread that the question is not to build a report on a MP yes/no but more on which MP.
    Depending on the reporting needs and on how well you are able to combine the 2 cubes in the new MP I would say go for the latter option so you have more control on this one MP (for example if you need to add something that is already available in cubes).
    However, when (future!) reporting needs could mean that characteristics need to be added to the report(s) and filtered on that are not in both cubes you will have major problems getting the data properly from new MP and you would be better off using the individuals MP's and combine the data in a workbook or in a web template giving more flexibility.
    So you need to really analyze the requirements and decide on the way forward. Keep in mind possible future requirements because for now it could seem these few fields could be enough but new requirements could directly give a problem.
    Hope this helps
    C.

  • Sales Order Report Showing Cost on the Sales Order & total invoice dollars

    I am looking for a report in SAP that shows you the Sales Order number, the cost on the sales order (NOT the average cost) the actual cost on the sales order detail line and then the total invoice dollars in month to date and year to date?
    Thanks,
    Linda

    You can use <b>T.code: COOIS </b> if Product Costing has been configured for MTO scenario whcih gives the costing details.
    You can also use To.code: <b>KE30</b> if CO-PA implemented.
    but if you want to link with billing, Please search for any reports in Sales information system.
    One more you can create a ABAP Query Report using T.code: <b>SQVI</b>
    Regards,
    Anbu

  • Sales Order Total Weight

    Hi All,
    Can any one help me in this requirement like i want to get the Total Gross weight and volume of a Sales order how to get this
    for that i use this like i have taken all the weights and volumes for that line items of a particular sales order and need to add those weights for that what to dooo??
    and which is better to use like collect and Sum
    and is there any way to do this requirement
    Thanks
    Surendra

    Use COLLECT on the columns VBAP-BRGEW, VBAP-VOLUM.
    type : begin of ty_summ,
            vbeln type vbeln,
            brgew type vbap-brgew,
            volum type vbap-volum,
           end of ty_summ.
    data : it_summ type standard table of ty_summ.
           wa_summ type ty_summ
    loop at it_vbap into wa_vbap.
    move wa_vbap-vbeln to wa_summ-vbeln.
    move wa_vbap-brgew to wa_summ-brgew.
    move wa_vbap-volum to wa_summ-volum.
    collect wa_summ into it_summ.
    endloop.
    loop at it_summ into wa_summ.
    write :/ wa_summ-vbeln,
              wa_summ-brgew,
              wa_summ-volum.
    endloop.
    Regards
    Vinod
    Edited by: Vinod Kumar on Apr 14, 2010 2:05 PM

  • Sales Order: total weight inconsistency when using sales type BOM

    Hello!
      The case is as folows:
      I create a Sales Order, with one line. But this is a master item (sales type bill of materials), it has two components. That's why sbo puts two additional lines in the document. So this sales order will have 3 lines.
      The master item's weight is 10kg, the components's are 3kg and 4kg.
      If I press ctrl-W, the "Volume and Weight Calculation" window shows only the master item, and 10 kg.
      If I send the document to printer, i can see 17kg total amount.
      The layout uses "Sales Order:weight" to show the total amount, and it works well in other cases. But not in this one because every single item is taken into account, regardless of being the master or a component.
      I don't know if it is a bug, or we should use another field to display total amount.
      We might forbid to fill sales weight info for master items as well. This way the weight would be correct (because master weight is always the sum of its components' weight - unlike my sample above) But in this case the 'Volume and weight calculation" would be incorrect.
    Regards, Gergely Humicskó
    Edited by: Gergely Humicsko on Jun 3, 2010 2:58 AM

    Hello Gergely...
    You might want to post this on the SAP Business One Product Development Collaboration Forum as this sounds like it would definitely be an enhancement to SAP B1.  I have no idea if SAP looks at these or even does anything with the entries since they do not provide any kind of feedback, but maybe they might consider it one day...
    Take Care - Zal

  • Sales Order Total Weight Display in a report

    Hi All,
    Is there any way that i can display the total weight and Unit of weight of a sales order in a report. Please let me know all the possibilities..
    RV45A-BTGEW and RV45A-GEWEI are the technical names of the fields that i have to display..
    thank you in advance.
    Suresh

    Hi Suresh,
    After having selected the required fields and the corresponding values into an internal Table..
    do something like this..
    loop at itab.
    at last.
    sum.
    write : / 'TOTAL',itab-BTGEW.
    endat.
    endloop.
    the command sum adds up all the quantity fields..
    regards
    satesh

Maybe you are looking for

  • Abap run time error during se38 new program creation

    when i try to create a new program, I get runtime error and it says start_call_sick details: database inconsistency : start transaction SICK. TRIGGER LOCATION OF RUNTIME PROGRAM: SAPMSYST INCLUDE : SAPMSYST ROW 1.763 MODULE TYEP MODULE PAI MODULE NAM

  • Can fields on a form have an editor to expand....

    A co-worker informed me that in Oracle forms you can have a relatively large database field but display it on the form as a smaller field with an editor capability that will allow the user to expand the view of the field when displaying/modifying the

  • Premiere Pro CC Project File (.prproj) no longer XML?

    Hi, Does anyone know why the project file (.prproj) is no longer a readable XML file in PP CC? In earlier versions, you could open the project file in a text editor and read it as an XML file. In CC, it's illegible garbage. Is there a way to decode t

  • Music list icon

    Hi All, I've noticed this icon in my music list for songs that I have downloaded from the store. If I touch it the song dissapears [deletes]. What is this icon meant to do? Why is it appearing only on some tracks? How do I get rid of it? Thanks in ad

  • Purchased Recovery DVD has failed. not sure whats causing this problem please help.

    I replaced my old HDD with new one, and tried to use Recovery DVD i bought from hp support to install window 7 as it spose to be. But it keeps failing and asking me to retry (retried 6 times and failed every single time). P2PP BurnBoot Check Failed P