Subversion Repositories SmartDukaan

Rev

Rev 7410 | Rev 8182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7410 Rev 7672
Line 43... Line 43...
43
    19:i64 numberOfDaysStock
43
    19:i64 numberOfDaysStock
44
    20:i64 suggestedQuantity
44
    20:i64 suggestedQuantity
45
    21:i64 numberOfDaysInStock
45
    21:i64 numberOfDaysInStock
46
    22:string lastXdaysSale
46
    22:string lastXdaysSale
47
    23:i64 previouslyOrderedQty
47
    23:i64 previouslyOrderedQty
-
 
48
    24:double nlc
48
}
49
}
49
 
50
 
50
enum POStatus {
51
enum POStatus {
51
    INIT = 0,                   //Just created.
52
    INIT = 0,                   //Just created.
52
    READY = 1,                  //Posted for fulfillment.
53
    READY = 1,                  //Posted for fulfillment.
Line 233... Line 234...
233
    list<PurchaseReturn> getInvoice(1:string invoiceNumber, 2:i64 supplierId);
234
    list<PurchaseReturn> getInvoice(1:string invoiceNumber, 2:i64 supplierId);
234
    
235
    
235
    /**
236
    /**
236
     * Inserts new Invoice/LineItem/Purchase Entries for Billed Product done through Our External Billing
237
     * Inserts new Invoice/LineItem/Purchase Entries for Billed Product done through Our External Billing
237
    **/
238
    **/
238
    i64 createPurchaseForOurExtBilling(1:string invoiceNumber, 2:double unitPrice, 3:i64 itemId);
239
    i64 createPurchaseForOurExtBilling(1:string invoiceNumber, 2:double unitPrice, 3:double nlc, 4:i64 itemId);
239
    
240
    
240
    void fulfillPOForExtBilling(1:i64 itemId, 2:i64 quantity);
241
    void fulfillPOForExtBilling(1:i64 itemId, 2:i64 quantity);
241
    
242
    
242
    /**
243
    /**
243
     * Marks a purchase order as closedcomplete and updates the receivedOn time.
244
     * Marks a purchase order as closedcomplete and updates the receivedOn time.