Hello Experts,
I have customized the supplier maintenance screen for our new requirement. I have to store given text box data to a UD table i.e. UD03. I have created a Dataview for UD03 by keeping parent view as vendorDetails and vendor,vendorID= UD03,key1. Custom field bind to the UD03.character02 filed. **But while inserting the data, it is not going to the UD03 table. Am i missing something ? ** or this dataView is pure view so i only read from it ?
i am new to the UD tables…n doing this type of customization for first tym. I am confused about , if the custom field should be set EpikeyFiled- true / False ?
The configuration screenshots are attached below… 1.Custom Screen
We have some set up use EpiCombo Box. This is what that looks like.I will see if we have one that is just a text field. Most of our text fields are just normal epi binding to a custom field.
It sounds like you might want to add UD03 as a child of the Vendor table?
i.e. each supplier record, you might have many UD03 records (notes)?
If so, have you experimented with the Customization Wizard(s) yet?
Menu → Tools → Wizards → Customization Wizards → “Add User Defined Table As Child”
This wizard adds the basic code for you. Even if it’s not exactly what you want, might help as an example.
@bordway: As i said in initial que.n, I have added a child UD03 table with the parent table VendorDetail and vendor.vendorID= UD03.key1. The code for adding/updating records also auto updated in C# code. All is seems correct. But when i try to add a record ,its not getting updated in UD03 table…If i bind this custom field to vendor.character01, its working fine… which thing i missing ???
Thnks Troy,
I have tried with your trick at today morning with New UD03 Menu item. it has just stored the key1,key2 values, but not the linked field value for UD03.Character1… and one more thing…it is allowing duplicate entry for same vendorIDs.
Thanks
Note:
You have linked the UD table to the Vendor detail. The combination of the Key columns is what makes the record unique. so while yes it creates another record linked to that Vendor ( because you have clicked NEW UD03 again ) .
Please re-check your solution and see if you missed a step as it should have saved to the UD table character01 or maybe start a new customization?
I don’t know what you are trying to achieve here ultimately. However, I believe this solution will work as stated and yes create multiple records against 1 vendor if you create such. but note Key 5 is incremented distinguishing the two.
Why are you using the UD table and not a ud field on the Vendor table?
Maybe you need to revise your solution to address whatever issue you are facing?