×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MAS90 - EDI 846 file

MAS90 - EDI 846 file

MAS90 - EDI 846 file

(OP)
Hi,
Let me start by saying I am new to MAS90. The issue we have is trying to create an 846 document (using Gentran Director).
We have a report called Inventory Stock Status Report, that give's the information that I need for my 846 document. but when I try to export the report to excel it has issues due to the multiple header lines. I did try connecting to the file using Excel(ODBC) but since the file is a WRK file, it gives me an Error.
is there a better way to get the information from MAS so I can link to EDI.
just need a few fields like item code, item code description and the Qty Available, but I need the Qty available that comes from this form, as it has calculations to update the available qty.. see below.
select case {@QuantityAvailableToInclude}
case "N"
formula = {IM_StockStatusWrk.QuantityOnHand} - {IM_StockStatusWrk.QuantityOnSalesOrder} _
- {IM_StockStatusWrk.QuantityOnBackOrder}
case "P"
formula = {IM_StockStatusWrk.QuantityOnHand} - {IM_StockStatusWrk.QuantityOnSalesOrder} _
- {IM_StockStatusWrk.QuantityOnBackOrder} + {IM_StockStatusWrk.QuantityOnPurchaseOrder}
case "W"
formula = {IM_StockStatusWrk.QuantityOnHand} - {IM_StockStatusWrk.QuantityOnSalesOrder} _
- {IM_StockStatusWrk.QuantityOnBackOrder} + {IM_StockStatusWrk.QuantityOnWorkOrder} _
- {IM_StockStatusWrk.QuantityRequiredForWO}
case "B"
formula = {IM_StockStatusWrk.QuantityOnHand} - {IM_StockStatusWrk.QuantityOnSalesOrder} _
- {IM_StockStatusWrk.QuantityOnBackOrder} + {IM_StockStatusWrk.QuantityOnPurchaseOrder} _
+ {IM_StockStatusWrk.QuantityOnWorkOrder} - {IM_StockStatusWrk.QuantityRequiredForWO}
end select



Thanks for Viewing..


Peter

ponder

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close