CAPITAL Office Business Software
CAPITAL Support Forum
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
List price on forms

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





PostPosted: Fri Jul 14, 2006 3:24 pm    Post subject: List price on forms Reply with quote

I've recently assigned a list price to my customers, in the "List Price" field on the customer account. However, when I go back and print invoices, the List Price for the invoices prior to me making this assignment are blank.

How would I go about creating a script that can check if the list price is zero, and if it is, use a list price based on the customer's standard list price? But I want it to use the list price on my invoice, if the list price is not zero on my invoices.

Thxs.
Back to top
COBS Tech Support



Joined: 09 Sep 2005
Posts: 651

PostPosted: Fri Jul 14, 2006 3:25 pm    Post subject: Reply with quote

On your invoice form try this script:

If Contents->Listprice = 0
If .Not. IsEmpty(Custrec->Cuslistex)
Return Stock->(GetField(Custrec->(GetField("CUSLISTEX"))))
Endif
Endif
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