Archive

Archive for February, 2015

Applying patch on a modified form.

February 19th, 2015 1 comment

 

  1. Read the cover letter, highlights forms that have been modified, and Sps that have EXTGEN on.

  2. For EXTGEN SPs, will need to manually apply the new changes.

  3. For modified Forms, make a backup of the Form scripts use FormSync.

  4. Apply the patch to unused configuration, such as Demo.

  5. Merge the new vendor version of form from Demo to target configuration, form by form.

    1. Start FormSync with

    2. Filter with single form.

    3. Do not apply change to any other objects.

    4. Keep other object unchanged.

Remember to uncheck all the filters here.

  1. Run Synchronization

  1. Test the newly merged, modified form.  May need to work out conflict if there is any.

Categories: Application Tags: , ,

Some notes on Job Planned Cost

February 19th, 2015 No comments

1) The “Job BOM Cost Roll Up” utility and the “Update Planned Cost” button in Job form, Cost Detail tab are pretty much doing the same thing, they will update the material cost in job material.

ScreenHunter_04 Feb. 19 09.33

 

 

 

 

 

 

ScreenHunter_05 Feb. 19 09.38

 

2) Syteline system didn’t maintain a field for total job planned cost, you have to run job costing reports like “Job Cost Various Report” to see the total planned cost.

3) Job BOM Cost Roll Up use the item Unit Cost, and Current BOM Cost Roll Up use item Current Unit Cost.  So even you just copy the Job BOM from Current BOM, the current cost of job item may be differ than the job planned cost.

4) Cost roll up utilities rely on Unit Cost and Current Unit Cost maintained in Item Cost.  For a new item, say it is a purchase item, Syteline system would not assign Unit Cost and Current Unit Cost, until you conduct the first inventory transaction for the item (the transaction can be a PO receive, a Job complete receive or Misc receipt).   So your job material plan cost would not include these new materials.  Even you create a PO for the new item, system would not save the PO cost back into item cost, until you actually receive that PO.   However, for a new item, with or without a PO, you can use Item Cost form, Cost Maint tab to assign initial Unit Cost and Current Unit Cost.

Inline image 2

You will see that the Unit Cost fields are open for edit for this new item.  Once you conduct a receiving transaction and has qty on hand, the Unit Cost fields are No Longer editable.  It will be maintained by the system.
Note 1: these initial unit costs and current unit costs will have no effect on your inventory as you have qty-on-hand of 0.  These purely just for your job plan cost.
So for a new purchase item, it is suggested that you a) setup vendor contract price, b) setup initial unit cost and current unit cost in item cost maintenance, c) do cost roll up.
5) There is checkbox in PO line form, called “Update Job Material Unit Cost”, this only works for cross-referenced job material.  It will update the job material cost, when the PO cost change.

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:

Overhead Rate in Syteline

February 16th, 2015 No comments

Fixing YTD number in Item warehouse.

February 3rd, 2015 No comments

Part of the Syteline year end procedure is to run an utility to reset the YTD number in item warehouse form.  This needs to be done in timely manner.  If you forget to run it during your year-end, there is no rebalance utility to recalculate that these YTD number in Syteline.

The below small script is to help re-calculate and update that YTD numbers.

——- Checking ———-
select top 100
iw.item,
iw.whse,
(select SUM(qty) from matltran where item = iw.item and whse = iw.whse and trans_date > ‘1/1/2015’ and
((trans_type = ‘R’ and ref_type <> ‘K’ and ref_type <> ‘S’) — PO receiptor
or
(trans_type = ‘W’ and ref_type = ‘P’) — PO return.
) ) ‘YTD Purchase’,
(select SUM(qty) from matltran where item = iw.item and whse = iw.whse and trans_date > ‘1/1/2015’ and
((trans_type = ‘S’) — CO Shipment
or
(trans_type = ‘W’ and ref_type = ‘O’) — CO return.
) ) ‘YTD Sold’
from itemwhse iw
where item = ‘512653’

———– Actual Update ————-
update itemwhse
set qty_pur_ytd = (select SUM(qty) from matltran where item = itemwhse.item and whse = itemwhse.whse and trans_date > ‘1/1/2015’ and
((trans_type = ‘R’ and ref_type <> ‘K’ and ref_type <> ‘S’) — PO receiptor
or
(trans_type = ‘W’ and ref_type = ‘P’) — PO return.
) ),
qty_sold_ytd = (select SUM(qty) from matltran where item = itemwhse.item and whse = itemwhse.whse and trans_date > ‘1/1/2015’ and
((trans_type = ‘S’) — CO Shipment
or
(trans_type = ‘W’ and ref_type = ‘O’) — CO return.
) )