This topic contains 6 replies, has 0 voices, and was last updated by k_dunc 8 years ago.

  • Author
    Posts
  • #23595

    jaky426

    I have build a new custom item records with Item Image, the format is image. When I custom the transaction form, such as purchase order form, I custom the transaction records for the item image in Sourcing and Filter, But the it seem the transaction records don't have an option with " image " format. How can I do ? Do I have to code this function?

    Thanks for your help.
    This is a cached copy. Click here to see the original post.

  • #23596

    k_dunc

    You could try using an Inline HTML field, and set the default value to display the image file. That might work for you.


    jaky426 replied on 07/06/2016, 02:44 AM: Hi Kirk, thanks for you help. I am a new learner just for a few days. Could you kindly state more details.

    My problem now is how to write the code in the custom HTML field to read the according image for each item.

    Default Value๏ผš

  • #23597

    k_dunc

    Okay, try something like this: I'm guessing you've created an "Image" Type field where you allow your user to upload the Item image?
    If so, then in your new Inline HTML field, we'll need some sort of code in your Default box that then formats an HTML string that points to your image. Now I haven't tested this, but you'll probably need to enter something like:

    HTML Code:
    <img src=" || {custitem_storedisplaythumbnail} || ";>
    Replace custitem_storedisplaythumbnail with the ID of your actual Image field. I'm hoping something like that may work for you, or at least get you a little further.

    Let us know how you go.

    Cheers,

    Kirk.


    jaky426 replied on 10/20/2016, 05:17 AM: Hi Kirk, it still doesn’t work. Did you succeed before to show image in transaction forms, not in PDF print? Because my implementation company told me they didn’t do it before. Just make sure if they are honest.

  • #23598

    k_dunc

    Hi there,

    How exactly are you hoping to display these images? If I understand your question correctly, you want the image file to display in your transaction forms, as a custom column in a sublist – correct? As you say, you've created your own custom Item record type (any reason for this BTW?), therefore, I'm guessing that in your Custom Transaction Form you have added a Custom Transaction Column Field linked to your Custom Item record? So once the user selects one of your custom Items, you want the image of that Item to display in another Custom Transaction Column Field? Is that correct?


    jaky426 replied on 11/01/2016, 11:09 PM: Hi Kirk, I explained my idea within #5 below, thanks for your help.

  • #23599

    jaky426

    Hi Kirk,

    I think your understanding is correct. First, I have custom item record for item image with "image" format. I can see item image in the item page. Please see the first attached picture.

    Second, the question, as another attached picture of purchase order, how to insert a Custom Column to show item image in item line, after item number.

    I have marked red circle and red "item image" to show where I want to put. I hope the image is automatically loaded according to the record of " Item Number".

    Thanks very much!

    Jackie

  • #23600

    sterlingr

    We have a custom field that will source the data on the item record view and on the printed forms. However, I wasn't able to use a formula field to get the image for what you're requesting on the transaction entry page.

    The thing is the HTML field doesn't display in edit mode but you might be able to use a text-field and a user event script to set the on save. That would show it in view mode but still not in edit.


    sterlingr replied on 11/04/2016, 10:09 AM: That was a mistake on my part. I meant HTML not visible in edit mode, only in view. Were you able to get the images to show in view with a formula? I tried a couple last night but I was tired and didn’t try again this morning.

  • #23601

    k_dunc

    Hi jaky426, yes, that would have been my misunderstanding initially with your question regarding my suggestion to use the formula. I was thinking that the image was to be used within the record type itself and not within an actual Custom Transaction Column – sorry about that. To populate a Custom Transaction Column in such a way, you would need to write a script.

You must be logged in to reply to this topic.