Writing additional charges in Order

Hi,
I have to write additional charges in the Dialog Order (139) in relation to weight.
Some facts affecting the proceeding:
1)
The weight have to be sumed up iterative. So it is not possible to work with Formatted Search and I have to work over the UI.
Steps I finished already:
1)
Activating the devilery-costs in the settings of Order. The Form "dumps" is available over a linked button.
The column 3 is the column that takes the amount and sends his value to the textbox additional charges.
2)
A program that reads all the values I need to determine the value of costs out of a UDT
the following steps I tried:
1)writing in the matrix of dumps
this.form = null;
this.form = this.sboConnection.getSBOApplication().Forms.GetFormByTypeAndCount(3007,1); //formType = 3007
this.matrix = (Matrix)this.form.Items.Item("3").Specific;
this.editText = (EditText)this.matrix.Columns.Item("3").Cells.Item("1").Specific;
this.editText.Value = amount;
problem: the program drops out when I try to initialize the form
2)writing to the textbox additional charges in form Order
this.form = this.sboConnection.getSBOApplication().Forms.GetFormByTypeAndCount(139,1);
this.editText = (EditText)this.form.Items.Item("89").Specific;
this.editText.String = amount;
problem: I cannot set the value, I because the item disabled. When I try to enable it the program drops out.
The table for the charges is OEXD. But the only value that affects the corresponding cell or textbox is fixed amount.
The Order- Dialog gets it, when it is loading.
Maybe somebody has a hint for me.
I will appreciate it.
Marc

From my point of view, i would suggest to use the DI-API,
access the Document-Object (and the Document-Objects
child, the DocumentsAdditionalExpenses-Object) after
the order is saved.
But I suppose you would like to add the Additional Expenses before the order is saved,
so the user who wants to save the order can see the additional costs
and decide whether to save or not?
According to the Manual, Additional Expenses must be defined.
(Administration-> System Initialization-> Document Settings, General Tab->
Define Expenses button)
By DI-API, use the AdditionalExpenses-Object, in VB6 something like
Dim objAddExp As AdditionalExpenses
Set objAddExp = vCmp.GetBusinessObject(oAdditionalExpenses)
'// set needed properties here
objAddExp.Add
1)
"UI-API-Clicking" Item 91 will open the Expenses Window
with type 3007 (I think thats what you do at the moment).
Hm, you get the handle to the window GetFormByTypeAndCount..
> problem: the program drops out when I try to initialize the form
What do you mean with: the program drops? When you call GetFormByTypeAndCount?
Maybe you are to early with GetFormByTypeAndCount and should Sleep() and DoEvents or
something until the form is loaded?
Personally I would try to store the "new" Expenses value somewhere,
react on the FORM_OPEN, fill the remembered value to the matrix
and UI-press Item 1.
This way you don't need to have a reference from the order form to the expenses form
or the other way arround, the expenses form is modal, anyway.
2)
According to the UI-API manual, you can't enable system items.
Message was edited by: Frank Moebius

Similar Messages

  • What is the additional charge on our bill?

    My son had his mobile phone for one month and it dropped out his pocket while working and it was destroyed.  We had insurance on the phone and ordered another phone but this month there is a $199.00 charge under the One-Time Charges, and the description says "Standard Insurance Deductible".  My understanding was that lost or damaged phones was covered under the insurance that we had taken out.  Why is there this additional charge on our bill?

    The phone was covered under insurance but you still have to pay the deductable for the insurance which is 199.99.   Its better than paying the full 650+ for a new phone.

  • Additional Charge on CC different than Receipt

    Hello.
    I recently made a purchase from BestBuy.com. I received an email confirmation with the total amount of the purchase, as I expected it to be. But then, when I looked at my credit card statement, I saw the expected charges AND another charge of a smaller amount. When I called customer service, they couldn't explain why there was an additional charge, they just kept saying that it was part of the cost of the item that for some reason wasn't included in the original charge. When I kept saying I had an email confirmation that said otherwise, the customer service manager was befuddled. He was unable to find the email confirmation that Best Buy sent me, and he declined my suggestion that I forward him the email that I had in my inbox. At the end of the day, I was on the phone for almost an hour and he was unable to help me. I was going to dispute the additional charge thru my bank, but wanted to at least reach out one more time to Best Buy to see if there is anyone who could help me. I can give you all my order details upon request. Thank you.
    Sincerely,
    James [removed per forum guidelines]

    Hello James,
    As I typed that I unconsciously read it in my head with a British accent, which made me feel like I was someone from MI6 addressing James Bond. In all seriousness, I am sorry to hear of your possible charge discrepancy with your recent BestBuy.com order. Any confusion you may have experienced is totally understandable. I would be glad to look into this for you further.
    Typically, the only time you may see the price you were charged differ from what your order confirmation email showed, is if the sale price of your item dropped before at the time it shipped or when you picked up the item in store. More information on this can be found here.
    In order for me to research this for you more, I have sent you a private message to obtain some information regarding your order. To check your private messages, click on the envelope in the upper right-hand corner while you are logged into the forums.
    Best regards,
    JD|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Freight Conditions not populating on free of charge sales order deliveries

    I need some assistance, please.  I have searched SCN, but have not been able to find a solution to my problem.
    We need to be able to charge freight charges on Free of Charge sales orders and am not able to get the charges to populate in the delivery.  We send the product for free, but sometimes need to charge the customer shipping charges.
    Below are steps I have completed:
    Created custom header condition of ZFRC
    Added to sales order pricing procedure as a manual condition
    (the charge will be updated from external system)
    Created Delivery Pricing procedure containing only my
    freight conditions (also manual condition)
    VTLA settings for item category KLN (free of charge item):Condition Order requirements – 1 Header
    VTFL settings for item category KLN:
    Pricing Type – D  Copy pricing elements unchanged
    Price Source – E  Delivery/Order
    There are times when the freight charges will be added to the sales order, but I also need to be able to add them directly on the delivery.
    When charges are added directly to the sales order, they will flow thru to the invoice without an issue, but when I try to add at the delivery level, they are not populating, which results in $0 invoice.
    I am not receiving any kind of error messages when trying to add the charges.
    We also have this situation with standard orders, but I am not having any problems with it.  I tried to mimic that set up for free of charge orders, but it is not functioning properly.
    Any assistance would be much appreciated. 
    Thanks!

    Hi Amitesh,
    Yes, the condition type used in the Sales Order is the same, ZFRC and it is also a header condition. 
    The condition analysis is not available in the invoice because there is no condition in the invoice.  Below are screen shots of the analysis from the LINE ITEM of the delivery note (there is not analysis available on the header) and the header details of the conditions from the invoice and the delivery.
    Line Item Analysis:
    Delivery Header Details:
    Invoice Header Details:
    Please let me know if you need further information.
    Thank you for your assistance!

  • COGS Detemination for Free of charge sales order

    Hi,
    We have created a Free of Charge sales order. And after creating this Free of charge sales order, one material is not being charged to COGS. I have already checked GBB VAX in which GL Accounts regarding FI postings are assigned. Can any one please help me in this situation how to make it possible. Please its very urgent requirement.
    Thanks
    Uday

    Hi,
    check whether the material created for the material type is valuated material or not.In the material type configuration check whether the valuation check box has been activated or not.
    regards,
    Saju.S

  • Free of Charge Sales Order to GTS

    All of our sales orders pulls over the price into GTS for license assignment; except for one sales order type.  This sales order type is for FOC sales orders. 
    I have checked the sales order type in the R/3 and the GTS system and it is listed. 
    Anyone have a clue why this particular order does not work with GTS

    It states the following: all green
    Performance of service: legal control
    Active legal regulations found for determination procedure "LELDT"
    Check legal regulation "EAR"
    Country "KR" determined as relevant partner country
    Run Import/Export License Type Determination
    Check objects for determination procedure ZCTY1 found
    Determination of Import/Export License Type at Country/Control Class Lvl
    Check legal regulation "ITAR"
    Country "KR" determined as relevant partner country
    Run Import/Export License Type Determination
    Check objects for determination procedure ZCTY1 found
    Determination of Import/Export License Type at Country/Control Class Lvl
    This is a free of charge sales order...no charge to customer but needs the value for the customs document and needs to depreciate and it is not.

  • I cannot download an app from the app store, it keeps loading until it says "You have already purchased this app so it will be downloaded no at  no additional charge", and then it prompt for password and I input it after which nothing happens.

    I cannot download an app from the app store, it keeps loading until it says "You have already purchased this app so it will be downloaded no at  no additional charge", and then it prompt for password and I input it after which nothing happens.
    I know my icloud has record of my installing this app before, but that was the first install that was failed during that time some other apps also keeps loading without respond whey they updated itself, and this app didn't install before I restart the device. But I don't see this app on my device after I restarted the device so it should have been installed on my device. It seems icloud has created some kind of dead loop that makes it not able to get the correct status about this app on my device.
    I have no problem install this app on my other device (iPad) with the same account, but just fail on my iPhone. And it just fine installing other apps...... What happened !!?? @@
    Please help !!! 

    Someone help! I dont know how to do this and please put the words into an easy way to understand because im young...

  • How to add estimated additional charges to PO lines

    Hi all,
    As a business need I want to add estimated additional charges to PO lines like bank expenses, transportation and misc duties.
    it was available with process manufacturing inventory items by using aquisition cost window.
    But, how could it be applied with discrete inventory items??
    if anyone has a solution plz advise.
    Thanks

    Dear Walid,
    There is no standard functionality available in Oracle to capture the Estimated Additional Charges. You have to create a custom component for this....
    Regards
    Merlin Rajesh

  • Additional Charges for transportation.

    We use transportation management for our shipments to and from the DC and within stores.
    There is a new requirement to add some additional charges to the some of the shipments. I am trying to understand what is the best way to implement this.
    During the winter months, for some of the transportation there is additional changes such as heated transportation so there will be heat charges added to the normal transportation rates in the cost document. This could be a fixed value or percentage charge.
    I am thinking of creating new special processing indicatior and making them same as the existing ones but with the added heat charge.
    Is that the best option or is there another way.
    I am really looking for a solution for this...

    Thanks for the reply Mike.
    I would like to propose different options to the client.
    I am thinking setting up as condition (through TK11/TK12 for the combination of Porg, service agent and special processing indicator) is required as they dont want to add this in each document all the time. So I was thinking of creating a new special processing indicator, setting up the conditions for then and just adding this to the stages in the shipment doc.
    I like the idea of making this come up for a certain date or period. How can you make that happen?
    Is there any other option other than the conditions/special processing indicator. Like I said for some forwarders this is % based and for some it is fixed value for a certain KM.

  • Is there any additional charges texting a person in Canada if I have unlimited texting?

    Hey everyone,
    I have a phone plan with unlimited texting, and I feel if I contact Verizon they're just gonna give me a super confusing answer. I was wondering if it cost any extra money to text a person's phone in Canada if I live in the United States (Wisconsin) and I have unlimited texting. Some results on this site say no, other's say yes.
    I just want a clear, clean cut answer of "Yes, it will cost extra to text a Canadian person if you live in the US and have unlimited texting." or "No, it won't cost extra to text a Canadian person if you live in the US and have unlimited texting."
    Thanks!
    Hunter

        pugsarecool,
    Help has arrived! What exact plan do you currently have? Is it a Nationwide or More Everything share plan?
    In most cases, text messages sent from the United States to Canada are covered at no additional charge as long as you have the unlimited text message plan.
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • When I click on the iCloud icon it says that it will download without additional charge because I've already purschased it but after that it goes back to the icloud icon and doesnt download. How can I download it?

    Im having trouble downloading the iMovie app on my iPad. When I click on the iCloud icon it says that it will download without additional charge because I've already purchased it(I did purchase it) but after that it goes back to the icloud icon and doesnt download. How can I download it?

    Hello bianca,
    It sounds like you are trying to download a previous purchase to your iPad but the item never downloads. I would recommend starting by closing all the apps that are running in the background.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that, sign out of your iTunes account in Settings > iTunes and App stores, and restart the phone and try again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would next backup your device to iTunes, and restore it:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I tried to install the Watch ABC (a free app) on my iPad from the AppStore. It would not download. I attempted to install it a second time, and got the message "You've already purchased this, so it will downloaded now at no additional charge." Any advice?

    I tried to install the Watch ABC (a free app) on my iPad from the AppStore. It would not download. I attempted to install it a second time, and got the message "You've already purchased this, so it will downloaded now at no additional charge." Any advice? This is a fee app so I do not understand the message referencing a purchased app. I get the cloud symbol, but it will not download. I closed the App Store app and restarted my iPad, but to no avail. Any assistance would be greatly appreciated.

    You are aware that there the app may have downloaded and been placed on the second screen.  Not the main one.  Can you swipe to the right to see if it is there?

  • HT1807 how do I make sure to encounter charges for roaming but still use my phone on wifi?  I have viber app and would like to message also without additional charges.  Is there a setting I need to hit to ensure this?

    Travel internationally and use my ipohne with wifi, how do I make sure to avoid charges for roaming but still use my internet and messaging on wifi?  I have viber app and would like to message also without additional charges.  Is there a setting I need to hit to ensure this?

    Settings>General>Network>Roaming>Data Roaming>Off. If you really want to be absolutely certain, Settings>General>Network>Cellular Data>Off.

  • Additional charges in contract billing

    Hi friends,
    We have a scenario where a billing is done with reference to a value contract.So the target value is given in the contract and accordingly with sap standard when a billing is done the invoiced value is deducted from the target value.
    Now during billing at times we have to charge some additional charges to the customer based on the requirement for ex: detention charges/mobilization charges etc. But this charge is also getting deducted from the contract vaule which in our case cant be finalized and added to contract value during creation of contracts as these charges are variables and not constant charges.
    So please suggest that these charges should not get added to the contract value in turn reducing the contract value when billing is done.
    Thanks
    AJ

    hello Friends,
    Any Suggestions?otherwise i have to close this issue
    AJ

  • Will there be an additional charge if I turn on the hotspot feature on my iphone4s?

    My iPhone4S has the availabilty to act as a Hotspot. I know how to enable this, but will I incur any additional charges if I do?

    Depends on your plan. Some plans include the mobile hot spot.
    Others do not. Post the name of your plan or just look it up at Verizon Wireless web portal.
    If its not included you can add it for a cost of $30 for 2GB.
    on my account it was $20 for 2 GB but that price is no more.
    Good Luck

Maybe you are looking for

  • Menu, Nav, Favourites and Toolbars are not displaying.

    Heres a screen shot of Firefox on my computer - [http://i.imgur.com/meaTv.jpg http://i.imgur.com/meaTv.jpg http://i.imgur.com/meaTv.jpg http://i.imgur.com/meaTv.jpg] of Everything at the top. No Bookmarks bar, nav bar, toolbars, nothing. I was trying

  • Update required

    I have a table accounts and the data looks like: accno     cname     startdate     enddate 1     Tom     01-jan-201     null 2     Tom     01-aug-2011 null Based on date,automatically new account number will be generated for the same customer. Manual

  • Error DW041: installdir Volume H:/ does not exist

    When installing Dreamweaver above mentioned error pops up and cancels the installation. The installation drive is C:program files (x86). Where does H:\ come from? How to solve this?

  • RE:Web dynpro in ABAP

    Hi all, What is the use of component controller,custom controller and interface controller.In wht senarios we use them.Also please explain about its visibility with other components.. Regards, Alex.

  • Error when inserting into a table

    Hi, I am running this insert stmt SQL> insert into cntct select * from CUSTSRV_ADMN.cntct_bk1; ERROR at line 1: ORA-01733: virtual column not allowed here Below is the table structure. SQL> desc cntct; Name Null? Type CNTCT_KEY NOT NULL NUMBER(10) CN