CAPITAL Office Business Software
CAPITAL Support Forum
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
Making ordered by mandatory

 
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Scripting & Customisation
View previous topic :: View next topic  
Author Message
Garry
Guest





PostPosted: Mon Jan 22, 2018 3:54 pm    Post subject: Making ordered by mandatory Reply with quote

I have been asked to find out how to set up Capital so that the Ordered by field, in the Purchase Order screen, is mandatory.

Please advise.
Back to top
COBS Tech Support



Joined: 09 Sep 2005
Posts: 651

PostPosted: Mon Jan 22, 2018 4:04 pm    Post subject: Reply with quote

Create a text file containing this content:

Code:
If IsEmpty(ReadTranValue("ORDEREDBY"))
   Echo("Sorry, please fill in the 'Ordered By' field.")
   Return FALSE
Endif

Return TRUE


Rename it to R-PURTOT.MAC and save it in your ..\CAPITAL folder to affect all companies or in your ..\CAPITAL\<data> folder to only affect a particular company.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Scripting & Customisation All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB Template by Vereor
Protected by Anti-Spam ACP