Archive

Archive for February 17th, 2015

Setup and process 1099 in Syteline

February 17th, 2015 No comments

1) Setup Tax Parameter, enter your own company’s Tax ID.

clip_image002[7]

2) In your Tax System setup, make sure the Tax ID Prompt Location set to included Vendor (Vendor or Both).

clip_image004[5]

3) In Accounts Payable Parameters, under 1099 tab, enter your company information. These are info will be print on your 1099 form.

clip_image006[5]

4) Now, for each vendor that you need to send 1099, enter their Tax ID.

clip_image008[5]

5) Part of your year end procedure, you should run the “Rebalance Vendor Payment History” utility.

clip_image010[5]

This will update the Payment History tab on your Vendors form.

clip_image012[5]

6) Now you are ready to print the 1099 form.

clip_image014[5]

Categories: Application, Implementation Tags: , ,

SQL Query Syteline 9

February 17th, 2015 No comments

In Syteline 9, there is one significant database schema change.  All major tables like item are replaced with a view and _mst table.  There are some context variables need to be set, before you can run query against to the views.  Otherwise query to the view will return no data.  And here is the variable declaration, with sample query after that.

DECLARE @Br NVARCHAR(8)

SET @Br = ‘SiteName’’

DECLARE @Context NVARCHAR(100)

SET @Context = @Br

DECLARE @BinVar VARBINARY(128)

SET @BinVar = CONVERT (VARBINARY(128), @Context)

set CONTEXT_INFO @BinVar

 

 

select co.slsman,co.co_num,co.type, co.order_date, coitem.co_line, coitem.item, coitem.qty_ordered_conv,coitem.price_conv,co.exch_rate

, ca.name, coitem.qty_ordered_conv * coitem.price_conv ‘Amount’, coitem.co_release

from coitem

join co on co.co_num = coitem.co_num

left join custaddr ca on ca.cust_num = co.cust_num and ca.cust_seq = co.cust_seq

where isnull(co.slsman,”) = ”

Update 2/10/2015

You may now just call this Sp.

DECLARE @Infobar InfobarType;
EXEC [dbo].[SetSiteSp] ‘CCSSL’, @Infobar OUTPUT

Categories: Development, SQL Tags: