The client would like to configure an export feature for all packaged images. It would be very helpful for them to be able to see all the PNG / JPEG files on a singular document.
Our Solution
To make all images of a package in one file while exporting can be possible through customization.We will create a button in the Assembly item record and on Clicking the button the BOM components corresponding to the latest revision will be printed as pdf.
Proposal summary
The proposal describes the process of setting the bulk export of item images. On clicking the Export button in the item record, item component images will be shown in a page.
Requirement
Graph Tech Guitar Labs would like to implement customizations in the item record to export the component images in a button click.
Our Solution
The requirement can be achieved by adding a custom button in the Assembly item record and on clicking the button the corresponding bill of material component images from the recent BOM revision record will be printed.
In the NetSuite standard, we are unable to generate the image of bill of material in a button click. This can be achieved by adding a custom button named Export Image in the Item record for exporting the bill of material images. On clicking the button, the custom script will generate image file which contains all the component images of the recent bill of material.
“Export Image” Button in the Item record.
We will be implementing a custom button named “Export Image” in the item record for exporting images. When the user clicks on the button, the images will be shown in a new page. The customization will fetch the image that we have set in the component image column in the BOM revision record and convert them to PNG / JPEG files.
Field Customization.
Item Record
We will create a custom field in the item record to store the images. It can be added at the time of item creation or at the time of item update. The ability to view images is controlled in the folder settings. So the images should be added in the file cabinet with permission Available without login. T We can set it as Available without login in the file cabinet.
Bill of Material Revision Record
We will be creating a custom column field on the bill of material revision page. This custom field will automatically source the data from the custom field that are set in the item record.
On clicking the button, the components images that are stored in the Bill of material Revision Page will be shown in a new page. As a part of initial set up we will be updating the custom image field in the item record. Then we will source the data from the image field to component image field in the BOM revision record. After clicking the button, the images will be shown in a new page.
Assumption
- We will assume that the custom image field contains the item image
- We will assume that the custom image contains the image at the time of printing.
- We will assume that the item contains only a single image.
- All the images will be stored in the file cabinet with Available with out login checked.
Risks
- Components having the component image in the BOM revision record will be used for printing the image.
- We will consider the latest bill of material revision record of an assembly item.
- We will be implementing the customization for Assembly items only.
- We will be providing a separate page containing the image file
- The file will be in JPEG format
- All the images will be stored in the file cabinet.