on 06-30-2015 12:38 PM
How to make a mandatory field in Po draft ????
Can any body guide me
Regards,
K.Ramasamy
Hi,
Change object type to 112 in above code.
if @transaction_type = 'A' and @object_type = '112'
begin
if exists(select T.docentry from OPOR T where T.docentry =@list_of_cols_val_tab_del and
(T.comments is null or T.Comments=''))
begin
SET @error = 17
SET @error_message = N'Please enter value, field cannot be blank'
end
end
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Table Name changed to draft table..
if @transaction_type = 'A' and @object_type = '112'
begin
if exists(select T.docentry from ODRF T
where T.docentry=@list_of_cols_val_tab_del and
(T.comments is null or T.Comments=''))
begin
SET @error = 17
SET @error_message = N'Please enter value, field cannot be blank'
end
end
Regards
Kennedy
Not yet but I done an alternate method...While selecting the Taxcode the Fms will update in the field .. So this is the solution I made instead of restricting using stored procedure.. So the field will not be empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the Response kennedy , nagaraj , bhusan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Close the Thread with the correct and helpful answers
Regards
Kennedy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
first, I would customize the field label and I would change the style to bold. I would do this in all fields I want to be mandatory.
Second, you can use the Transaction Notification to check if all mandatory fields have value; or you can use SDK.
Kind regards.
Agustín Marcos Cividanes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramasay,
Please find the below query for your requirement.
if @transaction_type = 'A' and @object_type = '22'
begin
if exists(select T.docentry from OPOR T where T.docentry = @list_of_cols_val_tab_del and
(T.comments is null or T.Comments=''))
begin
SET @error = 17
SET @error_message = N'Please enter value, field cannot be blank'
end
end
Please change comments with your desire field.
Regards,
Bhushan Verma
You can Use the Transaction Notification ....
Rgds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.