Getting custom screen sample to work

 

lmazzucchelli's picture

Have tried this several times w no luck.
v3.5.1 postBooks, Linux

Can define layout using layout editor, but "warehouse group" will not stick when I save
the layout. Not there when I reopen.

Also, script does not seem to run when I press the query button on the form.
And, close button clears window but does not close it.

Clues? Pointers to doc other than out-of-date video?

jrogelstad's picture
User offline. Last seen 2 days 47 min ago. Offline
Joined: 12/10/2008
The warehouse group cluster

The warehouse group cluster is only operable in the commercial editions of xTuple where multi-site functionality is enabled.

lmazzucchelli's picture
User offline. Last seen 8 hours 42 min ago. Offline
Joined: 06/23/2010
Got that, now what?

OK, removed wharehose group selector, rewrote query and tested query in pgadmin.
Query seems to work there.

Am able to define custom form, and see custom form in response to modified menu.
However, script does not seem to be working.
"Close" button clears form window, but does not remove it from desktop.
"Query" button does nothing.

Same behavior on Linux and Windows. That, at least, is good.

Form has same name as script, everything seems to be enabled.
What am I missing?

lmazzucchelli's picture
User offline. Last seen 8 hours 42 min ago. Offline
Joined: 06/23/2010
Duh. Turning on script debugging helpd...a lot.

Syntax error in script kept things at bay.
All fine.
Nothing to see here.
Move along...