Options

Shipping Resources

flastuartflastuart Member Posts: 12
Currently we default all our Customers to Complete Shipments.
We have created our Trainings as Resources that we sell. However, we do not bill the customer until the training has been taken. The problem is that when the Warehousing Module (Shipments), get posted, the resources also ship (Freight, Training, Warranties, etc.).
We do not want this to happen. We want the accounting department to process resources. If we set the Shipping Advice to Partial, the resources do not ship during the warehousing process but now it allows Shipping to ship incomplete orders.

Is there a way to stop resources from shipping?

Thanks...

Comments

  • Options
    Alex_ChowAlex_Chow Member Posts: 5,063
    You won't be able to do this without modification. You'll need to modify the GetShippingAdvice function in codeunit 80 and default the Qty. to Ship to 0 when resource is entered for orders only.

    OR

    Create the items and training as separate orders, ship them separately. Then use Combine Shipment to put them on one invoice.
  • Options
    WaldoWaldo Member Posts: 3,412
    I agree with Lizard. Try to find a "trigger" to set the field "Qty. to ship" to 0 ... .

    May be, at the end of OnValidate of the Quantity-field:
    IF Type = Type::Resource THEN 
      VALIDATE("Qty to Ship",0);
    
    Be careful though ... I don't recommend to play around with the Qty-fields. A lot can go wrong.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    Alex_ChowAlex_Chow Member Posts: 5,063
    You missed a spot.

    You need to put in:

    IF "Document Type" = "Document type"::Order

    or else you'll be in world of hurt. :(
  • Options
    WaldoWaldo Member Posts: 3,412
    You're right.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    flastuartflastuart Member Posts: 12
    Do you think it would be an issue to temporarily change the document type of the resource to something other than Order then switch it back?
  • Options
    WaldoWaldo Member Posts: 3,412
    Don't think this is a bood idea. Document type is a part of the key.
    I Wouldn't know how this would solve your issue...

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    flastuartflastuart Member Posts: 12
    When posting the shipment, I change the document type to quote and then put it back to order after it posts the shipment. Since the posting process filters on Orders, it skips the quote item line. I just do not know if this is a good idea or will cause an issue somewhere down the line. Its not affecting anything else, so I do not see any issue.
    Any thoughts?
  • Options
    WaldoWaldo Member Posts: 3,412
    I wonder how you do this. With a "MODIFY", or just assigning the field with another value?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    Alex_ChowAlex_Chow Member Posts: 5,063
    Why do you want to do that? That seems unnecessarily difficult to do something simple?
  • Options
    anil123anil123 Member Posts: 47
    hai this is anil


    i have one problem....in posting time every one first shipping and invoice...but i want first invoice after shipping...how can i solve this problem #-o
    Anil
  • Options
    WaldoWaldo Member Posts: 3,412
    anil123 wrote:
    hai this is anil

    i have one problem....in posting time every one first shipping and invoice...but i want first invoice after shipping...how can i solve this problem #-o

    I don't recommend this, because NAV is going to check the Qty Shipped to know how many you can invoice.

    On the top of my head:
    You'll have to play around with the Qty-fields, to be able to have a Qty-to-invoice higher than Qth-Shipped. (Qty. to Invoice - OnValidate - trigger, probably :-k )
    furthermore it has to be possible to post this, and I don't know how this is checked in the codeunits ... that's for you to check.
    Also, you'll have to change the STRMENU to be able to post only the invoice.

    again ... I don't recommend this ... [-X

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
Sign In or Register to comment.