Search found 606 matches

by jyoung
Tue Mar 19, 2019 3:29 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 1270

Re: VLF-ONE Merging Frameworks

Hey Balaji, By Commands, you mean new command definitions right? Not Command Handlers / Filters. In this case, all the command are already in the framework ( the handlers are not). When I try to merge JUST the Business Objects BEFORE the Application, the Merge Tool does not know what their parent is...
by jyoung
Sat Mar 16, 2019 3:01 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 1270

Re: VLF-ONE Merging Frameworks

This bit me in the behind yet again. This happens after using the MergeTool. Capture.PNG I added the Application (without the Objects) to avoid the previously mentioned issues. Then added the Objects to the newly created Application. Initially everything looked ok, until a coworker checked it out an...
by jyoung
Wed Mar 13, 2019 1:19 am
Forum: Questions & Answers
Topic: VLF ONE #PRIM_MD.Input caption styling
Replies: 5
Views: 147

Re: VLF ONE #PRIM_MD.Input caption styling

I would like to know how to do this as well. I find Theme customization super confusing. Between the ThemeCustomizer(VF_AC033O), VLWeb(PRIM_THM) and the Framework itself, its hard to know which to use and when. EDIT You can change the caption color with capture.png But I can't figure out how to do i...
by jyoung
Sat Mar 09, 2019 1:29 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 130

Re: Decimal / Percent Conversion and Display

Ahh, I thought it may be a javascript thing. I submitted a support ticket because it was driving me crazy. I'll add your info to it. It dawned on me late last night, that I can do the conversion on the server and avoid the issue. Management is concerned that a user may mis-enter a decimal point whic...
by jyoung
Fri Mar 08, 2019 8:40 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 130

Re: Decimal / Percent Conversion and Display

Put this in a server module begin_com role(*EXTENDS #PRIM_SRVM) srvroutine name(Get) field_map for(*OUTPUT) field(#BPU1) #BPU1 := 1.14 endroutine end_com Then this in a web page begin_com role(*EXTENDS #PRIM_WEB) theme(#SYS_THEME<MaterialDesignBlue>) define_com class(#BPU1.EditField) name(#BPU1) dis...
by jyoung
Fri Mar 08, 2019 8:32 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 130

Re: Decimal / Percent Conversion and Display

Response from the server shows the right values.
capture4.PNG
capture4.PNG (15.87 KiB) Viewed 115 times
by jyoung
Fri Mar 08, 2019 8:29 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 130

Re: Decimal / Percent Conversion and Display

In this instance CurrentBPU1 should not be relevant. It is used in a diff calculation later. It is defined as a reffld of BPU1 define field(#CurrentBPU1) reffld(#BPU1) BPU1 & 2, wk_Percent1 & 2 are the only fields displayed. From your MESSAGE_BOX_ADD, I assume you are using VLWIN, whereas I am in VL...
by jyoung
Fri Mar 08, 2019 7:15 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 130

Re: Decimal / Percent Conversion and Display

That was going to be my next move. I was trying to avoid it as when the user enters a value, I am going to have to do some checking to ensure only numbers are entered. Easily enough done, I was just wanting to avoid it if I could. The calculation should not require rounding. When I tried it with the...
by jyoung
Fri Mar 08, 2019 5:58 am
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 130

Decimal / Percent Conversion and Display

I have two fields (BPU1 and BPU2) that are a signed(7,6). For display and data entry purposes I need those fields to be a whole percent. To do so, I have created a new field (wk_Percent1 and wk_Percent2) both of which are int(4). I calculate the percentage using wk_Percent1 = BPU1 * 100 so that .140...
by jyoung
Wed Mar 06, 2019 1:09 am
Forum: Questions & Answers
Topic: Ancestor fields in group_by and def_list
Replies: 6
Views: 180

Re: Ancestor fields in group_by and def_list

This is been accepted as a correction to be released in a future EPC.

Thanks,
Joe
by jyoung
Sat Mar 02, 2019 5:15 am
Forum: Questions & Answers
Topic: Object Equality
Replies: 2
Views: 84

Re: Object Equality

That is what I was looking for.

Thanks!
by jyoung
Sat Mar 02, 2019 2:36 am
Forum: Questions & Answers
Topic: Object Equality
Replies: 2
Views: 84

Object Equality

If I define an object as such function options(*DIRECT) begin_com role(*EXTENDS #PRIM_OBJT *LISTFIELDS #ListFields) group_by name(#ListFields) fields(#HVBTC #HVPLCN #HVPLD #wk_Bool1) define_pty name(TypeCode) get(*AUTO #HVBTC) set(*AUTO #HVBTC) define_pty name(ControlNumber) get(*AUTO #HVPLCN) set(*...
by jyoung
Sat Mar 02, 2019 2:07 am
Forum: Questions & Answers
Topic: Ancestor fields in group_by and def_list
Replies: 6
Views: 180

Re: Ancestor fields in group_by and def_list

Done. I'll post their response when I hear back.

Thanks,
Joe
by jyoung
Fri Mar 01, 2019 2:15 am
Forum: Questions & Answers
Topic: Ancestor fields in group_by and def_list
Replies: 6
Views: 180

Re: Ancestor fields in group_by and def_list

In the ancestor, they are just fields so I can add them in the group by Here is a test of the ancestor (TestBasePanel) function options(*DIRECT) begin_com role(*EXTENDS #PRIM_PANL) DisplayPosition(1) Height(270) Left(0) TabPosition(1) Top(0) Width(500) LayoutManager(#Layout1) define_com class(#PRIM_...
by jyoung
Thu Feb 28, 2019 2:58 am
Forum: Questions & Answers
Topic: Ancestor fields in group_by and def_list
Replies: 6
Views: 180

Ancestor fields in group_by and def_list

If I define a component that has three fields in it. begin_com role(*EXTENDS #PRIM_PANL) displayposition(1) height(270) left(0) tabposition(1) top(0) width(500) layoutmanager(#Layout1) * ================================================================================ * LAYOUT * =====================...
by jyoung
Wed Feb 27, 2019 1:35 am
Forum: Questions & Answers
Topic: Questions about Publish RESTful Web Services
Replies: 1
Views: 93

Re: Questions about Publish RESTful Web Services

Docs are pretty lacking at the moment. This topic may be of help some if you have not found it. https://forum.developer.lansa.com/viewtopic.php?f=3&t=1915&p=5089 Regarding the debugging, you can debug, but not like you are probably used to. I got this trick from Support while tying to debug my own s...
by jyoung
Sat Feb 16, 2019 7:25 am
Forum: Questions & Answers
Topic: Importing IBM i Duplicate Fields
Replies: 3
Views: 121

Re: Importing IBM i Duplicate Fields

Hey Chad,
Good to know. I was concerned I was going to have to something odd, because I could not find any indication of how the field RPU001 gets mapped back to RPU on the iSeries. I guess this is something that LANSA just knows and not something we see.

Thanks for the help.
Joe
by jyoung
Sat Feb 16, 2019 3:31 am
Forum: Questions & Answers
Topic: Importing IBM i Duplicate Fields
Replies: 3
Views: 121

Importing IBM i Duplicate Fields

This is my first experience with this type of situation and I would like to know more about how this works and if I am being setup for some issues. We have a File on the IBM i that I previously imported that contains a Field named RPU that is a Decimal(15). I just imported another File that has a Fi...
by jyoung
Fri Feb 08, 2019 9:28 am
Forum: Questions & Answers
Topic: Detecting Record Lock
Replies: 5
Views: 185

Re: Detecting Record Lock

Digging through the docs and I found the *DBMS_RECORD_LOCKED System Variable. https://docs.lansa.com/14/en/lansa015/index.htm#lansa/ladtgub4_0115.htm On the the surface this appears that it could be the answer. The docs https://docs.lansa.com/14/en/lansa015/content/lansa/specfilklists_2.htm use it a...
by jyoung
Fri Feb 08, 2019 8:20 am
Forum: Questions & Answers
Topic: Double click on list can't show loading image
Replies: 8
Views: 221

Re: Double click on list can't show loading image

Are you using Execute or ExecuteAsync in your call to the Server Module? If you are doing it synchronously (using Execute) then the browser will lockup and you will not see the image. Your example with the large loop, is simulating a synchronous execution. If you are using an async solution (Execute...