Skip to main content

How to add custom field "Supplier" in Lot batch master

Hi @carlyb17 ,

Please check whether the following link is useful for you.

https://docs.ifs.com/techdocs/foundation1/040_administration/220_user_interface/020_custom_objects/040_custom_fields/020_create_custom_fields/default.htm

Thanks & Best Regards,

Wimali


Hi @carlyb17 ,

I can assist you to create the custom field, but I need to know from where do you need to get the Supplier. What is the connection between the Supplier and Part in the Lot Batch Master window.

 


@carlyb17 Being in the window “Lot Batch Master “, for the records where the Order Type is “Purchase Order”  the value given in the field “order ref1” is the purchase order number as shown in below image.

 

 

In such situations, you can retrieve the Supplier Number using the following get method.

 

 purchase_order_api.Get_Vendor_No(order_no_) 

 

This will return the Supplier number, which is a Varchar/String Value.

 

You can follow the below RMB to add it as a custom field.

 

 

Hope this Helps.

/Sangeetha Jayamaha


@carlyb17 Further , the steps that you have to follow after clicking on the above RMB are as below screen prints.

 

 

Then the custom filed is added and you have to approve it and publish.

 

 

Once you publish it make sure that all the below check boxes are checked.

 

Then you can go back to the Lot batch master window and Reload configuration.

 

Then RMB on the Lot Batch Master Form and go to properties and make sure that the following check box is checked.

 

 

Then From the Layout tab, You can add the custom filed to the form.

 

Now if you close the window and open it again, You will see the newly added custom field as below.

 

 

Hope you will try this and get back.

Regards,

Sangeetha Jayamaha.

/


What would be the method to also display the Name of the Supplier?