Jump to content

querying for margin


jakebur01

Recommended Posts

How can I query for orders above 30% margin, orders below 15% margin, and orders below cost WHERE invoice date = tomorrow.

 

Here are the fields I am working with:

INVNO //invoice number

IVDTE // invoice date

CUSTNO //customer number

COMPANY // company

ITOTAL //invoice total

ICOST  //invoice cost

 

I can query for orders below cost, but I am not advanced enough to query margins.

 

- Jake.

Link to comment
https://forums.phpfreaks.com/topic/230629-querying-for-margin/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.